1/********************************************************************************
2** Form generated from reading UI file 'sortdialog.ui'
3**
4** Created by: Qt User Interface Compiler version 5.15.9
5**
6** WARNING! All changes made in this file will be lost when recompiling UI file!
7********************************************************************************/
8
9#ifndef UI_SORTDIALOG_H
10#define UI_SORTDIALOG_H
11
12#include <QtCore/QVariant>
13#include <QtWidgets/QApplication>
14#include <QtWidgets/QComboBox>
15#include <QtWidgets/QDialog>
16#include <QtWidgets/QGridLayout>
17#include <QtWidgets/QGroupBox>
18#include <QtWidgets/QHBoxLayout>
19#include <QtWidgets/QPushButton>
20#include <QtWidgets/QSpacerItem>
21#include <QtWidgets/QVBoxLayout>
22
23QT_BEGIN_NAMESPACE
24
25class Ui_SortDialog
26{
27public:
28 QGridLayout *gridLayout;
29 QVBoxLayout *vboxLayout;
30 QPushButton *okButton;
31 QSpacerItem *spacerItem;
32 QPushButton *moreButton;
33 QSpacerItem *spacerItem1;
34 QGroupBox *primaryGroupBox;
35 QHBoxLayout *hboxLayout;
36 QComboBox *primaryColumnCombo;
37
38 void setupUi(QDialog *SortDialog)
39 {
40 if (SortDialog->objectName().isEmpty())
41 SortDialog->setObjectName(QString::fromUtf8(str: "SortDialog"));
42 SortDialog->resize(w: 304, h: 370);
43 gridLayout = new QGridLayout(SortDialog);
44#ifndef Q_OS_MAC
45 gridLayout->setSpacing(6);
46#endif
47 gridLayout->setContentsMargins(left: 8, top: 8, right: 8, bottom: 8);
48 gridLayout->setObjectName(QString::fromUtf8(str: "gridLayout"));
49 vboxLayout = new QVBoxLayout();
50#ifndef Q_OS_MAC
51 vboxLayout->setSpacing(6);
52#endif
53#ifndef Q_OS_MAC
54 vboxLayout->setContentsMargins(left: 0, top: 0, right: 0, bottom: 0);
55#endif
56 vboxLayout->setObjectName(QString::fromUtf8(str: "vboxLayout"));
57 okButton = new QPushButton(SortDialog);
58 okButton->setObjectName(QString::fromUtf8(str: "okButton"));
59
60 vboxLayout->addWidget(okButton);
61
62 spacerItem = new QSpacerItem(20, 1, QSizePolicy::Minimum, QSizePolicy::Expanding);
63
64 vboxLayout->addItem(spacerItem);
65
66 moreButton = new QPushButton(SortDialog);
67 moreButton->setObjectName(QString::fromUtf8(str: "moreButton"));
68 moreButton->setCheckable(true);
69
70 vboxLayout->addWidget(moreButton);
71
72
73 gridLayout->addLayout(vboxLayout, row: 0, column: 1, rowSpan: 2, columnSpan: 1);
74
75 spacerItem1 = new QSpacerItem(20, 1, QSizePolicy::Minimum, QSizePolicy::Expanding);
76
77 gridLayout->addItem(item: spacerItem1, row: 1, column: 0, rowSpan: 1, columnSpan: 1);
78
79 primaryGroupBox = new QGroupBox(SortDialog);
80 primaryGroupBox->setObjectName(QString::fromUtf8(str: "primaryGroupBox"));
81 hboxLayout = new QHBoxLayout(primaryGroupBox);
82#ifndef Q_OS_MAC
83 hboxLayout->setSpacing(6);
84#endif
85 hboxLayout->setContentsMargins(left: 8, top: 8, right: 8, bottom: 8);
86 hboxLayout->setObjectName(QString::fromUtf8(str: "hboxLayout"));
87 primaryColumnCombo = new QComboBox(primaryGroupBox);
88 primaryColumnCombo->addItem(atext: QString());
89 primaryColumnCombo->setObjectName(QString::fromUtf8(str: "primaryColumnCombo"));
90 primaryColumnCombo->setMinimumSize(QSize(0, 100));
91
92 hboxLayout->addWidget(primaryColumnCombo);
93
94
95 gridLayout->addWidget(primaryGroupBox, row: 0, column: 0, rowSpan: 1, columnSpan: 1);
96
97 QWidget::setTabOrder(primaryColumnCombo, okButton);
98 QWidget::setTabOrder(okButton, moreButton);
99
100 retranslateUi(SortDialog);
101 QObject::connect(sender: okButton, SIGNAL(clicked()), receiver: SortDialog, SLOT(accept()));
102
103 okButton->setDefault(true);
104
105
106 QMetaObject::connectSlotsByName(o: SortDialog);
107 } // setupUi
108
109 void retranslateUi(QDialog *SortDialog)
110 {
111 SortDialog->setWindowTitle(QCoreApplication::translate(context: "SortDialog", key: "Sort", disambiguation: nullptr));
112 okButton->setText(QCoreApplication::translate(context: "SortDialog", key: "OK", disambiguation: nullptr));
113 moreButton->setText(QCoreApplication::translate(context: "SortDialog", key: "&More", disambiguation: nullptr));
114 primaryColumnCombo->setItemText(index: 0, text: QCoreApplication::translate(context: "SortDialog", key: "None", disambiguation: nullptr));
115
116 } // retranslateUi
117
118};
119
120namespace Ui {
121 class SortDialog: public Ui_SortDialog {};
122} // namespace Ui
123
124QT_END_NAMESPACE
125
126#endif // UI_SORTDIALOG_H
127

source code of qtbase/tests/auto/widgets/kernel/qgridlayout/.uic/ui_sortdialog.h