1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116
|
void setupUi(QMainWindow *SortDialog)
{
if (SortDialog->objectName().isEmpty())
SortDialog->setObjectName(QString::fromUtf8("SortDialog"));
SortDialog->resize(367, 459);
centralWidget = new QWidget(SortDialog);
centralWidget->setObjectName(QString::fromUtf8("centralWidget"));
verticalLayoutWidget = new QWidget(centralWidget);
verticalLayoutWidget->setObjectName(QString::fromUtf8("verticalLayoutWidget"));
verticalLayoutWidget->setGeometry(QRect(280, 20, 77, 151));
verticalLayout = new QVBoxLayout(verticalLayoutWidget);
verticalLayout->setSpacing(6);
verticalLayout->setContentsMargins(11, 11, 11, 11);
verticalLayout->setObjectName(QString::fromUtf8("verticalLayout"));
verticalLayout->setContentsMargins(0, 0, 0, 0);
okButton = new QPushButton(verticalLayoutWidget);
okButton->setObjectName(QString::fromUtf8("okButton"));
okButton->setDefault(true);
verticalLayout->addWidget(okButton);
cancelButton = new QPushButton(verticalLayoutWidget);
cancelButton->setObjectName(QString::fromUtf8("cancelButton"));
verticalLayout->addWidget(cancelButton);
verticalSpacer_2 = new QSpacerItem(20, 40, QSizePolicy::Minimum, QSizePolicy::Expanding);
verticalLayout->addItem(verticalSpacer_2);
moreButton = new QPushButton(verticalLayoutWidget);
moreButton->setObjectName(QString::fromUtf8("moreButton"));
moreButton->setCheckable(true);
verticalLayout->addWidget(moreButton);
primaryGroupBox = new QGroupBox(centralWidget);
primaryGroupBox->setObjectName(QString::fromUtf8("primaryGroupBox"));
primaryGroupBox->setGeometry(QRect(10, 20, 261, 101));
primaryColumnLabel = new QLabel(primaryGroupBox);
primaryColumnLabel->setObjectName(QString::fromUtf8("primaryColumnLabel"));
primaryColumnLabel->setGeometry(QRect(50, 20, 46, 13));
PrimaryOrderLabel = new QLabel(primaryGroupBox);
PrimaryOrderLabel->setObjectName(QString::fromUtf8("PrimaryOrderLabel"));
PrimaryOrderLabel->setGeometry(QRect(50, 50, 46, 13));
primaryColumnCombo = new QComboBox(primaryGroupBox);
primaryColumnCombo->setObjectName(QString::fromUtf8("primaryColumnCombo"));
primaryColumnCombo->setGeometry(QRect(120, 20, 69, 22));
primaryOrderCombo = new QComboBox(primaryGroupBox);
primaryOrderCombo->setObjectName(QString::fromUtf8("primaryOrderCombo"));
primaryOrderCombo->setGeometry(QRect(120, 50, 121, 22));
secondaryGroupBox = new QGroupBox(centralWidget);
secondaryGroupBox->setObjectName(QString::fromUtf8("secondaryGroupBox"));
secondaryGroupBox->setGeometry(QRect(10, 170, 261, 101));
secondaryColumnLabel = new QLabel(secondaryGroupBox);
secondaryColumnLabel->setObjectName(QString::fromUtf8("secondaryColumnLabel"));
secondaryColumnLabel->setGeometry(QRect(50, 20, 46, 13));
secondaryOrderLabel = new QLabel(secondaryGroupBox);
secondaryOrderLabel->setObjectName(QString::fromUtf8("secondaryOrderLabel"));
secondaryOrderLabel->setGeometry(QRect(50, 50, 46, 13));
secondaryColumnCombo = new QComboBox(secondaryGroupBox);
secondaryColumnCombo->setObjectName(QString::fromUtf8("secondaryColumnCombo"));
secondaryColumnCombo->setGeometry(QRect(120, 20, 69, 22));
secondaryOrderCombo = new QComboBox(secondaryGroupBox);
secondaryOrderCombo->setObjectName(QString::fromUtf8("secondaryOrderCombo"));
secondaryOrderCombo->setGeometry(QRect(120, 50, 121, 22));
tertiaryGroupBox = new QGroupBox(centralWidget);
tertiaryGroupBox->setObjectName(QString::fromUtf8("tertiaryGroupBox"));
tertiaryGroupBox->setGeometry(QRect(10, 290, 261, 101));
tertiaryColumnLabel = new QLabel(tertiaryGroupBox);
tertiaryColumnLabel->setObjectName(QString::fromUtf8("tertiaryColumnLabel"));
tertiaryColumnLabel->setGeometry(QRect(50, 20, 46, 13));
tertiaryOrderLabel = new QLabel(tertiaryGroupBox);
tertiaryOrderLabel->setObjectName(QString::fromUtf8("tertiaryOrderLabel"));
tertiaryOrderLabel->setGeometry(QRect(60, 50, 46, 13));
tertiaryColumnCombo = new QComboBox(tertiaryGroupBox);
tertiaryColumnCombo->setObjectName(QString::fromUtf8("tertiaryColumnCombo"));
tertiaryColumnCombo->setGeometry(QRect(120, 20, 69, 22));
tertiaryOrderCombo = new QComboBox(tertiaryGroupBox);
tertiaryOrderCombo->setObjectName(QString::fromUtf8("tertiaryOrderCombo"));
tertiaryOrderCombo->setGeometry(QRect(120, 50, 121, 22));
SortDialog->setCentralWidget(centralWidget);
menuBar = new QMenuBar(SortDialog);
menuBar->setObjectName(QString::fromUtf8("menuBar"));
menuBar->setGeometry(QRect(0, 0, 367, 21));
SortDialog->setMenuBar(menuBar);
mainToolBar = new QToolBar(SortDialog);
mainToolBar->setObjectName(QString::fromUtf8("mainToolBar"));
SortDialog->addToolBar(Qt::TopToolBarArea, mainToolBar);
statusBar = new QStatusBar(SortDialog);
statusBar->setObjectName(QString::fromUtf8("statusBar"));
SortDialog->setStatusBar(statusBar);
#ifndef QT_NO_SHORTCUT
primaryColumnLabel->setBuddy(primaryColumnCombo);
PrimaryOrderLabel->setBuddy(primaryOrderCombo);
secondaryColumnLabel->setBuddy(secondaryColumnCombo);
secondaryOrderLabel->setBuddy(secondaryOrderCombo);
tertiaryColumnLabel->setBuddy(tertiaryColumnCombo);
tertiaryOrderLabel->setBuddy(tertiaryOrderCombo);
#endif // QT_NO_SHORTCUT
QWidget::setTabOrder(primaryColumnCombo, primaryOrderCombo);
QWidget::setTabOrder(primaryOrderCombo, secondaryColumnCombo);
QWidget::setTabOrder(secondaryColumnCombo, secondaryOrderCombo);
QWidget::setTabOrder(secondaryOrderCombo, tertiaryColumnCombo);
QWidget::setTabOrder(tertiaryColumnCombo, tertiaryOrderCombo);
QWidget::setTabOrder(tertiaryOrderCombo, okButton);
QWidget::setTabOrder(okButton, cancelButton);
QWidget::setTabOrder(cancelButton, moreButton);
retranslateUi(SortDialog);
QObject::connect(moreButton, SIGNAL(toggled(bool)), SortDialog, SLOT(setVisible(bool)));
QObject::connect(moreButton, SIGNAL(toggled(bool)), tertiaryGroupBox, SLOT(setVisible(bool)));
QMetaObject::connectSlotsByName(SortDialog);
} // setupUi |
Partager