1 | /******************************************************************************** |
2 | ** Form generated from reading UI file 'newprojectdialog.ui' |
3 | ** |
4 | ** Created by: Qt User Interface Compiler version 5.15.3 |
5 | ** |
6 | ** WARNING! All changes made in this file will be lost when recompiling UI file! |
7 | ********************************************************************************/ |
8 | |
9 | #ifndef UI_NEWPROJECTDIALOG_H |
10 | #define UI_NEWPROJECTDIALOG_H |
11 | |
12 | #include <QtCore/QVariant> |
13 | #include <QtGui/QIcon> |
14 | #include <QtWidgets/QApplication> |
15 | #include <QtWidgets/QButtonGroup> |
16 | #include <QtWidgets/QCheckBox> |
17 | #include <QtWidgets/QDialog> |
18 | #include <QtWidgets/QDialogButtonBox> |
19 | #include <QtWidgets/QGridLayout> |
20 | #include <QtWidgets/QHBoxLayout> |
21 | #include <QtWidgets/QLabel> |
22 | #include <QtWidgets/QLineEdit> |
23 | #include <QtWidgets/QListWidget> |
24 | #include <QtWidgets/QRadioButton> |
25 | #include <QtWidgets/QToolButton> |
26 | #include <QtWidgets/QVBoxLayout> |
27 | #include <QtWidgets/QWidget> |
28 | |
29 | QT_BEGIN_NAMESPACE |
30 | |
31 | class Ui_NewProjectDialog |
32 | { |
33 | public: |
34 | QVBoxLayout *verticalLayout; |
35 | QListWidget *lstTemplates; |
36 | QWidget *widget; |
37 | QHBoxLayout *horizontalLayout; |
38 | QLabel *lblDescription; |
39 | QWidget *widget_2; |
40 | QGridLayout *gridLayout; |
41 | QCheckBox *chkMakeDefaultLanguage; |
42 | QRadioButton *rdCProject; |
43 | QRadioButton *rdCppProject; |
44 | QWidget *widget_3; |
45 | QGridLayout *gridLayout_2; |
46 | QLineEdit *txtLocation; |
47 | QLineEdit *txtProjectName; |
48 | QLabel *label_2; |
49 | QToolButton *btnBrowse; |
50 | QLabel *label_3; |
51 | QCheckBox *chkAsDefaultLocation; |
52 | QDialogButtonBox *buttonBox; |
53 | QButtonGroup *btnGroupLanguage; |
54 | |
55 | void setupUi(QDialog *NewProjectDialog) |
56 | { |
57 | if (NewProjectDialog->objectName().isEmpty()) |
58 | NewProjectDialog->setObjectName(QString::fromUtf8("NewProjectDialog" )); |
59 | NewProjectDialog->resize(670, 546); |
60 | verticalLayout = new QVBoxLayout(NewProjectDialog); |
61 | verticalLayout->setObjectName(QString::fromUtf8("verticalLayout" )); |
62 | lstTemplates = new QListWidget(NewProjectDialog); |
63 | lstTemplates->setObjectName(QString::fromUtf8("lstTemplates" )); |
64 | lstTemplates->setFlow(QListView::LeftToRight); |
65 | lstTemplates->setResizeMode(QListView::Adjust); |
66 | lstTemplates->setSpacing(10); |
67 | lstTemplates->setViewMode(QListView::IconMode); |
68 | lstTemplates->setUniformItemSizes(true); |
69 | lstTemplates->setWordWrap(false); |
70 | lstTemplates->setItemAlignment(Qt::AlignCenter); |
71 | lstTemplates->setSortingEnabled(true); |
72 | |
73 | verticalLayout->addWidget(lstTemplates); |
74 | |
75 | widget = new QWidget(NewProjectDialog); |
76 | widget->setObjectName(QString::fromUtf8("widget" )); |
77 | horizontalLayout = new QHBoxLayout(widget); |
78 | horizontalLayout->setObjectName(QString::fromUtf8("horizontalLayout" )); |
79 | horizontalLayout->setContentsMargins(0, 0, 0, 0); |
80 | lblDescription = new QLabel(widget); |
81 | lblDescription->setObjectName(QString::fromUtf8("lblDescription" )); |
82 | QSizePolicy sizePolicy(QSizePolicy::Expanding, QSizePolicy::Preferred); |
83 | sizePolicy.setHorizontalStretch(0); |
84 | sizePolicy.setVerticalStretch(0); |
85 | sizePolicy.setHeightForWidth(lblDescription->sizePolicy().hasHeightForWidth()); |
86 | lblDescription->setSizePolicy(sizePolicy); |
87 | lblDescription->setTextFormat(Qt::RichText); |
88 | lblDescription->setWordWrap(true); |
89 | lblDescription->setOpenExternalLinks(true); |
90 | lblDescription->setTextInteractionFlags(Qt::LinksAccessibleByMouse|Qt::TextSelectableByMouse); |
91 | |
92 | horizontalLayout->addWidget(lblDescription); |
93 | |
94 | widget_2 = new QWidget(widget); |
95 | widget_2->setObjectName(QString::fromUtf8("widget_2" )); |
96 | gridLayout = new QGridLayout(widget_2); |
97 | gridLayout->setObjectName(QString::fromUtf8("gridLayout" )); |
98 | gridLayout->setVerticalSpacing(10); |
99 | chkMakeDefaultLanguage = new QCheckBox(widget_2); |
100 | chkMakeDefaultLanguage->setObjectName(QString::fromUtf8("chkMakeDefaultLanguage" )); |
101 | |
102 | gridLayout->addWidget(chkMakeDefaultLanguage, 2, 0, 1, 1); |
103 | |
104 | rdCProject = new QRadioButton(widget_2); |
105 | btnGroupLanguage = new QButtonGroup(NewProjectDialog); |
106 | btnGroupLanguage->setObjectName(QString::fromUtf8("btnGroupLanguage" )); |
107 | btnGroupLanguage->addButton(rdCProject); |
108 | rdCProject->setObjectName(QString::fromUtf8("rdCProject" )); |
109 | |
110 | gridLayout->addWidget(rdCProject, 0, 0, 1, 1); |
111 | |
112 | rdCppProject = new QRadioButton(widget_2); |
113 | btnGroupLanguage->addButton(rdCppProject); |
114 | rdCppProject->setObjectName(QString::fromUtf8("rdCppProject" )); |
115 | |
116 | gridLayout->addWidget(rdCppProject, 1, 0, 1, 1); |
117 | |
118 | |
119 | horizontalLayout->addWidget(widget_2); |
120 | |
121 | |
122 | verticalLayout->addWidget(widget); |
123 | |
124 | widget_3 = new QWidget(NewProjectDialog); |
125 | widget_3->setObjectName(QString::fromUtf8("widget_3" )); |
126 | gridLayout_2 = new QGridLayout(widget_3); |
127 | gridLayout_2->setObjectName(QString::fromUtf8("gridLayout_2" )); |
128 | gridLayout_2->setContentsMargins(0, 0, 0, 0); |
129 | txtLocation = new QLineEdit(widget_3); |
130 | txtLocation->setObjectName(QString::fromUtf8("txtLocation" )); |
131 | |
132 | gridLayout_2->addWidget(txtLocation, 1, 2, 1, 1); |
133 | |
134 | txtProjectName = new QLineEdit(widget_3); |
135 | txtProjectName->setObjectName(QString::fromUtf8("txtProjectName" )); |
136 | |
137 | gridLayout_2->addWidget(txtProjectName, 0, 2, 1, 2); |
138 | |
139 | label_2 = new QLabel(widget_3); |
140 | label_2->setObjectName(QString::fromUtf8("label_2" )); |
141 | |
142 | gridLayout_2->addWidget(label_2, 0, 0, 1, 1); |
143 | |
144 | btnBrowse = new QToolButton(widget_3); |
145 | btnBrowse->setObjectName(QString::fromUtf8("btnBrowse" )); |
146 | QIcon icon; |
147 | icon.addFile(QString::fromUtf8(":/icons/images/newlook24/053-open.png" ), QSize(), QIcon::Normal, QIcon::On); |
148 | btnBrowse->setIcon(icon); |
149 | |
150 | gridLayout_2->addWidget(btnBrowse, 1, 3, 1, 1); |
151 | |
152 | label_3 = new QLabel(widget_3); |
153 | label_3->setObjectName(QString::fromUtf8("label_3" )); |
154 | |
155 | gridLayout_2->addWidget(label_3, 1, 0, 1, 1); |
156 | |
157 | chkAsDefaultLocation = new QCheckBox(widget_3); |
158 | chkAsDefaultLocation->setObjectName(QString::fromUtf8("chkAsDefaultLocation" )); |
159 | |
160 | gridLayout_2->addWidget(chkAsDefaultLocation, 2, 0, 1, 4); |
161 | |
162 | |
163 | verticalLayout->addWidget(widget_3); |
164 | |
165 | buttonBox = new QDialogButtonBox(NewProjectDialog); |
166 | buttonBox->setObjectName(QString::fromUtf8("buttonBox" )); |
167 | buttonBox->setOrientation(Qt::Horizontal); |
168 | buttonBox->setStandardButtons(QDialogButtonBox::Cancel|QDialogButtonBox::Ok); |
169 | |
170 | verticalLayout->addWidget(buttonBox); |
171 | |
172 | |
173 | retranslateUi(NewProjectDialog); |
174 | QObject::connect(buttonBox, SIGNAL(accepted()), NewProjectDialog, SLOT(accept())); |
175 | QObject::connect(buttonBox, SIGNAL(rejected()), NewProjectDialog, SLOT(reject())); |
176 | |
177 | QMetaObject::connectSlotsByName(NewProjectDialog); |
178 | } // setupUi |
179 | |
180 | void retranslateUi(QDialog *NewProjectDialog) |
181 | { |
182 | NewProjectDialog->setWindowTitle(QCoreApplication::translate("NewProjectDialog" , "New Project" , nullptr)); |
183 | lblDescription->setText(QString()); |
184 | chkMakeDefaultLanguage->setText(QCoreApplication::translate("NewProjectDialog" , "Make default language" , nullptr)); |
185 | rdCProject->setText(QCoreApplication::translate("NewProjectDialog" , "C Project" , nullptr)); |
186 | rdCppProject->setText(QCoreApplication::translate("NewProjectDialog" , "C++ Project" , nullptr)); |
187 | label_2->setText(QCoreApplication::translate("NewProjectDialog" , "Name:" , nullptr)); |
188 | btnBrowse->setText(QCoreApplication::translate("NewProjectDialog" , "..." , nullptr)); |
189 | label_3->setText(QCoreApplication::translate("NewProjectDialog" , "Create in" , nullptr)); |
190 | chkAsDefaultLocation->setText(QCoreApplication::translate("NewProjectDialog" , "Use as the default project location" , nullptr)); |
191 | } // retranslateUi |
192 | |
193 | }; |
194 | |
195 | namespace Ui { |
196 | class NewProjectDialog: public Ui_NewProjectDialog {}; |
197 | } // namespace Ui |
198 | |
199 | QT_END_NAMESPACE |
200 | |
201 | #endif // UI_NEWPROJECTDIALOG_H |
202 | |