1 #include <klocalizedstring.h> 11 #ifndef UI_CODEGENOPTIONSPAGE_H 12 #define UI_CODEGENOPTIONSPAGE_H 14 #include <QtCore/QVariant> 15 #include <QtWidgets/QApplication> 16 #include <QtWidgets/QCheckBox> 17 #include <QtWidgets/QGridLayout> 18 #include <QtWidgets/QGroupBox> 19 #include <QtWidgets/QHBoxLayout> 20 #include <QtWidgets/QLabel> 21 #include <QtWidgets/QPushButton> 22 #include <QtWidgets/QRadioButton> 23 #include <QtWidgets/QSpinBox> 24 #include <QtWidgets/QTabWidget> 25 #include <QtWidgets/QVBoxLayout> 26 #include <QtWidgets/QWidget> 27 #include "kcombobox.h" 28 #include "klineedit.h" 84 QSizePolicy sizePolicy(QSizePolicy::MinimumExpanding, QSizePolicy::MinimumExpanding);
85 sizePolicy.setHorizontalStretch(0);
86 sizePolicy.setVerticalStretch(0);
90 vboxLayout->setObjectName(QString::fromUtf8(
"vboxLayout"));
94 QSizePolicy sizePolicy1(QSizePolicy::Preferred, QSizePolicy::Preferred);
95 sizePolicy1.setHorizontalStretch(0);
96 sizePolicy1.setVerticalStretch(0);
97 sizePolicy1.setHeightForWidth(
ui_tabWidgetMain->sizePolicy().hasHeightForWidth());
100 ui_tabGeneral->setObjectName(QString::fromUtf8(
"ui_tabGeneral"));
102 vboxLayout1->setObjectName(QString::fromUtf8(
"vboxLayout1"));
104 vboxLayout2->setObjectName(QString::fromUtf8(
"vboxLayout2"));
110 vboxLayout3->setObjectName(QString::fromUtf8(
"vboxLayout3"));
124 vboxLayout4->setObjectName(QString::fromUtf8(
"vboxLayout4"));
132 hboxLayout->setObjectName(QString::fromUtf8(
"hboxLayout"));
134 ui_outputDir->setObjectName(QString::fromUtf8(
"ui_outputDir"));
153 hboxLayout1->setObjectName(QString::fromUtf8(
"hboxLayout1"));
155 ui_headingsDir->setObjectName(QString::fromUtf8(
"ui_headingsDir"));
173 vboxLayout5->setObjectName(QString::fromUtf8(
"vboxLayout5"));
182 vboxLayout6->setObjectName(QString::fromUtf8(
"vboxLayout6"));
213 gridLayout->setObjectName(QString::fromUtf8(
"gridLayout"));
215 gridLayout1->setObjectName(QString::fromUtf8(
"gridLayout1"));
219 vboxLayout7->setObjectName(QString::fromUtf8(
"vboxLayout7"));
221 ui_forceDoc->setObjectName(QString::fromUtf8(
"ui_forceDoc"));
236 vboxLayout8->setObjectName(QString::fromUtf8(
"vboxLayout8"));
238 hboxLayout2->setObjectName(QString::fromUtf8(
"hboxLayout2"));
257 hboxLayout3->setObjectName(QString::fromUtf8(
"hboxLayout3"));
260 QSizePolicy sizePolicy2(QSizePolicy::Minimum, QSizePolicy::Fixed);
261 sizePolicy2.setHorizontalStretch(0);
262 sizePolicy2.setVerticalStretch(0);
278 hboxLayout4->setObjectName(QString::fromUtf8(
"hboxLayout4"));
320 ui_textLabelFolder->setText(tr2i18n(
"Write all generated files to folder:",
nullptr));
321 #if QT_CONFIG(whatsthis) 322 ui_outputDir->setWhatsThis(tr2i18n(
"Files generated by Code Generator will be written to this folder",
nullptr));
323 #endif // QT_CONFIG(whatsthis) 326 #if QT_CONFIG(whatsthis) 327 ui_headingsDir->setWhatsThis(tr2i18n(
"Files in this folder will be used as heading files in the generated code",
nullptr));
328 #endif // QT_CONFIG(whatsthis) 332 "generator wants to use as output file already exists:",
nullptr));
333 #if QT_CONFIG(whatsthis) 334 ui_radioButtonOverwrite->setWhatsThis(tr2i18n(
"Overwrite existing files if they exist in the destination folder",
nullptr));
335 #endif // QT_CONFIG(whatsthis) 337 #if QT_CONFIG(whatsthis) 338 ui_radioButtonAsk->setWhatsThis(tr2i18n(
"If a file with the same name already exists, ask what to do",
nullptr));
339 #endif // QT_CONFIG(whatsthis) 341 #if QT_CONFIG(whatsthis) 342 ui_radioButtonChangeName->setWhatsThis(tr2i18n(
"If a file already exists in the destination folder, select a different name to use by adding a suffix to the file name",
nullptr));
343 #endif // QT_CONFIG(whatsthis) 347 #if QT_CONFIG(whatsthis) 348 ui_forceDoc->setWhatsThis(tr2i18n(
"Write comments &for class and method documentation even if empty",
nullptr));
349 #endif // QT_CONFIG(whatsthis) 350 ui_forceDoc->setText(tr2i18n(
"&Write documentation comments even if empty",
nullptr));
351 #if QT_CONFIG(whatsthis) 352 ui_forceSections->setWhatsThis(tr2i18n(
"Writes comments to indicate the different sections (public, private etc) in a class, even if the sections are empty",
nullptr));
353 #endif // QT_CONFIG(whatsthis) 354 ui_forceSections->setText(tr2i18n(
"Write comments &for sections even if section \n" 355 "is empty",
nullptr));
379 #endif // CODEGENOPTIONSPAGE_H QHBoxLayout * hboxLayout2
Definition: ui_codegenoptionspage.h:69
KLineEdit * ui_headingsDir
Definition: ui_codegenoptionspage.h:51
QGroupBox * ui_groupBoxFolders
Definition: ui_codegenoptionspage.h:43
QRadioButton * ui_radioButtonChangeName
Definition: ui_codegenoptionspage.h:59
QHBoxLayout * hboxLayout
Definition: ui_codegenoptionspage.h:46
QVBoxLayout * vboxLayout6
Definition: ui_codegenoptionspage.h:56
QCheckBox * ui_forceSections
Definition: ui_codegenoptionspage.h:66
QHBoxLayout * hboxLayout1
Definition: ui_codegenoptionspage.h:50
Definition: ui_autolayoutoptionpage.h:125
KLineEdit * ui_outputDir
Definition: ui_codegenoptionspage.h:47
KComboBox * ui_SelectLanguageBox
Definition: ui_codegenoptionspage.h:42
QGroupBox * ui_groupBoxComment
Definition: ui_codegenoptionspage.h:63
QCheckBox * ui_forceDoc
Definition: ui_codegenoptionspage.h:65
QVBoxLayout * vboxLayout5
Definition: ui_codegenoptionspage.h:54
QLabel * ui_textLabelOverwritePolicy
Definition: ui_codegenoptionspage.h:55
QLabel * ui_textLabelStyle
Definition: ui_codegenoptionspage.h:76
QLabel * ui_textLabelFolder
Definition: ui_codegenoptionspage.h:45
QVBoxLayout * vboxLayout
Definition: ui_codegenoptionspage.h:35
QRadioButton * ui_radioButtonOverwrite
Definition: ui_codegenoptionspage.h:57
QWidget * ui_tabFormatting
Definition: ui_codegenoptionspage.h:60
QHBoxLayout * hboxLayout4
Definition: ui_codegenoptionspage.h:75
QRadioButton * ui_radioButtonAsk
Definition: ui_codegenoptionspage.h:58
QVBoxLayout * vboxLayout7
Definition: ui_codegenoptionspage.h:64
KComboBox * ui_SelectIndentationTypeBox
Definition: ui_codegenoptionspage.h:71
QPushButton * ui_browseHeadings
Definition: ui_codegenoptionspage.h:52
QVBoxLayout * vboxLayout4
Definition: ui_codegenoptionspage.h:44
void retranslateUi(QWidget *CodeGenOptionsPage)
Definition: ui_codegenoptionspage.h:315
QVBoxLayout * vboxLayout8
Definition: ui_codegenoptionspage.h:68
Definition: ui_codegenoptionspage.h:32
QLabel * ui_textLabelAmount
Definition: ui_codegenoptionspage.h:73
QGridLayout * gridLayout1
Definition: ui_codegenoptionspage.h:62
QLabel * ui_textLabelType
Definition: ui_codegenoptionspage.h:70
QVBoxLayout * vboxLayout1
Definition: ui_codegenoptionspage.h:38
QGridLayout * gridLayout
Definition: ui_codegenoptionspage.h:61
void setupUi(QWidget *CodeGenOptionsPage)
Definition: ui_codegenoptionspage.h:79
Definition: codegenoptionspage.h:35
QSpinBox * ui_SelectIndentationNumber
Definition: ui_codegenoptionspage.h:74
QVBoxLayout * vboxLayout2
Definition: ui_codegenoptionspage.h:39
QPushButton * ui_browseOutput
Definition: ui_codegenoptionspage.h:48
QHBoxLayout * hboxLayout3
Definition: ui_codegenoptionspage.h:72
QCheckBox * ui_includeHeadings
Definition: ui_codegenoptionspage.h:49
QGroupBox * ui_groupBoxOverwritePolicy
Definition: ui_codegenoptionspage.h:53
QVBoxLayout * vboxLayout3
Definition: ui_codegenoptionspage.h:41
QTabWidget * ui_tabWidgetMain
Definition: ui_codegenoptionspage.h:36
QWidget * ui_tabGeneral
Definition: ui_codegenoptionspage.h:37
QGroupBox * ui_groupBoxLanguage
Definition: ui_codegenoptionspage.h:40
QGroupBox * ui_groupBoxLines
Definition: ui_codegenoptionspage.h:67
Definition: ui_codegenoptionspage.h:374
KComboBox * ui_SelectEndLineCharsBox
Definition: ui_codegenoptionspage.h:77