tests/auto/uic3/baseline/helpdialog.ui
changeset 0 1918ee327afb
child 4 3b1da2848fc7
equal deleted inserted replaced
-1:000000000000 0:1918ee327afb
       
     1 <!DOCTYPE UI><UI version="3.2" stdsetdef="1">
       
     2 <class>HelpDialogBase</class>
       
     3 <comment>*********************************************************************
       
     4 **
       
     5 ** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies).
       
     6 ** All rights reserved.
       
     7 ** Contact: Nokia Corporation (qt-info@nokia.com)
       
     8 **
       
     9 ** This file is part of the test suite of the Qt Toolkit.
       
    10 **
       
    11 ** $QT_BEGIN_LICENSE:LGPL$
       
    12 ** No Commercial Usage
       
    13 ** This file contains pre-release code and may not be distributed.
       
    14 ** You may use this file in accordance with the terms and conditions
       
    15 ** contained in the Technology Preview License Agreement accompanying
       
    16 ** this package.
       
    17 **
       
    18 ** GNU Lesser General Public License Usage
       
    19 ** Alternatively, this file may be used under the terms of the GNU Lesser
       
    20 ** General Public License version 2.1 as published by the Free Software
       
    21 ** Foundation and appearing in the file LICENSE.LGPL included in the
       
    22 ** packaging of this file.  Please review the following information to
       
    23 ** ensure the GNU Lesser General Public License version 2.1 requirements
       
    24 ** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
       
    25 **
       
    26 ** In addition, as a special exception, Nokia gives you certain additional
       
    27 ** rights.  These rights are described in the Nokia Qt LGPL Exception
       
    28 ** version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
       
    29 **
       
    30 ** If you have questions regarding the use of this file, please contact
       
    31 ** Nokia at qt-info@nokia.com.
       
    32 **
       
    33 **
       
    34 **
       
    35 **
       
    36 **
       
    37 **
       
    38 **
       
    39 **
       
    40 ** $QT_END_LICENSE$
       
    41 **
       
    42 *********************************************************************</comment>
       
    43 <widget class="QWidget">
       
    44     <property name="name">
       
    45         <cstring>HelpDialogBase</cstring>
       
    46     </property>
       
    47     <property name="geometry">
       
    48         <rect>
       
    49             <x>0</x>
       
    50             <y>0</y>
       
    51             <width>268</width>
       
    52             <height>448</height>
       
    53         </rect>
       
    54     </property>
       
    55     <property name="caption">
       
    56         <string>Help</string>
       
    57     </property>
       
    58     <property name="whatsThis" stdset="0">
       
    59         <string>&lt;b&gt;Help&lt;/b&gt;&lt;p&gt;Choose the topic you want help on from the contents list, or search the index for keywords.&lt;/p&gt;</string>
       
    60     </property>
       
    61     <vbox>
       
    62         <property name="name">
       
    63             <cstring>unnamed</cstring>
       
    64         </property>
       
    65         <property name="margin">
       
    66             <number>0</number>
       
    67         </property>
       
    68         <property name="spacing">
       
    69             <number>6</number>
       
    70         </property>
       
    71         <widget class="QTabWidget">
       
    72             <property name="name">
       
    73                 <cstring>tabWidget</cstring>
       
    74             </property>
       
    75             <property name="whatsThis" stdset="0">
       
    76                 <string>Displays help topics organized by category, index or bookmarks. Another tab inherits the full text search.</string>
       
    77             </property>
       
    78             <widget class="QWidget">
       
    79                 <property name="name">
       
    80                     <cstring>contentPage</cstring>
       
    81                 </property>
       
    82                 <attribute name="title">
       
    83                     <string>Con&amp;tents</string>
       
    84                 </attribute>
       
    85                 <vbox>
       
    86                     <property name="name">
       
    87                         <cstring>unnamed</cstring>
       
    88                     </property>
       
    89                     <property name="margin">
       
    90                         <number>5</number>
       
    91                     </property>
       
    92                     <property name="spacing">
       
    93                         <number>6</number>
       
    94                     </property>
       
    95                     <widget class="QListView">
       
    96                         <column>
       
    97                             <property name="text">
       
    98                                 <string>Column 1</string>
       
    99                             </property>
       
   100                             <property name="clickable">
       
   101                                 <bool>true</bool>
       
   102                             </property>
       
   103                             <property name="resizable">
       
   104                                 <bool>true</bool>
       
   105                             </property>
       
   106                         </column>
       
   107                         <property name="name">
       
   108                             <cstring>listContents</cstring>
       
   109                         </property>
       
   110                         <property name="rootIsDecorated">
       
   111                             <bool>true</bool>
       
   112                         </property>
       
   113                         <property name="whatsThis" stdset="0">
       
   114                             <string>&lt;b&gt;Help topics organized by category.&lt;/b&gt;&lt;p&gt;Double-click an item to see the topics in that category. To view a topic, just double-click it.&lt;/p&gt;</string>
       
   115                         </property>
       
   116                     </widget>
       
   117                 </vbox>
       
   118             </widget>
       
   119             <widget class="QWidget">
       
   120                 <property name="name">
       
   121                     <cstring>Widget8</cstring>
       
   122                 </property>
       
   123                 <attribute name="title">
       
   124                     <string>&amp;Index</string>
       
   125                 </attribute>
       
   126                 <vbox>
       
   127                     <property name="name">
       
   128                         <cstring>unnamed</cstring>
       
   129                     </property>
       
   130                     <property name="margin">
       
   131                         <number>5</number>
       
   132                     </property>
       
   133                     <property name="spacing">
       
   134                         <number>6</number>
       
   135                     </property>
       
   136                     <widget class="QLabel">
       
   137                         <property name="name">
       
   138                             <cstring>TextLabel1</cstring>
       
   139                         </property>
       
   140                         <property name="text">
       
   141                             <string>&amp;Look For:</string>
       
   142                         </property>
       
   143                         <property name="buddy" stdset="0">
       
   144                             <cstring>editIndex</cstring>
       
   145                         </property>
       
   146                     </widget>
       
   147                     <widget class="QLineEdit">
       
   148                         <property name="name">
       
   149                             <cstring>editIndex</cstring>
       
   150                         </property>
       
   151                         <property name="toolTip" stdset="0">
       
   152                             <string>Enter keyword</string>
       
   153                         </property>
       
   154                         <property name="whatsThis" stdset="0">
       
   155                             <string>&lt;b&gt;Enter a keyword.&lt;/b&gt;&lt;p&gt;The list will select an item that matches the entered string best.&lt;/p&gt;</string>
       
   156                         </property>
       
   157                     </widget>
       
   158                     <widget class="QListBox">
       
   159                         <property name="name">
       
   160                             <cstring>listIndex</cstring>
       
   161                         </property>
       
   162                         <property name="whatsThis" stdset="0">
       
   163                             <string>&lt;b&gt;List of available help topics.&lt;/b&gt;&lt;p&gt;Double-click on an item to open its help page. If more than one is found, you must specify which page you want.&lt;/p&gt;</string>
       
   164                         </property>
       
   165                     </widget>
       
   166                 </vbox>
       
   167             </widget>
       
   168             <widget class="QWidget">
       
   169                 <property name="name">
       
   170                     <cstring>Widget9</cstring>
       
   171                 </property>
       
   172                 <attribute name="title">
       
   173                     <string>&amp;Bookmarks</string>
       
   174                 </attribute>
       
   175                 <vbox>
       
   176                     <property name="name">
       
   177                         <cstring>unnamed</cstring>
       
   178                     </property>
       
   179                     <property name="margin">
       
   180                         <number>5</number>
       
   181                     </property>
       
   182                     <property name="spacing">
       
   183                         <number>6</number>
       
   184                     </property>
       
   185                     <widget class="QListView">
       
   186                         <column>
       
   187                             <property name="text">
       
   188                                 <string>Column 1</string>
       
   189                             </property>
       
   190                             <property name="clickable">
       
   191                                 <bool>true</bool>
       
   192                             </property>
       
   193                             <property name="resizable">
       
   194                                 <bool>true</bool>
       
   195                             </property>
       
   196                         </column>
       
   197                         <property name="name">
       
   198                             <cstring>listBookmarks</cstring>
       
   199                         </property>
       
   200                         <property name="whatsThis" stdset="0">
       
   201                             <string>Displays the list of bookmarks.</string>
       
   202                         </property>
       
   203                     </widget>
       
   204                     <widget class="QLayoutWidget">
       
   205                         <property name="name">
       
   206                             <cstring>Layout3</cstring>
       
   207                         </property>
       
   208                         <hbox>
       
   209                             <property name="name">
       
   210                                 <cstring>unnamed</cstring>
       
   211                             </property>
       
   212                             <property name="margin">
       
   213                                 <number>0</number>
       
   214                             </property>
       
   215                             <property name="spacing">
       
   216                                 <number>6</number>
       
   217                             </property>
       
   218                             <spacer>
       
   219                                 <property name="name">
       
   220                                     <cstring>Spacer1</cstring>
       
   221                                 </property>
       
   222                                 <property name="orientation">
       
   223                                     <enum>Horizontal</enum>
       
   224                                 </property>
       
   225                                 <property name="sizeType">
       
   226                                     <enum>Expanding</enum>
       
   227                                 </property>
       
   228                                 <property name="sizeHint">
       
   229                                     <size>
       
   230                                         <width>20</width>
       
   231                                         <height>20</height>
       
   232                                     </size>
       
   233                                 </property>
       
   234                             </spacer>
       
   235                             <widget class="QPushButton">
       
   236                                 <property name="name">
       
   237                                     <cstring>buttonAdd</cstring>
       
   238                                 </property>
       
   239                                 <property name="text">
       
   240                                     <string>&amp;New</string>
       
   241                                 </property>
       
   242                                 <property name="toolTip" stdset="0">
       
   243                                     <string>Add new bookmark</string>
       
   244                                 </property>
       
   245                                 <property name="whatsThis" stdset="0">
       
   246                                     <string>Add the currently displayed page as a new bookmark.</string>
       
   247                                 </property>
       
   248                             </widget>
       
   249                             <widget class="QPushButton">
       
   250                                 <property name="name">
       
   251                                     <cstring>buttonRemove</cstring>
       
   252                                 </property>
       
   253                                 <property name="text">
       
   254                                     <string>&amp;Delete</string>
       
   255                                 </property>
       
   256                                 <property name="toolTip" stdset="0">
       
   257                                     <string>Delete bookmark</string>
       
   258                                 </property>
       
   259                                 <property name="whatsThis" stdset="0">
       
   260                                     <string>Delete the selected bookmark.</string>
       
   261                                 </property>
       
   262                             </widget>
       
   263                         </hbox>
       
   264                     </widget>
       
   265                 </vbox>
       
   266             </widget>
       
   267             <widget class="QWidget">
       
   268                 <property name="name">
       
   269                     <cstring>searchTab</cstring>
       
   270                 </property>
       
   271                 <attribute name="title">
       
   272                     <string>&amp;Search</string>
       
   273                 </attribute>
       
   274                 <grid>
       
   275                     <property name="name">
       
   276                         <cstring>unnamed</cstring>
       
   277                     </property>
       
   278                     <property name="margin">
       
   279                         <number>5</number>
       
   280                     </property>
       
   281                     <property name="spacing">
       
   282                         <number>6</number>
       
   283                     </property>
       
   284                     <spacer row="3" column="0">
       
   285                         <property name="name">
       
   286                             <cstring>Spacer3</cstring>
       
   287                         </property>
       
   288                         <property name="orientation">
       
   289                             <enum>Vertical</enum>
       
   290                         </property>
       
   291                         <property name="sizeType">
       
   292                             <enum>Fixed</enum>
       
   293                         </property>
       
   294                         <property name="sizeHint">
       
   295                             <size>
       
   296                                 <width>20</width>
       
   297                                 <height>20</height>
       
   298                             </size>
       
   299                         </property>
       
   300                     </spacer>
       
   301                     <widget class="QLabel" row="0" column="0">
       
   302                         <property name="name">
       
   303                             <cstring>TextLabel1_2</cstring>
       
   304                         </property>
       
   305                         <property name="text">
       
   306                             <string>Searching f&amp;or:</string>
       
   307                         </property>
       
   308                         <property name="buddy" stdset="0">
       
   309                             <cstring>termsEdit</cstring>
       
   310                         </property>
       
   311                     </widget>
       
   312                     <widget class="QLineEdit" row="1" column="0">
       
   313                         <property name="name">
       
   314                             <cstring>termsEdit</cstring>
       
   315                         </property>
       
   316                         <property name="toolTip" stdset="0">
       
   317                             <string>Enter searchword(s).</string>
       
   318                         </property>
       
   319                         <property name="whatsThis" stdset="0">
       
   320                             <string>&lt;b&gt;Enter search word(s).&lt;/b&gt;&lt;p&gt;Enter here the word(s) you are looking for. The words may contain wildcards (*). For a sequence of words quote them.&lt;/p&gt;</string>
       
   321                         </property>
       
   322                     </widget>
       
   323                     <widget class="QListBox" row="5" column="0">
       
   324                         <property name="name">
       
   325                             <cstring>resultBox</cstring>
       
   326                         </property>
       
   327                         <property name="whatsThis" stdset="0">
       
   328                             <string>&lt;b&gt;Found documents&lt;/b&gt;&lt;p&gt;This list contains all found documents from the last search. The documents are ordered, i.e. the first document has the most matches.&lt;/p&gt;</string>
       
   329                         </property>
       
   330                     </widget>
       
   331                     <widget class="QLabel" row="4" column="0">
       
   332                         <property name="name">
       
   333                             <cstring>TextLabel2</cstring>
       
   334                         </property>
       
   335                         <property name="text">
       
   336                             <string>Found &amp;Documents:</string>
       
   337                         </property>
       
   338                         <property name="buddy" stdset="0">
       
   339                             <cstring>resultBox</cstring>
       
   340                         </property>
       
   341                     </widget>
       
   342                     <widget class="QLayoutWidget" row="2" column="0">
       
   343                         <property name="name">
       
   344                             <cstring>Layout2</cstring>
       
   345                         </property>
       
   346                         <hbox>
       
   347                             <property name="name">
       
   348                                 <cstring>unnamed</cstring>
       
   349                             </property>
       
   350                             <widget class="QPushButton">
       
   351                                 <property name="name">
       
   352                                     <cstring>helpButton</cstring>
       
   353                                 </property>
       
   354                                 <property name="text">
       
   355                                     <string>He&amp;lp</string>
       
   356                                 </property>
       
   357                                 <property name="toolTip" stdset="0">
       
   358                                     <string>Display the help page.</string>
       
   359                                 </property>
       
   360                                 <property name="whatsThis" stdset="0">
       
   361                                     <string>Display the help page for the full text search.</string>
       
   362                                 </property>
       
   363                             </widget>
       
   364                             <spacer>
       
   365                                 <property name="name">
       
   366                                     <cstring>Spacer2</cstring>
       
   367                                 </property>
       
   368                                 <property name="orientation">
       
   369                                     <enum>Horizontal</enum>
       
   370                                 </property>
       
   371                                 <property name="sizeType">
       
   372                                     <enum>Expanding</enum>
       
   373                                 </property>
       
   374                                 <property name="sizeHint">
       
   375                                     <size>
       
   376                                         <width>61</width>
       
   377                                         <height>21</height>
       
   378                                     </size>
       
   379                                 </property>
       
   380                             </spacer>
       
   381                             <widget class="QPushButton">
       
   382                                 <property name="name">
       
   383                                     <cstring>searchButton</cstring>
       
   384                                 </property>
       
   385                                 <property name="text">
       
   386                                     <string>&amp;Search</string>
       
   387                                 </property>
       
   388                                 <property name="toolTip" stdset="0">
       
   389                                     <string>Start searching.</string>
       
   390                                 </property>
       
   391                                 <property name="whatsThis" stdset="0">
       
   392                                     <string>Pressing this button starts the search.</string>
       
   393                                 </property>
       
   394                             </widget>
       
   395                         </hbox>
       
   396                     </widget>
       
   397                 </grid>
       
   398             </widget>
       
   399         </widget>
       
   400         <widget class="QFrame">
       
   401             <property name="name">
       
   402                 <cstring>framePrepare</cstring>
       
   403             </property>
       
   404             <property name="frameShape">
       
   405                 <enum>StyledPanel</enum>
       
   406             </property>
       
   407             <property name="frameShadow">
       
   408                 <enum>Raised</enum>
       
   409             </property>
       
   410             <hbox>
       
   411                 <property name="name">
       
   412                     <cstring>unnamed</cstring>
       
   413                 </property>
       
   414                 <property name="margin">
       
   415                     <number>3</number>
       
   416                 </property>
       
   417                 <property name="spacing">
       
   418                     <number>6</number>
       
   419                 </property>
       
   420                 <widget class="QLabel">
       
   421                     <property name="name">
       
   422                         <cstring>labelPrepare</cstring>
       
   423                     </property>
       
   424                     <property name="text">
       
   425                         <string>Preparing...</string>
       
   426                     </property>
       
   427                 </widget>
       
   428                 <widget class="QProgressBar">
       
   429                     <property name="name">
       
   430                         <cstring>progressPrepare</cstring>
       
   431                     </property>
       
   432                 </widget>
       
   433             </hbox>
       
   434         </widget>
       
   435     </vbox>
       
   436 </widget>
       
   437 <connections>
       
   438     <connection>
       
   439         <sender>buttonAdd</sender>
       
   440         <signal>clicked()</signal>
       
   441         <receiver>HelpDialogBase</receiver>
       
   442         <slot>addBookmark()</slot>
       
   443     </connection>
       
   444     <connection>
       
   445         <sender>buttonRemove</sender>
       
   446         <signal>clicked()</signal>
       
   447         <receiver>HelpDialogBase</receiver>
       
   448         <slot>removeBookmark()</slot>
       
   449     </connection>
       
   450     <connection>
       
   451         <sender>termsEdit</sender>
       
   452         <signal>returnPressed()</signal>
       
   453         <receiver>searchButton</receiver>
       
   454         <slot>animateClick()</slot>
       
   455     </connection>
       
   456     <connection>
       
   457         <sender>helpButton</sender>
       
   458         <signal>clicked()</signal>
       
   459         <receiver>HelpDialogBase</receiver>
       
   460         <slot>showSearchHelp()</slot>
       
   461     </connection>
       
   462     <connection>
       
   463         <sender>searchButton</sender>
       
   464         <signal>clicked()</signal>
       
   465         <receiver>HelpDialogBase</receiver>
       
   466         <slot>startSearch()</slot>
       
   467     </connection>
       
   468     <connection>
       
   469         <sender>resultBox</sender>
       
   470         <signal>returnPressed(QListBoxItem*)</signal>
       
   471         <receiver>HelpDialogBase</receiver>
       
   472         <slot>showResultPage(QListBoxItem*)</slot>
       
   473     </connection>
       
   474     <connection>
       
   475         <sender>resultBox</sender>
       
   476         <signal>mouseButtonClicked(int, QListBoxItem*, const QPoint &amp;)</signal>
       
   477         <receiver>HelpDialogBase</receiver>
       
   478         <slot>showResultPage(int, QListBoxItem*, const QPoint &amp; )</slot>
       
   479     </connection>
       
   480 </connections>
       
   481 <tabstops>
       
   482     <tabstop>tabWidget</tabstop>
       
   483     <tabstop>listContents</tabstop>
       
   484     <tabstop>editIndex</tabstop>
       
   485     <tabstop>listIndex</tabstop>
       
   486     <tabstop>listBookmarks</tabstop>
       
   487     <tabstop>buttonAdd</tabstop>
       
   488     <tabstop>buttonRemove</tabstop>
       
   489     <tabstop>termsEdit</tabstop>
       
   490     <tabstop>searchButton</tabstop>
       
   491     <tabstop>helpButton</tabstop>
       
   492     <tabstop>resultBox</tabstop>
       
   493 </tabstops>
       
   494 <slots>
       
   495     <slot access="protected">init()</slot>
       
   496     <slot access="protected">destroy()</slot>
       
   497     <slot access="protected">addBookmark()</slot>
       
   498     <slot access="protected">currentBookmarkChanged( QListViewItem * )</slot>
       
   499     <slot access="protected">currentIndexChanged( QListBoxItem * )</slot>
       
   500     <slot access="protected">currentTabChanged( const QString &amp; )</slot>
       
   501     <slot access="protected">loadIndexFile()</slot>
       
   502     <slot access="protected">currentContentsChanged( QListViewItem * )</slot>
       
   503     <slot access="protected">removeBookmark()</slot>
       
   504     <slot access="protected">searchInIndex( const QString &amp; )</slot>
       
   505     <slot access="protected">showTopic()</slot>
       
   506     <slot access="protected">showTopic( int, QListBoxItem *, const QPoint &amp; )</slot>
       
   507     <slot access="protected">showSearchHelp()</slot>
       
   508     <slot access="protected">startSearch()</slot>
       
   509     <slot access="protected">showResultPage( QListBoxItem * )</slot>
       
   510     <slot access="protected">showResultPage( int, QListBoxItem *, const QPoint &amp; )</slot>
       
   511     <slot access="protected">showResultPage( int, QListViewItem *, const QPoint &amp; )</slot>
       
   512 </slots>
       
   513 <layoutdefaults spacing="6" margin="11"/>
       
   514 </UI>