Редактирование: Qt:Документация 4.3.2/assistant-simpletextviewer

Материал из Wiki.crossplatform.ru

Перейти к: навигация, поиск
Внимание: Вы не представились системе. Ваш IP-адрес будет записан в историю изменений этой страницы.
Правка может быть отменена. Пожалуйста, просмотрите сравнение версий, чтобы убедиться, что это именно те изменения, которые вас интересуют, и нажмите «Записать страницу», чтобы изменения вступили в силу.
Текущая версия Ваш текст
Строка 197: Строка 197:
The only relevant members to observe in the <tt>FindFileDialog</tt> class definition is the private <tt>help()</tt> slot. The slot is connected to the dialog's '''Help''' button, and brings the current Qt Assistant instance to the foreground showing the documentation for the dialog.
The only relevant members to observe in the <tt>FindFileDialog</tt> class definition is the private <tt>help()</tt> slot. The slot is connected to the dialog's '''Help''' button, and brings the current Qt Assistant instance to the foreground showing the documentation for the dialog.
<div id="findfiledialog-class-implementation"></div>
<div id="findfiledialog-class-implementation"></div>
-
==FindFileDialog Class Implementation==
+
==FindFileDialog Class Implementation==<source lang="cpp-qt"> FindFileDialog::FindFileDialog(QTextEdit *editor, QAssistantClient *assistant,
-
<source lang="cpp-qt"> FindFileDialog::FindFileDialog(QTextEdit *editor, QAssistantClient *assistant,
+
                                 QWidget *parent)
                                 QWidget *parent)
     : QDialog(parent)
     : QDialog(parent)
Строка 214: Строка 213:
The <tt>help()</tt> slot is called when the user clicks the dialog's '''Help''' button. It brings the current Qt Assistant instance to the foreground and shows the application's manual page, using the [[Qt:Документация 4.3.2/qassistantclient#showPage | QAssistantClient::showPage]]() function.
The <tt>help()</tt> slot is called when the user clicks the dialog's '''Help''' button. It brings the current Qt Assistant instance to the foreground and shows the application's manual page, using the [[Qt:Документация 4.3.2/qassistantclient#showPage | QAssistantClient::showPage]]() function.
<div id="summary"></div>
<div id="summary"></div>
-
 
==Summary==
==Summary==
In order to make Qt Assistant act as a customized help tool for your application, you must provide your application with a [[Qt:Документация 4.3.2/qassistantclient | QAssistantClient]] object in addition to a [[Qt:Документация 4.3.2/assistant-manual#profiles | Qt Assistant Document Profile]] (<tt>.adp</tt> file) and documentation for the application.
In order to make Qt Assistant act as a customized help tool for your application, you must provide your application with a [[Qt:Документация 4.3.2/qassistantclient | QAssistantClient]] object in addition to a [[Qt:Документация 4.3.2/assistant-manual#profiles | Qt Assistant Document Profile]] (<tt>.adp</tt> file) and documentation for the application.
{{Qt4.3.2_footer}}
{{Qt4.3.2_footer}}

Пожалуйста, обратите внимание, что все ваши добавления могут быть отредактированы или удалены другими участниками. Если вы не хотите, чтобы кто-либо изменял ваши тексты, не помещайте их сюда.
Вы также подтверждаете, что являетесь автором вносимых дополнений, или скопировали их из источника, допускающего свободное распространение и изменение своего содержимого (см. Wiki.crossplatform.ru:Авторское право). НЕ РАЗМЕЩАЙТЕ БЕЗ РАЗРЕШЕНИЯ ОХРАНЯЕМЫЕ АВТОРСКИМ ПРАВОМ МАТЕРИАЛЫ!


Шаблоны, использованные на текущей версии страницы: