tests/auto/uic/baseline/default.ui.h
changeset 0 1918ee327afb
equal deleted inserted replaced
-1:000000000000 0:1918ee327afb
       
     1 /********************************************************************************
       
     2 ** Form generated from reading UI file 'default.ui'
       
     3 **
       
     4 ** Created: Fri Sep 4 10:17:13 2009
       
     5 **      by: Qt User Interface Compiler version 4.6.0
       
     6 **
       
     7 ** WARNING! All changes made in this file will be lost when recompiling UI file!
       
     8 ********************************************************************************/
       
     9 
       
    10 #ifndef DEFAULT_H
       
    11 #define DEFAULT_H
       
    12 
       
    13 #include <QtCore/QVariant>
       
    14 #include <QtGui/QAction>
       
    15 #include <QtGui/QApplication>
       
    16 #include <QtGui/QButtonGroup>
       
    17 #include <QtGui/QCheckBox>
       
    18 #include <QtGui/QComboBox>
       
    19 #include <QtGui/QDialogButtonBox>
       
    20 #include <QtGui/QGridLayout>
       
    21 #include <QtGui/QHeaderView>
       
    22 #include <QtGui/QLabel>
       
    23 #include <QtGui/QLineEdit>
       
    24 #include <QtGui/QListWidget>
       
    25 #include <QtGui/QMainWindow>
       
    26 #include <QtGui/QMenu>
       
    27 #include <QtGui/QMenuBar>
       
    28 #include <QtGui/QRadioButton>
       
    29 #include <QtGui/QSpacerItem>
       
    30 #include <QtGui/QSpinBox>
       
    31 #include <QtGui/QStatusBar>
       
    32 #include <QtGui/QWidget>
       
    33 
       
    34 QT_BEGIN_NAMESPACE
       
    35 
       
    36 class Ui_MainWindow
       
    37 {
       
    38 public:
       
    39     QAction *exitAction;
       
    40     QAction *aboutQtAction;
       
    41     QAction *editStyleAction;
       
    42     QAction *aboutAction;
       
    43     QWidget *centralwidget;
       
    44     QGridLayout *gridLayout;
       
    45     QLabel *nameLabel;
       
    46     QComboBox *nameCombo;
       
    47     QSpacerItem *spacerItem;
       
    48     QRadioButton *femaleRadioButton;
       
    49     QCheckBox *agreeCheckBox;
       
    50     QRadioButton *maleRadioButton;
       
    51     QLabel *genderLabel;
       
    52     QSpinBox *ageSpinBox;
       
    53     QDialogButtonBox *buttonBox;
       
    54     QLabel *ageLabel;
       
    55     QLabel *passwordLabel;
       
    56     QLineEdit *passwordEdit;
       
    57     QLabel *label;
       
    58     QLabel *countryLabel;
       
    59     QListWidget *professionList;
       
    60     QComboBox *countryCombo;
       
    61     QMenuBar *menubar;
       
    62     QMenu *menu_File;
       
    63     QMenu *menu_Help;
       
    64     QStatusBar *statusbar;
       
    65 
       
    66     void setupUi(QMainWindow *MainWindow)
       
    67     {
       
    68         if (MainWindow->objectName().isEmpty())
       
    69             MainWindow->setObjectName(QString::fromUtf8("MainWindow"));
       
    70         MainWindow->resize(388, 413);
       
    71         exitAction = new QAction(MainWindow);
       
    72         exitAction->setObjectName(QString::fromUtf8("exitAction"));
       
    73         aboutQtAction = new QAction(MainWindow);
       
    74         aboutQtAction->setObjectName(QString::fromUtf8("aboutQtAction"));
       
    75         editStyleAction = new QAction(MainWindow);
       
    76         editStyleAction->setObjectName(QString::fromUtf8("editStyleAction"));
       
    77         aboutAction = new QAction(MainWindow);
       
    78         aboutAction->setObjectName(QString::fromUtf8("aboutAction"));
       
    79         centralwidget = new QWidget(MainWindow);
       
    80         centralwidget->setObjectName(QString::fromUtf8("centralwidget"));
       
    81         gridLayout = new QGridLayout(centralwidget);
       
    82 #ifndef Q_OS_MAC
       
    83         gridLayout->setSpacing(6);
       
    84 #endif
       
    85 #ifndef Q_OS_MAC
       
    86         gridLayout->setContentsMargins(9, 9, 9, 9);
       
    87 #endif
       
    88         gridLayout->setObjectName(QString::fromUtf8("gridLayout"));
       
    89         nameLabel = new QLabel(centralwidget);
       
    90         nameLabel->setObjectName(QString::fromUtf8("nameLabel"));
       
    91 
       
    92         gridLayout->addWidget(nameLabel, 0, 0, 1, 1);
       
    93 
       
    94         nameCombo = new QComboBox(centralwidget);
       
    95         nameCombo->setObjectName(QString::fromUtf8("nameCombo"));
       
    96         nameCombo->setEditable(true);
       
    97 
       
    98         gridLayout->addWidget(nameCombo, 0, 1, 1, 3);
       
    99 
       
   100         spacerItem = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
       
   101 
       
   102         gridLayout->addItem(spacerItem, 1, 3, 1, 1);
       
   103 
       
   104         femaleRadioButton = new QRadioButton(centralwidget);
       
   105         femaleRadioButton->setObjectName(QString::fromUtf8("femaleRadioButton"));
       
   106 
       
   107         gridLayout->addWidget(femaleRadioButton, 1, 2, 1, 1);
       
   108 
       
   109         agreeCheckBox = new QCheckBox(centralwidget);
       
   110         agreeCheckBox->setObjectName(QString::fromUtf8("agreeCheckBox"));
       
   111 
       
   112         gridLayout->addWidget(agreeCheckBox, 6, 0, 1, 4);
       
   113 
       
   114         maleRadioButton = new QRadioButton(centralwidget);
       
   115         maleRadioButton->setObjectName(QString::fromUtf8("maleRadioButton"));
       
   116 
       
   117         gridLayout->addWidget(maleRadioButton, 1, 1, 1, 1);
       
   118 
       
   119         genderLabel = new QLabel(centralwidget);
       
   120         genderLabel->setObjectName(QString::fromUtf8("genderLabel"));
       
   121 
       
   122         gridLayout->addWidget(genderLabel, 1, 0, 1, 1);
       
   123 
       
   124         ageSpinBox = new QSpinBox(centralwidget);
       
   125         ageSpinBox->setObjectName(QString::fromUtf8("ageSpinBox"));
       
   126         ageSpinBox->setMinimum(12);
       
   127         ageSpinBox->setValue(22);
       
   128 
       
   129         gridLayout->addWidget(ageSpinBox, 2, 1, 1, 3);
       
   130 
       
   131         buttonBox = new QDialogButtonBox(centralwidget);
       
   132         buttonBox->setObjectName(QString::fromUtf8("buttonBox"));
       
   133         buttonBox->setOrientation(Qt::Horizontal);
       
   134         buttonBox->setStandardButtons(QDialogButtonBox::Cancel|QDialogButtonBox::NoButton|QDialogButtonBox::Ok);
       
   135 
       
   136         gridLayout->addWidget(buttonBox, 7, 2, 1, 2);
       
   137 
       
   138         ageLabel = new QLabel(centralwidget);
       
   139         ageLabel->setObjectName(QString::fromUtf8("ageLabel"));
       
   140 
       
   141         gridLayout->addWidget(ageLabel, 2, 0, 1, 1);
       
   142 
       
   143         passwordLabel = new QLabel(centralwidget);
       
   144         passwordLabel->setObjectName(QString::fromUtf8("passwordLabel"));
       
   145 
       
   146         gridLayout->addWidget(passwordLabel, 3, 0, 1, 1);
       
   147 
       
   148         passwordEdit = new QLineEdit(centralwidget);
       
   149         passwordEdit->setObjectName(QString::fromUtf8("passwordEdit"));
       
   150         passwordEdit->setEchoMode(QLineEdit::Password);
       
   151 
       
   152         gridLayout->addWidget(passwordEdit, 3, 1, 1, 3);
       
   153 
       
   154         label = new QLabel(centralwidget);
       
   155         label->setObjectName(QString::fromUtf8("label"));
       
   156 
       
   157         gridLayout->addWidget(label, 5, 0, 1, 1);
       
   158 
       
   159         countryLabel = new QLabel(centralwidget);
       
   160         countryLabel->setObjectName(QString::fromUtf8("countryLabel"));
       
   161 
       
   162         gridLayout->addWidget(countryLabel, 4, 0, 1, 1);
       
   163 
       
   164         professionList = new QListWidget(centralwidget);
       
   165         new QListWidgetItem(professionList);
       
   166         new QListWidgetItem(professionList);
       
   167         new QListWidgetItem(professionList);
       
   168         professionList->setObjectName(QString::fromUtf8("professionList"));
       
   169 
       
   170         gridLayout->addWidget(professionList, 5, 1, 1, 3);
       
   171 
       
   172         countryCombo = new QComboBox(centralwidget);
       
   173         countryCombo->setObjectName(QString::fromUtf8("countryCombo"));
       
   174 
       
   175         gridLayout->addWidget(countryCombo, 4, 1, 1, 3);
       
   176 
       
   177         MainWindow->setCentralWidget(centralwidget);
       
   178         menubar = new QMenuBar(MainWindow);
       
   179         menubar->setObjectName(QString::fromUtf8("menubar"));
       
   180         menubar->setGeometry(QRect(0, 0, 388, 21));
       
   181         menu_File = new QMenu(menubar);
       
   182         menu_File->setObjectName(QString::fromUtf8("menu_File"));
       
   183         menu_Help = new QMenu(menubar);
       
   184         menu_Help->setObjectName(QString::fromUtf8("menu_Help"));
       
   185         MainWindow->setMenuBar(menubar);
       
   186         statusbar = new QStatusBar(MainWindow);
       
   187         statusbar->setObjectName(QString::fromUtf8("statusbar"));
       
   188         MainWindow->setStatusBar(statusbar);
       
   189 #ifndef QT_NO_SHORTCUT
       
   190         nameLabel->setBuddy(nameCombo);
       
   191         ageLabel->setBuddy(ageSpinBox);
       
   192         passwordLabel->setBuddy(passwordEdit);
       
   193         label->setBuddy(professionList);
       
   194         countryLabel->setBuddy(professionList);
       
   195 #endif // QT_NO_SHORTCUT
       
   196         QWidget::setTabOrder(maleRadioButton, femaleRadioButton);
       
   197         QWidget::setTabOrder(femaleRadioButton, ageSpinBox);
       
   198         QWidget::setTabOrder(ageSpinBox, passwordEdit);
       
   199         QWidget::setTabOrder(passwordEdit, professionList);
       
   200         QWidget::setTabOrder(professionList, agreeCheckBox);
       
   201 
       
   202         menubar->addAction(menu_File->menuAction());
       
   203         menubar->addAction(menu_Help->menuAction());
       
   204         menu_File->addAction(editStyleAction);
       
   205         menu_File->addSeparator();
       
   206         menu_File->addAction(exitAction);
       
   207         menu_Help->addAction(aboutAction);
       
   208         menu_Help->addSeparator();
       
   209         menu_Help->addAction(aboutQtAction);
       
   210 
       
   211         retranslateUi(MainWindow);
       
   212 
       
   213         nameCombo->setCurrentIndex(-1);
       
   214         professionList->setCurrentRow(1);
       
   215         countryCombo->setCurrentIndex(2);
       
   216 
       
   217 
       
   218         QMetaObject::connectSlotsByName(MainWindow);
       
   219     } // setupUi
       
   220 
       
   221     void retranslateUi(QMainWindow *MainWindow)
       
   222     {
       
   223         MainWindow->setWindowTitle(QApplication::translate("MainWindow", "MainWindow", 0, QApplication::UnicodeUTF8));
       
   224         exitAction->setText(QApplication::translate("MainWindow", "&Exit", 0, QApplication::UnicodeUTF8));
       
   225         aboutQtAction->setText(QApplication::translate("MainWindow", "About Qt", 0, QApplication::UnicodeUTF8));
       
   226         editStyleAction->setText(QApplication::translate("MainWindow", "Edit &Style", 0, QApplication::UnicodeUTF8));
       
   227         aboutAction->setText(QApplication::translate("MainWindow", "About", 0, QApplication::UnicodeUTF8));
       
   228         nameLabel->setText(QApplication::translate("MainWindow", "&Name:", 0, QApplication::UnicodeUTF8));
       
   229         nameCombo->clear();
       
   230         nameCombo->insertItems(0, QStringList()
       
   231          << QApplication::translate("MainWindow", "Girish", 0, QApplication::UnicodeUTF8)
       
   232          << QApplication::translate("MainWindow", "Jasmin", 0, QApplication::UnicodeUTF8)
       
   233          << QApplication::translate("MainWindow", "Simon", 0, QApplication::UnicodeUTF8)
       
   234          << QApplication::translate("MainWindow", "Zack", 0, QApplication::UnicodeUTF8)
       
   235         );
       
   236 #ifndef QT_NO_TOOLTIP
       
   237         nameCombo->setToolTip(QApplication::translate("MainWindow", "Specify your name", 0, QApplication::UnicodeUTF8));
       
   238 #endif // QT_NO_TOOLTIP
       
   239 #ifndef QT_NO_TOOLTIP
       
   240         femaleRadioButton->setToolTip(QApplication::translate("MainWindow", "Check this if you are female", 0, QApplication::UnicodeUTF8));
       
   241 #endif // QT_NO_TOOLTIP
       
   242         femaleRadioButton->setText(QApplication::translate("MainWindow", "&Female", 0, QApplication::UnicodeUTF8));
       
   243 #ifndef QT_NO_TOOLTIP
       
   244         agreeCheckBox->setToolTip(QApplication::translate("MainWindow", "Please read the license before checking this", 0, QApplication::UnicodeUTF8));
       
   245 #endif // QT_NO_TOOLTIP
       
   246         agreeCheckBox->setText(QApplication::translate("MainWindow", "I &accept the terms and conditions", 0, QApplication::UnicodeUTF8));
       
   247 #ifndef QT_NO_TOOLTIP
       
   248         maleRadioButton->setToolTip(QApplication::translate("MainWindow", "Check this if you are male", 0, QApplication::UnicodeUTF8));
       
   249 #endif // QT_NO_TOOLTIP
       
   250         maleRadioButton->setText(QApplication::translate("MainWindow", "&Male", 0, QApplication::UnicodeUTF8));
       
   251         genderLabel->setText(QApplication::translate("MainWindow", "Gender:", 0, QApplication::UnicodeUTF8));
       
   252 #ifndef QT_NO_TOOLTIP
       
   253         ageSpinBox->setToolTip(QApplication::translate("MainWindow", "Specify your age", 0, QApplication::UnicodeUTF8));
       
   254 #endif // QT_NO_TOOLTIP
       
   255 #ifndef QT_NO_STATUSTIP
       
   256         ageSpinBox->setStatusTip(QApplication::translate("MainWindow", "Specify your age here", 0, QApplication::UnicodeUTF8));
       
   257 #endif // QT_NO_STATUSTIP
       
   258         ageLabel->setText(QApplication::translate("MainWindow", "&Age:", 0, QApplication::UnicodeUTF8));
       
   259         passwordLabel->setText(QApplication::translate("MainWindow", "&Password:", 0, QApplication::UnicodeUTF8));
       
   260 #ifndef QT_NO_TOOLTIP
       
   261         passwordEdit->setToolTip(QApplication::translate("MainWindow", "Specify your password", 0, QApplication::UnicodeUTF8));
       
   262 #endif // QT_NO_TOOLTIP
       
   263 #ifndef QT_NO_STATUSTIP
       
   264         passwordEdit->setStatusTip(QApplication::translate("MainWindow", "Specify your password here", 0, QApplication::UnicodeUTF8));
       
   265 #endif // QT_NO_STATUSTIP
       
   266         passwordEdit->setText(QApplication::translate("MainWindow", "Password", 0, QApplication::UnicodeUTF8));
       
   267         label->setText(QApplication::translate("MainWindow", "Profession", 0, QApplication::UnicodeUTF8));
       
   268         countryLabel->setText(QApplication::translate("MainWindow", "&Country", 0, QApplication::UnicodeUTF8));
       
   269 
       
   270         const bool __sortingEnabled = professionList->isSortingEnabled();
       
   271         professionList->setSortingEnabled(false);
       
   272         QListWidgetItem *___qlistwidgetitem = professionList->item(0);
       
   273         ___qlistwidgetitem->setText(QApplication::translate("MainWindow", "Developer", 0, QApplication::UnicodeUTF8));
       
   274         QListWidgetItem *___qlistwidgetitem1 = professionList->item(1);
       
   275         ___qlistwidgetitem1->setText(QApplication::translate("MainWindow", "Student", 0, QApplication::UnicodeUTF8));
       
   276         QListWidgetItem *___qlistwidgetitem2 = professionList->item(2);
       
   277         ___qlistwidgetitem2->setText(QApplication::translate("MainWindow", "Fisherman", 0, QApplication::UnicodeUTF8));
       
   278         professionList->setSortingEnabled(__sortingEnabled);
       
   279 
       
   280 #ifndef QT_NO_TOOLTIP
       
   281         professionList->setToolTip(QApplication::translate("MainWindow", "Select your profession", 0, QApplication::UnicodeUTF8));
       
   282 #endif // QT_NO_TOOLTIP
       
   283 #ifndef QT_NO_STATUSTIP
       
   284         professionList->setStatusTip(QApplication::translate("MainWindow", "Select your profession", 0, QApplication::UnicodeUTF8));
       
   285 #endif // QT_NO_STATUSTIP
       
   286 #ifndef QT_NO_WHATSTHIS
       
   287         professionList->setWhatsThis(QApplication::translate("MainWindow", "Select your profession", 0, QApplication::UnicodeUTF8));
       
   288 #endif // QT_NO_WHATSTHIS
       
   289         countryCombo->clear();
       
   290         countryCombo->insertItems(0, QStringList()
       
   291          << QApplication::translate("MainWindow", "Germany", 0, QApplication::UnicodeUTF8)
       
   292          << QApplication::translate("MainWindow", "India", 0, QApplication::UnicodeUTF8)
       
   293          << QApplication::translate("MainWindow", "Norway", 0, QApplication::UnicodeUTF8)
       
   294          << QApplication::translate("MainWindow", "United States Of America", 0, QApplication::UnicodeUTF8)
       
   295          << QApplication::translate("MainWindow", "United Kingdom", 0, QApplication::UnicodeUTF8)
       
   296         );
       
   297 #ifndef QT_NO_TOOLTIP
       
   298         countryCombo->setToolTip(QApplication::translate("MainWindow", "Specify your country", 0, QApplication::UnicodeUTF8));
       
   299 #endif // QT_NO_TOOLTIP
       
   300 #ifndef QT_NO_STATUSTIP
       
   301         countryCombo->setStatusTip(QApplication::translate("MainWindow", "Specify your country here", 0, QApplication::UnicodeUTF8));
       
   302 #endif // QT_NO_STATUSTIP
       
   303         menu_File->setTitle(QApplication::translate("MainWindow", "&File", 0, QApplication::UnicodeUTF8));
       
   304         menu_Help->setTitle(QApplication::translate("MainWindow", "&Help", 0, QApplication::UnicodeUTF8));
       
   305     } // retranslateUi
       
   306 
       
   307 };
       
   308 
       
   309 namespace Ui {
       
   310     class MainWindow: public Ui_MainWindow {};
       
   311 } // namespace Ui
       
   312 
       
   313 QT_END_NAMESPACE
       
   314 
       
   315 #endif // DEFAULT_H