tests/auto/uic/baseline/helpdialog.ui.h
changeset 0 1918ee327afb
child 4 3b1da2848fc7
equal deleted inserted replaced
-1:000000000000 0:1918ee327afb
       
     1 /*
       
     2 *********************************************************************
       
     3 **
       
     4 ** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies).
       
     5 ** All rights reserved.
       
     6 ** Contact: Nokia Corporation (qt-info@nokia.com)
       
     7 **
       
     8 ** This file is part of the autotests of the Qt Toolkit.
       
     9 **
       
    10 ** $QT_BEGIN_LICENSE:LGPL$
       
    11 ** No Commercial Usage
       
    12 ** This file contains pre-release code and may not be distributed.
       
    13 ** You may use this file in accordance with the terms and conditions
       
    14 ** contained in the Technology Preview License Agreement accompanying
       
    15 ** this package.
       
    16 **
       
    17 ** GNU Lesser General Public License Usage
       
    18 ** Alternatively, this file may be used under the terms of the GNU Lesser
       
    19 ** General Public License version 2.1 as published by the Free Software
       
    20 ** Foundation and appearing in the file LICENSE.LGPL included in the
       
    21 ** packaging of this file.  Please review the following information to
       
    22 ** ensure the GNU Lesser General Public License version 2.1 requirements
       
    23 ** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
       
    24 **
       
    25 ** In addition, as a special exception, Nokia gives you certain additional
       
    26 ** rights.  These rights are described in the Nokia Qt LGPL Exception
       
    27 ** version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
       
    28 **
       
    29 ** If you have questions regarding the use of this file, please contact
       
    30 ** Nokia at qt-info@nokia.com.
       
    31 **
       
    32 **
       
    33 **
       
    34 **
       
    35 **
       
    36 **
       
    37 **
       
    38 **
       
    39 ** $QT_END_LICENSE$
       
    40 **
       
    41 *********************************************************************
       
    42 */
       
    43 
       
    44 /********************************************************************************
       
    45 ** Form generated from reading UI file 'helpdialog.ui'
       
    46 **
       
    47 ** Created: Fri Sep 4 10:17:13 2009
       
    48 **      by: Qt User Interface Compiler version 4.6.0
       
    49 **
       
    50 ** WARNING! All changes made in this file will be lost when recompiling UI file!
       
    51 ********************************************************************************/
       
    52 
       
    53 #ifndef HELPDIALOG_H
       
    54 #define HELPDIALOG_H
       
    55 
       
    56 #include <QtCore/QVariant>
       
    57 #include <QtGui/QAction>
       
    58 #include <QtGui/QApplication>
       
    59 #include <QtGui/QButtonGroup>
       
    60 #include <QtGui/QFrame>
       
    61 #include <QtGui/QGridLayout>
       
    62 #include <QtGui/QHBoxLayout>
       
    63 #include <QtGui/QHeaderView>
       
    64 #include <QtGui/QLabel>
       
    65 #include <QtGui/QLineEdit>
       
    66 #include <QtGui/QListView>
       
    67 #include <QtGui/QListWidget>
       
    68 #include <QtGui/QProgressBar>
       
    69 #include <QtGui/QPushButton>
       
    70 #include <QtGui/QSpacerItem>
       
    71 #include <QtGui/QTabWidget>
       
    72 #include <QtGui/QTreeWidget>
       
    73 #include <QtGui/QVBoxLayout>
       
    74 #include <QtGui/QWidget>
       
    75 
       
    76 QT_BEGIN_NAMESPACE
       
    77 
       
    78 class Ui_HelpDialog
       
    79 {
       
    80 public:
       
    81     QVBoxLayout *vboxLayout;
       
    82     QTabWidget *tabWidget;
       
    83     QWidget *contentPage;
       
    84     QVBoxLayout *vboxLayout1;
       
    85     QTreeWidget *listContents;
       
    86     QWidget *indexPage;
       
    87     QVBoxLayout *vboxLayout2;
       
    88     QLabel *TextLabel1;
       
    89     QLineEdit *editIndex;
       
    90     QListView *listIndex;
       
    91     QWidget *bookmarkPage;
       
    92     QVBoxLayout *vboxLayout3;
       
    93     QTreeWidget *listBookmarks;
       
    94     QHBoxLayout *hboxLayout;
       
    95     QSpacerItem *spacerItem;
       
    96     QPushButton *buttonAdd;
       
    97     QPushButton *buttonRemove;
       
    98     QWidget *searchPage;
       
    99     QGridLayout *gridLayout;
       
   100     QSpacerItem *spacerItem1;
       
   101     QLabel *TextLabel1_2;
       
   102     QLineEdit *termsEdit;
       
   103     QListWidget *resultBox;
       
   104     QLabel *TextLabel2;
       
   105     QHBoxLayout *hboxLayout1;
       
   106     QPushButton *helpButton;
       
   107     QSpacerItem *spacerItem2;
       
   108     QPushButton *searchButton;
       
   109     QFrame *framePrepare;
       
   110     QHBoxLayout *hboxLayout2;
       
   111     QLabel *labelPrepare;
       
   112     QProgressBar *progressPrepare;
       
   113 
       
   114     void setupUi(QWidget *HelpDialog)
       
   115     {
       
   116         if (HelpDialog->objectName().isEmpty())
       
   117             HelpDialog->setObjectName(QString::fromUtf8("HelpDialog"));
       
   118         HelpDialog->resize(274, 417);
       
   119         vboxLayout = new QVBoxLayout(HelpDialog);
       
   120 #ifndef Q_OS_MAC
       
   121         vboxLayout->setSpacing(6);
       
   122 #endif
       
   123         vboxLayout->setContentsMargins(0, 0, 0, 0);
       
   124         vboxLayout->setObjectName(QString::fromUtf8("vboxLayout"));
       
   125         tabWidget = new QTabWidget(HelpDialog);
       
   126         tabWidget->setObjectName(QString::fromUtf8("tabWidget"));
       
   127         contentPage = new QWidget();
       
   128         contentPage->setObjectName(QString::fromUtf8("contentPage"));
       
   129         vboxLayout1 = new QVBoxLayout(contentPage);
       
   130 #ifndef Q_OS_MAC
       
   131         vboxLayout1->setSpacing(6);
       
   132 #endif
       
   133         vboxLayout1->setContentsMargins(5, 5, 5, 5);
       
   134         vboxLayout1->setObjectName(QString::fromUtf8("vboxLayout1"));
       
   135         listContents = new QTreeWidget(contentPage);
       
   136         listContents->setObjectName(QString::fromUtf8("listContents"));
       
   137         listContents->setContextMenuPolicy(Qt::CustomContextMenu);
       
   138         listContents->setRootIsDecorated(true);
       
   139         listContents->setUniformRowHeights(true);
       
   140 
       
   141         vboxLayout1->addWidget(listContents);
       
   142 
       
   143         tabWidget->addTab(contentPage, QString());
       
   144         indexPage = new QWidget();
       
   145         indexPage->setObjectName(QString::fromUtf8("indexPage"));
       
   146         vboxLayout2 = new QVBoxLayout(indexPage);
       
   147 #ifndef Q_OS_MAC
       
   148         vboxLayout2->setSpacing(6);
       
   149 #endif
       
   150         vboxLayout2->setContentsMargins(5, 5, 5, 5);
       
   151         vboxLayout2->setObjectName(QString::fromUtf8("vboxLayout2"));
       
   152         TextLabel1 = new QLabel(indexPage);
       
   153         TextLabel1->setObjectName(QString::fromUtf8("TextLabel1"));
       
   154 
       
   155         vboxLayout2->addWidget(TextLabel1);
       
   156 
       
   157         editIndex = new QLineEdit(indexPage);
       
   158         editIndex->setObjectName(QString::fromUtf8("editIndex"));
       
   159 
       
   160         vboxLayout2->addWidget(editIndex);
       
   161 
       
   162         listIndex = new QListView(indexPage);
       
   163         listIndex->setObjectName(QString::fromUtf8("listIndex"));
       
   164         listIndex->setContextMenuPolicy(Qt::CustomContextMenu);
       
   165 
       
   166         vboxLayout2->addWidget(listIndex);
       
   167 
       
   168         tabWidget->addTab(indexPage, QString());
       
   169         bookmarkPage = new QWidget();
       
   170         bookmarkPage->setObjectName(QString::fromUtf8("bookmarkPage"));
       
   171         vboxLayout3 = new QVBoxLayout(bookmarkPage);
       
   172 #ifndef Q_OS_MAC
       
   173         vboxLayout3->setSpacing(6);
       
   174 #endif
       
   175         vboxLayout3->setContentsMargins(5, 5, 5, 5);
       
   176         vboxLayout3->setObjectName(QString::fromUtf8("vboxLayout3"));
       
   177         listBookmarks = new QTreeWidget(bookmarkPage);
       
   178         listBookmarks->setObjectName(QString::fromUtf8("listBookmarks"));
       
   179         listBookmarks->setContextMenuPolicy(Qt::CustomContextMenu);
       
   180         listBookmarks->setUniformRowHeights(true);
       
   181 
       
   182         vboxLayout3->addWidget(listBookmarks);
       
   183 
       
   184         hboxLayout = new QHBoxLayout();
       
   185 #ifndef Q_OS_MAC
       
   186         hboxLayout->setSpacing(6);
       
   187 #endif
       
   188         hboxLayout->setContentsMargins(0, 0, 0, 0);
       
   189         hboxLayout->setObjectName(QString::fromUtf8("hboxLayout"));
       
   190         spacerItem = new QSpacerItem(20, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
       
   191 
       
   192         hboxLayout->addItem(spacerItem);
       
   193 
       
   194         buttonAdd = new QPushButton(bookmarkPage);
       
   195         buttonAdd->setObjectName(QString::fromUtf8("buttonAdd"));
       
   196 
       
   197         hboxLayout->addWidget(buttonAdd);
       
   198 
       
   199         buttonRemove = new QPushButton(bookmarkPage);
       
   200         buttonRemove->setObjectName(QString::fromUtf8("buttonRemove"));
       
   201 
       
   202         hboxLayout->addWidget(buttonRemove);
       
   203 
       
   204 
       
   205         vboxLayout3->addLayout(hboxLayout);
       
   206 
       
   207         tabWidget->addTab(bookmarkPage, QString());
       
   208         searchPage = new QWidget();
       
   209         searchPage->setObjectName(QString::fromUtf8("searchPage"));
       
   210         gridLayout = new QGridLayout(searchPage);
       
   211 #ifndef Q_OS_MAC
       
   212         gridLayout->setSpacing(6);
       
   213 #endif
       
   214         gridLayout->setContentsMargins(5, 5, 5, 5);
       
   215         gridLayout->setObjectName(QString::fromUtf8("gridLayout"));
       
   216         spacerItem1 = new QSpacerItem(20, 20, QSizePolicy::Minimum, QSizePolicy::Fixed);
       
   217 
       
   218         gridLayout->addItem(spacerItem1, 3, 0, 1, 1);
       
   219 
       
   220         TextLabel1_2 = new QLabel(searchPage);
       
   221         TextLabel1_2->setObjectName(QString::fromUtf8("TextLabel1_2"));
       
   222 
       
   223         gridLayout->addWidget(TextLabel1_2, 0, 0, 1, 1);
       
   224 
       
   225         termsEdit = new QLineEdit(searchPage);
       
   226         termsEdit->setObjectName(QString::fromUtf8("termsEdit"));
       
   227 
       
   228         gridLayout->addWidget(termsEdit, 1, 0, 1, 1);
       
   229 
       
   230         resultBox = new QListWidget(searchPage);
       
   231         resultBox->setObjectName(QString::fromUtf8("resultBox"));
       
   232         resultBox->setContextMenuPolicy(Qt::CustomContextMenu);
       
   233 
       
   234         gridLayout->addWidget(resultBox, 5, 0, 1, 1);
       
   235 
       
   236         TextLabel2 = new QLabel(searchPage);
       
   237         TextLabel2->setObjectName(QString::fromUtf8("TextLabel2"));
       
   238 
       
   239         gridLayout->addWidget(TextLabel2, 4, 0, 1, 1);
       
   240 
       
   241         hboxLayout1 = new QHBoxLayout();
       
   242 #ifndef Q_OS_MAC
       
   243         hboxLayout1->setSpacing(6);
       
   244 #endif
       
   245         hboxLayout1->setContentsMargins(1, 1, 1, 1);
       
   246         hboxLayout1->setObjectName(QString::fromUtf8("hboxLayout1"));
       
   247         helpButton = new QPushButton(searchPage);
       
   248         helpButton->setObjectName(QString::fromUtf8("helpButton"));
       
   249 
       
   250         hboxLayout1->addWidget(helpButton);
       
   251 
       
   252         spacerItem2 = new QSpacerItem(61, 21, QSizePolicy::Expanding, QSizePolicy::Minimum);
       
   253 
       
   254         hboxLayout1->addItem(spacerItem2);
       
   255 
       
   256         searchButton = new QPushButton(searchPage);
       
   257         searchButton->setObjectName(QString::fromUtf8("searchButton"));
       
   258         searchButton->setEnabled(false);
       
   259 
       
   260         hboxLayout1->addWidget(searchButton);
       
   261 
       
   262 
       
   263         gridLayout->addLayout(hboxLayout1, 2, 0, 1, 1);
       
   264 
       
   265         tabWidget->addTab(searchPage, QString());
       
   266 
       
   267         vboxLayout->addWidget(tabWidget);
       
   268 
       
   269         framePrepare = new QFrame(HelpDialog);
       
   270         framePrepare->setObjectName(QString::fromUtf8("framePrepare"));
       
   271         framePrepare->setFrameShape(QFrame::StyledPanel);
       
   272         framePrepare->setFrameShadow(QFrame::Raised);
       
   273         hboxLayout2 = new QHBoxLayout(framePrepare);
       
   274 #ifndef Q_OS_MAC
       
   275         hboxLayout2->setSpacing(6);
       
   276 #endif
       
   277         hboxLayout2->setContentsMargins(3, 3, 3, 3);
       
   278         hboxLayout2->setObjectName(QString::fromUtf8("hboxLayout2"));
       
   279         labelPrepare = new QLabel(framePrepare);
       
   280         labelPrepare->setObjectName(QString::fromUtf8("labelPrepare"));
       
   281 
       
   282         hboxLayout2->addWidget(labelPrepare);
       
   283 
       
   284         progressPrepare = new QProgressBar(framePrepare);
       
   285         progressPrepare->setObjectName(QString::fromUtf8("progressPrepare"));
       
   286 
       
   287         hboxLayout2->addWidget(progressPrepare);
       
   288 
       
   289 
       
   290         vboxLayout->addWidget(framePrepare);
       
   291 
       
   292 #ifndef QT_NO_SHORTCUT
       
   293         TextLabel1->setBuddy(editIndex);
       
   294         TextLabel1_2->setBuddy(termsEdit);
       
   295         TextLabel2->setBuddy(resultBox);
       
   296 #endif // QT_NO_SHORTCUT
       
   297         QWidget::setTabOrder(tabWidget, listContents);
       
   298         QWidget::setTabOrder(listContents, editIndex);
       
   299         QWidget::setTabOrder(editIndex, listIndex);
       
   300         QWidget::setTabOrder(listIndex, listBookmarks);
       
   301         QWidget::setTabOrder(listBookmarks, buttonAdd);
       
   302         QWidget::setTabOrder(buttonAdd, buttonRemove);
       
   303         QWidget::setTabOrder(buttonRemove, termsEdit);
       
   304         QWidget::setTabOrder(termsEdit, searchButton);
       
   305         QWidget::setTabOrder(searchButton, helpButton);
       
   306         QWidget::setTabOrder(helpButton, resultBox);
       
   307 
       
   308         retranslateUi(HelpDialog);
       
   309 
       
   310         QMetaObject::connectSlotsByName(HelpDialog);
       
   311     } // setupUi
       
   312 
       
   313     void retranslateUi(QWidget *HelpDialog)
       
   314     {
       
   315         HelpDialog->setWindowTitle(QApplication::translate("HelpDialog", "Help", 0, QApplication::UnicodeUTF8));
       
   316 #ifndef QT_NO_WHATSTHIS
       
   317         HelpDialog->setWhatsThis(QApplication::translate("HelpDialog", "<b>Help</b><p>Choose the topic you want help on from the contents list, or search the index for keywords.</p>", 0, QApplication::UnicodeUTF8));
       
   318 #endif // QT_NO_WHATSTHIS
       
   319 #ifndef QT_NO_WHATSTHIS
       
   320         tabWidget->setWhatsThis(QApplication::translate("HelpDialog", "Displays help topics organized by category, index or bookmarks. Another tab inherits the full text search.", 0, QApplication::UnicodeUTF8));
       
   321 #endif // QT_NO_WHATSTHIS
       
   322         QTreeWidgetItem *___qtreewidgetitem = listContents->headerItem();
       
   323         ___qtreewidgetitem->setText(0, QApplication::translate("HelpDialog", "column 1", 0, QApplication::UnicodeUTF8));
       
   324 #ifndef QT_NO_WHATSTHIS
       
   325         listContents->setWhatsThis(QApplication::translate("HelpDialog", "<b>Help topics organized by category.</b><p>Double-click an item to see the topics in that category. To view a topic, just double-click it.</p>", 0, QApplication::UnicodeUTF8));
       
   326 #endif // QT_NO_WHATSTHIS
       
   327         tabWidget->setTabText(tabWidget->indexOf(contentPage), QApplication::translate("HelpDialog", "Con&tents", 0, QApplication::UnicodeUTF8));
       
   328         TextLabel1->setText(QApplication::translate("HelpDialog", "&Look For:", 0, QApplication::UnicodeUTF8));
       
   329 #ifndef QT_NO_TOOLTIP
       
   330         editIndex->setToolTip(QApplication::translate("HelpDialog", "Enter keyword", 0, QApplication::UnicodeUTF8));
       
   331 #endif // QT_NO_TOOLTIP
       
   332 #ifndef QT_NO_WHATSTHIS
       
   333         editIndex->setWhatsThis(QApplication::translate("HelpDialog", "<b>Enter a keyword.</b><p>The list will select an item that matches the entered string best.</p>", 0, QApplication::UnicodeUTF8));
       
   334 #endif // QT_NO_WHATSTHIS
       
   335 #ifndef QT_NO_WHATSTHIS
       
   336         listIndex->setWhatsThis(QApplication::translate("HelpDialog", "<b>List of available help topics.</b><p>Double-click on an item to open its help page. If more than one is found, you must specify which page you want.</p>", 0, QApplication::UnicodeUTF8));
       
   337 #endif // QT_NO_WHATSTHIS
       
   338         tabWidget->setTabText(tabWidget->indexOf(indexPage), QApplication::translate("HelpDialog", "&Index", 0, QApplication::UnicodeUTF8));
       
   339         QTreeWidgetItem *___qtreewidgetitem1 = listBookmarks->headerItem();
       
   340         ___qtreewidgetitem1->setText(0, QApplication::translate("HelpDialog", "column 1", 0, QApplication::UnicodeUTF8));
       
   341 #ifndef QT_NO_WHATSTHIS
       
   342         listBookmarks->setWhatsThis(QApplication::translate("HelpDialog", "Displays the list of bookmarks.", 0, QApplication::UnicodeUTF8));
       
   343 #endif // QT_NO_WHATSTHIS
       
   344 #ifndef QT_NO_TOOLTIP
       
   345         buttonAdd->setToolTip(QApplication::translate("HelpDialog", "Add new bookmark", 0, QApplication::UnicodeUTF8));
       
   346 #endif // QT_NO_TOOLTIP
       
   347 #ifndef QT_NO_WHATSTHIS
       
   348         buttonAdd->setWhatsThis(QApplication::translate("HelpDialog", "Add the currently displayed page as a new bookmark.", 0, QApplication::UnicodeUTF8));
       
   349 #endif // QT_NO_WHATSTHIS
       
   350         buttonAdd->setText(QApplication::translate("HelpDialog", "&New", 0, QApplication::UnicodeUTF8));
       
   351 #ifndef QT_NO_TOOLTIP
       
   352         buttonRemove->setToolTip(QApplication::translate("HelpDialog", "Delete bookmark", 0, QApplication::UnicodeUTF8));
       
   353 #endif // QT_NO_TOOLTIP
       
   354 #ifndef QT_NO_WHATSTHIS
       
   355         buttonRemove->setWhatsThis(QApplication::translate("HelpDialog", "Delete the selected bookmark.", 0, QApplication::UnicodeUTF8));
       
   356 #endif // QT_NO_WHATSTHIS
       
   357         buttonRemove->setText(QApplication::translate("HelpDialog", "&Delete", 0, QApplication::UnicodeUTF8));
       
   358         tabWidget->setTabText(tabWidget->indexOf(bookmarkPage), QApplication::translate("HelpDialog", "&Bookmarks", 0, QApplication::UnicodeUTF8));
       
   359         TextLabel1_2->setText(QApplication::translate("HelpDialog", "Searching f&or:", 0, QApplication::UnicodeUTF8));
       
   360 #ifndef QT_NO_TOOLTIP
       
   361         termsEdit->setToolTip(QApplication::translate("HelpDialog", "Enter searchword(s).", 0, QApplication::UnicodeUTF8));
       
   362 #endif // QT_NO_TOOLTIP
       
   363 #ifndef QT_NO_WHATSTHIS
       
   364         termsEdit->setWhatsThis(QApplication::translate("HelpDialog", "<b>Enter search word(s).</b><p>Enter here the word(s) you are looking for. The words may contain wildcards (*). For a sequence of words quote them.</p>", 0, QApplication::UnicodeUTF8));
       
   365 #endif // QT_NO_WHATSTHIS
       
   366 #ifndef QT_NO_WHATSTHIS
       
   367         resultBox->setWhatsThis(QApplication::translate("HelpDialog", "<b>Found documents</b><p>This list contains all found documents from the last search. The documents are ordered, i.e. the first document has the most matches.</p>", 0, QApplication::UnicodeUTF8));
       
   368 #endif // QT_NO_WHATSTHIS
       
   369         TextLabel2->setText(QApplication::translate("HelpDialog", "Found &Documents:", 0, QApplication::UnicodeUTF8));
       
   370 #ifndef QT_NO_TOOLTIP
       
   371         helpButton->setToolTip(QApplication::translate("HelpDialog", "Display the help page.", 0, QApplication::UnicodeUTF8));
       
   372 #endif // QT_NO_TOOLTIP
       
   373 #ifndef QT_NO_WHATSTHIS
       
   374         helpButton->setWhatsThis(QApplication::translate("HelpDialog", "Display the help page for the full text search.", 0, QApplication::UnicodeUTF8));
       
   375 #endif // QT_NO_WHATSTHIS
       
   376         helpButton->setText(QApplication::translate("HelpDialog", "He&lp", 0, QApplication::UnicodeUTF8));
       
   377 #ifndef QT_NO_TOOLTIP
       
   378         searchButton->setToolTip(QApplication::translate("HelpDialog", "Start searching.", 0, QApplication::UnicodeUTF8));
       
   379 #endif // QT_NO_TOOLTIP
       
   380 #ifndef QT_NO_WHATSTHIS
       
   381         searchButton->setWhatsThis(QApplication::translate("HelpDialog", "Pressing this button starts the search.", 0, QApplication::UnicodeUTF8));
       
   382 #endif // QT_NO_WHATSTHIS
       
   383         searchButton->setText(QApplication::translate("HelpDialog", "&Search", 0, QApplication::UnicodeUTF8));
       
   384         tabWidget->setTabText(tabWidget->indexOf(searchPage), QApplication::translate("HelpDialog", "&Search", 0, QApplication::UnicodeUTF8));
       
   385         labelPrepare->setText(QApplication::translate("HelpDialog", "Preparing...", 0, QApplication::UnicodeUTF8));
       
   386     } // retranslateUi
       
   387 
       
   388 };
       
   389 
       
   390 namespace Ui {
       
   391     class HelpDialog: public Ui_HelpDialog {};
       
   392 } // namespace Ui
       
   393 
       
   394 QT_END_NAMESPACE
       
   395 
       
   396 #endif // HELPDIALOG_H