| 1 | /******************************************************************************** |
| 2 | ** Form generated from reading UI file 'editorfontwidget.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_EDITORFONTWIDGET_H |
| 10 | #define UI_EDITORFONTWIDGET_H |
| 11 | |
| 12 | #include <QtCore/QVariant> |
| 13 | #include <QtWidgets/QApplication> |
| 14 | #include <QtWidgets/QCheckBox> |
| 15 | #include <QtWidgets/QFontComboBox> |
| 16 | #include <QtWidgets/QGridLayout> |
| 17 | #include <QtWidgets/QGroupBox> |
| 18 | #include <QtWidgets/QHBoxLayout> |
| 19 | #include <QtWidgets/QLabel> |
| 20 | #include <QtWidgets/QSpacerItem> |
| 21 | #include <QtWidgets/QSpinBox> |
| 22 | #include <QtWidgets/QVBoxLayout> |
| 23 | #include <QtWidgets/QWidget> |
| 24 | |
| 25 | QT_BEGIN_NAMESPACE |
| 26 | |
| 27 | class Ui_EditorFontWidget |
| 28 | { |
| 29 | public: |
| 30 | QVBoxLayout *verticalLayout; |
| 31 | QWidget *widget; |
| 32 | QGridLayout *gridLayout; |
| 33 | QLabel *label; |
| 34 | QWidget *widget_3; |
| 35 | QHBoxLayout *horizontalLayout_3; |
| 36 | QSpinBox *spinFontSize; |
| 37 | QSpacerItem *horizontalSpacer_2; |
| 38 | QWidget *widget_2; |
| 39 | QHBoxLayout *horizontalLayout; |
| 40 | QFontComboBox *cbFont; |
| 41 | QCheckBox *chkOnlyMonospacedFonts; |
| 42 | QSpacerItem *horizontalSpacer; |
| 43 | QCheckBox *chkLigature; |
| 44 | QLabel *label_2; |
| 45 | QLabel *label_8; |
| 46 | QWidget *widget_9; |
| 47 | QHBoxLayout *horizontalLayout_7; |
| 48 | QFontComboBox *cbNonAsciiFont; |
| 49 | QSpacerItem *horizontalSpacer_7; |
| 50 | QGroupBox *groupBox; |
| 51 | QVBoxLayout *verticalLayout_2; |
| 52 | QCheckBox *chkGutterVisible; |
| 53 | QWidget *widget_8; |
| 54 | QHBoxLayout *horizontalLayout_6; |
| 55 | QLabel *label_6; |
| 56 | QSpinBox *spinGutterLeftOffset; |
| 57 | QLabel *label_7; |
| 58 | QSpinBox *spinGutterRightOffset; |
| 59 | QSpacerItem *horizontalSpacer_6; |
| 60 | QGroupBox *grpGutterShowLineNumbers; |
| 61 | QVBoxLayout *verticalLayout_3; |
| 62 | QCheckBox *chkAddLeadingZeros; |
| 63 | QCheckBox *; |
| 64 | QCheckBox *chkAutoSizeGutter; |
| 65 | QWidget *widget_4; |
| 66 | QHBoxLayout *horizontalLayout_5; |
| 67 | QLabel *label_3; |
| 68 | QSpinBox *spinGutterDigitsCount; |
| 69 | QSpacerItem *horizontalSpacer_5; |
| 70 | QGroupBox *grpUseCustomFont; |
| 71 | QGridLayout *gridLayout_4; |
| 72 | QLabel *label_5; |
| 73 | QLabel *label_4; |
| 74 | QWidget *widget_6; |
| 75 | QHBoxLayout *horizontalLayout_4; |
| 76 | QSpinBox *spinGutterFontSize; |
| 77 | QSpacerItem *horizontalSpacer_3; |
| 78 | QWidget *widget_5; |
| 79 | QGridLayout *gridLayout_3; |
| 80 | QWidget *widget_7; |
| 81 | QHBoxLayout *horizontalLayout_2; |
| 82 | QFontComboBox *cbGutterFont; |
| 83 | QCheckBox *chkGutterOnlyMonospacedFonts; |
| 84 | QSpacerItem *horizontalSpacer_4; |
| 85 | QSpacerItem *verticalSpacer; |
| 86 | |
| 87 | void setupUi(QWidget *EditorFontWidget) |
| 88 | { |
| 89 | if (EditorFontWidget->objectName().isEmpty()) |
| 90 | EditorFontWidget->setObjectName(QString::fromUtf8("EditorFontWidget" )); |
| 91 | EditorFontWidget->resize(737, 569); |
| 92 | verticalLayout = new QVBoxLayout(EditorFontWidget); |
| 93 | verticalLayout->setObjectName(QString::fromUtf8("verticalLayout" )); |
| 94 | widget = new QWidget(EditorFontWidget); |
| 95 | widget->setObjectName(QString::fromUtf8("widget" )); |
| 96 | gridLayout = new QGridLayout(widget); |
| 97 | gridLayout->setObjectName(QString::fromUtf8("gridLayout" )); |
| 98 | gridLayout->setContentsMargins(11, -1, 11, -1); |
| 99 | label = new QLabel(widget); |
| 100 | label->setObjectName(QString::fromUtf8("label" )); |
| 101 | |
| 102 | gridLayout->addWidget(label, 0, 0, 1, 1); |
| 103 | |
| 104 | widget_3 = new QWidget(widget); |
| 105 | widget_3->setObjectName(QString::fromUtf8("widget_3" )); |
| 106 | horizontalLayout_3 = new QHBoxLayout(widget_3); |
| 107 | horizontalLayout_3->setObjectName(QString::fromUtf8("horizontalLayout_3" )); |
| 108 | horizontalLayout_3->setContentsMargins(0, 0, 0, 0); |
| 109 | spinFontSize = new QSpinBox(widget_3); |
| 110 | spinFontSize->setObjectName(QString::fromUtf8("spinFontSize" )); |
| 111 | spinFontSize->setMinimum(2); |
| 112 | |
| 113 | horizontalLayout_3->addWidget(spinFontSize); |
| 114 | |
| 115 | horizontalSpacer_2 = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum); |
| 116 | |
| 117 | horizontalLayout_3->addItem(horizontalSpacer_2); |
| 118 | |
| 119 | |
| 120 | gridLayout->addWidget(widget_3, 2, 1, 1, 1); |
| 121 | |
| 122 | widget_2 = new QWidget(widget); |
| 123 | widget_2->setObjectName(QString::fromUtf8("widget_2" )); |
| 124 | horizontalLayout = new QHBoxLayout(widget_2); |
| 125 | horizontalLayout->setObjectName(QString::fromUtf8("horizontalLayout" )); |
| 126 | horizontalLayout->setContentsMargins(0, 0, 0, 0); |
| 127 | cbFont = new QFontComboBox(widget_2); |
| 128 | cbFont->setObjectName(QString::fromUtf8("cbFont" )); |
| 129 | cbFont->setEditable(false); |
| 130 | cbFont->setSizeAdjustPolicy(QComboBox::AdjustToContentsOnFirstShow); |
| 131 | cbFont->setFontFilters(QFontComboBox::AllFonts); |
| 132 | |
| 133 | horizontalLayout->addWidget(cbFont); |
| 134 | |
| 135 | chkOnlyMonospacedFonts = new QCheckBox(widget_2); |
| 136 | chkOnlyMonospacedFonts->setObjectName(QString::fromUtf8("chkOnlyMonospacedFonts" )); |
| 137 | |
| 138 | horizontalLayout->addWidget(chkOnlyMonospacedFonts); |
| 139 | |
| 140 | horizontalSpacer = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum); |
| 141 | |
| 142 | horizontalLayout->addItem(horizontalSpacer); |
| 143 | |
| 144 | |
| 145 | gridLayout->addWidget(widget_2, 0, 1, 1, 1); |
| 146 | |
| 147 | chkLigature = new QCheckBox(widget); |
| 148 | chkLigature->setObjectName(QString::fromUtf8("chkLigature" )); |
| 149 | |
| 150 | gridLayout->addWidget(chkLigature, 3, 0, 1, 2); |
| 151 | |
| 152 | label_2 = new QLabel(widget); |
| 153 | label_2->setObjectName(QString::fromUtf8("label_2" )); |
| 154 | |
| 155 | gridLayout->addWidget(label_2, 2, 0, 1, 1); |
| 156 | |
| 157 | label_8 = new QLabel(widget); |
| 158 | label_8->setObjectName(QString::fromUtf8("label_8" )); |
| 159 | |
| 160 | gridLayout->addWidget(label_8, 1, 0, 1, 1); |
| 161 | |
| 162 | widget_9 = new QWidget(widget); |
| 163 | widget_9->setObjectName(QString::fromUtf8("widget_9" )); |
| 164 | horizontalLayout_7 = new QHBoxLayout(widget_9); |
| 165 | horizontalLayout_7->setObjectName(QString::fromUtf8("horizontalLayout_7" )); |
| 166 | horizontalLayout_7->setContentsMargins(0, 0, 0, 0); |
| 167 | cbNonAsciiFont = new QFontComboBox(widget_9); |
| 168 | cbNonAsciiFont->setObjectName(QString::fromUtf8("cbNonAsciiFont" )); |
| 169 | |
| 170 | horizontalLayout_7->addWidget(cbNonAsciiFont); |
| 171 | |
| 172 | horizontalSpacer_7 = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum); |
| 173 | |
| 174 | horizontalLayout_7->addItem(horizontalSpacer_7); |
| 175 | |
| 176 | |
| 177 | gridLayout->addWidget(widget_9, 1, 1, 1, 1); |
| 178 | |
| 179 | |
| 180 | verticalLayout->addWidget(widget); |
| 181 | |
| 182 | groupBox = new QGroupBox(EditorFontWidget); |
| 183 | groupBox->setObjectName(QString::fromUtf8("groupBox" )); |
| 184 | verticalLayout_2 = new QVBoxLayout(groupBox); |
| 185 | verticalLayout_2->setObjectName(QString::fromUtf8("verticalLayout_2" )); |
| 186 | chkGutterVisible = new QCheckBox(groupBox); |
| 187 | chkGutterVisible->setObjectName(QString::fromUtf8("chkGutterVisible" )); |
| 188 | |
| 189 | verticalLayout_2->addWidget(chkGutterVisible); |
| 190 | |
| 191 | widget_8 = new QWidget(groupBox); |
| 192 | widget_8->setObjectName(QString::fromUtf8("widget_8" )); |
| 193 | horizontalLayout_6 = new QHBoxLayout(widget_8); |
| 194 | horizontalLayout_6->setObjectName(QString::fromUtf8("horizontalLayout_6" )); |
| 195 | horizontalLayout_6->setContentsMargins(0, 0, 0, 0); |
| 196 | label_6 = new QLabel(widget_8); |
| 197 | label_6->setObjectName(QString::fromUtf8("label_6" )); |
| 198 | |
| 199 | horizontalLayout_6->addWidget(label_6); |
| 200 | |
| 201 | spinGutterLeftOffset = new QSpinBox(widget_8); |
| 202 | spinGutterLeftOffset->setObjectName(QString::fromUtf8("spinGutterLeftOffset" )); |
| 203 | spinGutterLeftOffset->setMinimum(0); |
| 204 | spinGutterLeftOffset->setMaximum(999); |
| 205 | |
| 206 | horizontalLayout_6->addWidget(spinGutterLeftOffset); |
| 207 | |
| 208 | label_7 = new QLabel(widget_8); |
| 209 | label_7->setObjectName(QString::fromUtf8("label_7" )); |
| 210 | |
| 211 | horizontalLayout_6->addWidget(label_7); |
| 212 | |
| 213 | spinGutterRightOffset = new QSpinBox(widget_8); |
| 214 | spinGutterRightOffset->setObjectName(QString::fromUtf8("spinGutterRightOffset" )); |
| 215 | spinGutterRightOffset->setMinimum(0); |
| 216 | spinGutterRightOffset->setMaximum(999); |
| 217 | |
| 218 | horizontalLayout_6->addWidget(spinGutterRightOffset); |
| 219 | |
| 220 | horizontalSpacer_6 = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum); |
| 221 | |
| 222 | horizontalLayout_6->addItem(horizontalSpacer_6); |
| 223 | |
| 224 | |
| 225 | verticalLayout_2->addWidget(widget_8); |
| 226 | |
| 227 | grpGutterShowLineNumbers = new QGroupBox(groupBox); |
| 228 | grpGutterShowLineNumbers->setObjectName(QString::fromUtf8("grpGutterShowLineNumbers" )); |
| 229 | grpGutterShowLineNumbers->setCheckable(true); |
| 230 | verticalLayout_3 = new QVBoxLayout(grpGutterShowLineNumbers); |
| 231 | verticalLayout_3->setObjectName(QString::fromUtf8("verticalLayout_3" )); |
| 232 | chkAddLeadingZeros = new QCheckBox(grpGutterShowLineNumbers); |
| 233 | chkAddLeadingZeros->setObjectName(QString::fromUtf8("chkAddLeadingZeros" )); |
| 234 | |
| 235 | verticalLayout_3->addWidget(chkAddLeadingZeros); |
| 236 | |
| 237 | chkLineNumbersStartsZero = new QCheckBox(grpGutterShowLineNumbers); |
| 238 | chkLineNumbersStartsZero->setObjectName(QString::fromUtf8("chkLineNumbersStartsZero" )); |
| 239 | |
| 240 | verticalLayout_3->addWidget(chkLineNumbersStartsZero); |
| 241 | |
| 242 | chkAutoSizeGutter = new QCheckBox(grpGutterShowLineNumbers); |
| 243 | chkAutoSizeGutter->setObjectName(QString::fromUtf8("chkAutoSizeGutter" )); |
| 244 | |
| 245 | verticalLayout_3->addWidget(chkAutoSizeGutter); |
| 246 | |
| 247 | widget_4 = new QWidget(grpGutterShowLineNumbers); |
| 248 | widget_4->setObjectName(QString::fromUtf8("widget_4" )); |
| 249 | horizontalLayout_5 = new QHBoxLayout(widget_4); |
| 250 | horizontalLayout_5->setObjectName(QString::fromUtf8("horizontalLayout_5" )); |
| 251 | horizontalLayout_5->setContentsMargins(0, 0, 0, 0); |
| 252 | label_3 = new QLabel(widget_4); |
| 253 | label_3->setObjectName(QString::fromUtf8("label_3" )); |
| 254 | |
| 255 | horizontalLayout_5->addWidget(label_3); |
| 256 | |
| 257 | spinGutterDigitsCount = new QSpinBox(widget_4); |
| 258 | spinGutterDigitsCount->setObjectName(QString::fromUtf8("spinGutterDigitsCount" )); |
| 259 | spinGutterDigitsCount->setMinimum(1); |
| 260 | spinGutterDigitsCount->setMaximum(999); |
| 261 | |
| 262 | horizontalLayout_5->addWidget(spinGutterDigitsCount); |
| 263 | |
| 264 | horizontalSpacer_5 = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum); |
| 265 | |
| 266 | horizontalLayout_5->addItem(horizontalSpacer_5); |
| 267 | |
| 268 | |
| 269 | verticalLayout_3->addWidget(widget_4); |
| 270 | |
| 271 | |
| 272 | verticalLayout_2->addWidget(grpGutterShowLineNumbers); |
| 273 | |
| 274 | grpUseCustomFont = new QGroupBox(groupBox); |
| 275 | grpUseCustomFont->setObjectName(QString::fromUtf8("grpUseCustomFont" )); |
| 276 | grpUseCustomFont->setCheckable(true); |
| 277 | gridLayout_4 = new QGridLayout(grpUseCustomFont); |
| 278 | gridLayout_4->setObjectName(QString::fromUtf8("gridLayout_4" )); |
| 279 | label_5 = new QLabel(grpUseCustomFont); |
| 280 | label_5->setObjectName(QString::fromUtf8("label_5" )); |
| 281 | |
| 282 | gridLayout_4->addWidget(label_5, 0, 0, 1, 1); |
| 283 | |
| 284 | label_4 = new QLabel(grpUseCustomFont); |
| 285 | label_4->setObjectName(QString::fromUtf8("label_4" )); |
| 286 | |
| 287 | gridLayout_4->addWidget(label_4, 1, 0, 1, 1); |
| 288 | |
| 289 | widget_6 = new QWidget(grpUseCustomFont); |
| 290 | widget_6->setObjectName(QString::fromUtf8("widget_6" )); |
| 291 | horizontalLayout_4 = new QHBoxLayout(widget_6); |
| 292 | horizontalLayout_4->setObjectName(QString::fromUtf8("horizontalLayout_4" )); |
| 293 | horizontalLayout_4->setContentsMargins(0, 0, 0, 0); |
| 294 | spinGutterFontSize = new QSpinBox(widget_6); |
| 295 | spinGutterFontSize->setObjectName(QString::fromUtf8("spinGutterFontSize" )); |
| 296 | spinGutterFontSize->setMinimum(2); |
| 297 | |
| 298 | horizontalLayout_4->addWidget(spinGutterFontSize); |
| 299 | |
| 300 | horizontalSpacer_3 = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum); |
| 301 | |
| 302 | horizontalLayout_4->addItem(horizontalSpacer_3); |
| 303 | |
| 304 | |
| 305 | gridLayout_4->addWidget(widget_6, 1, 1, 1, 1); |
| 306 | |
| 307 | widget_5 = new QWidget(grpUseCustomFont); |
| 308 | widget_5->setObjectName(QString::fromUtf8("widget_5" )); |
| 309 | gridLayout_3 = new QGridLayout(widget_5); |
| 310 | gridLayout_3->setObjectName(QString::fromUtf8("gridLayout_3" )); |
| 311 | gridLayout_3->setContentsMargins(0, 0, 0, 0); |
| 312 | widget_7 = new QWidget(widget_5); |
| 313 | widget_7->setObjectName(QString::fromUtf8("widget_7" )); |
| 314 | horizontalLayout_2 = new QHBoxLayout(widget_7); |
| 315 | horizontalLayout_2->setObjectName(QString::fromUtf8("horizontalLayout_2" )); |
| 316 | horizontalLayout_2->setContentsMargins(0, 0, 0, 0); |
| 317 | cbGutterFont = new QFontComboBox(widget_7); |
| 318 | cbGutterFont->setObjectName(QString::fromUtf8("cbGutterFont" )); |
| 319 | cbGutterFont->setEditable(false); |
| 320 | cbGutterFont->setSizeAdjustPolicy(QComboBox::AdjustToContentsOnFirstShow); |
| 321 | cbGutterFont->setFontFilters(QFontComboBox::AllFonts); |
| 322 | |
| 323 | horizontalLayout_2->addWidget(cbGutterFont); |
| 324 | |
| 325 | chkGutterOnlyMonospacedFonts = new QCheckBox(widget_7); |
| 326 | chkGutterOnlyMonospacedFonts->setObjectName(QString::fromUtf8("chkGutterOnlyMonospacedFonts" )); |
| 327 | |
| 328 | horizontalLayout_2->addWidget(chkGutterOnlyMonospacedFonts); |
| 329 | |
| 330 | horizontalSpacer_4 = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum); |
| 331 | |
| 332 | horizontalLayout_2->addItem(horizontalSpacer_4); |
| 333 | |
| 334 | |
| 335 | gridLayout_3->addWidget(widget_7, 0, 3, 1, 1); |
| 336 | |
| 337 | |
| 338 | gridLayout_4->addWidget(widget_5, 0, 1, 1, 1); |
| 339 | |
| 340 | |
| 341 | verticalLayout_2->addWidget(grpUseCustomFont); |
| 342 | |
| 343 | |
| 344 | verticalLayout->addWidget(groupBox); |
| 345 | |
| 346 | verticalSpacer = new QSpacerItem(20, 40, QSizePolicy::Minimum, QSizePolicy::Expanding); |
| 347 | |
| 348 | verticalLayout->addItem(verticalSpacer); |
| 349 | |
| 350 | |
| 351 | retranslateUi(EditorFontWidget); |
| 352 | |
| 353 | QMetaObject::connectSlotsByName(EditorFontWidget); |
| 354 | } // setupUi |
| 355 | |
| 356 | void retranslateUi(QWidget *EditorFontWidget) |
| 357 | { |
| 358 | EditorFontWidget->setWindowTitle(QCoreApplication::translate("EditorFontWidget" , "Form" , nullptr)); |
| 359 | label->setText(QCoreApplication::translate("EditorFontWidget" , "Font:" , nullptr)); |
| 360 | chkOnlyMonospacedFonts->setText(QCoreApplication::translate("EditorFontWidget" , "Show only monospaced fonts" , nullptr)); |
| 361 | chkLigature->setText(QCoreApplication::translate("EditorFontWidget" , "Enable Ligatures Support" , nullptr)); |
| 362 | label_2->setText(QCoreApplication::translate("EditorFontWidget" , "Size:" , nullptr)); |
| 363 | label_8->setText(QCoreApplication::translate("EditorFontWidget" , "Font for non-ascii Text:" , nullptr)); |
| 364 | groupBox->setTitle(QCoreApplication::translate("EditorFontWidget" , "Gutter" , nullptr)); |
| 365 | chkGutterVisible->setText(QCoreApplication::translate("EditorFontWidget" , "Gutter is visible" , nullptr)); |
| 366 | label_6->setText(QCoreApplication::translate("EditorFontWidget" , "Left Offset" , nullptr)); |
| 367 | label_7->setText(QCoreApplication::translate("EditorFontWidget" , "Right Offset" , nullptr)); |
| 368 | grpGutterShowLineNumbers->setTitle(QCoreApplication::translate("EditorFontWidget" , "Show Line Numbers" , nullptr)); |
| 369 | chkAddLeadingZeros->setText(QCoreApplication::translate("EditorFontWidget" , "Add leading zeros to line numbers" , nullptr)); |
| 370 | chkLineNumbersStartsZero->setText(QCoreApplication::translate("EditorFontWidget" , "Line numbers starts at zero" , nullptr)); |
| 371 | chkAutoSizeGutter->setText(QCoreApplication::translate("EditorFontWidget" , "Auto calculate the digit count of line number" , nullptr)); |
| 372 | label_3->setText(QCoreApplication::translate("EditorFontWidget" , "Digit count" , nullptr)); |
| 373 | grpUseCustomFont->setTitle(QCoreApplication::translate("EditorFontWidget" , "Use Custom Font" , nullptr)); |
| 374 | label_5->setText(QCoreApplication::translate("EditorFontWidget" , "Font:" , nullptr)); |
| 375 | label_4->setText(QCoreApplication::translate("EditorFontWidget" , "Size:" , nullptr)); |
| 376 | chkGutterOnlyMonospacedFonts->setText(QCoreApplication::translate("EditorFontWidget" , "Show only monospaced fonts" , nullptr)); |
| 377 | } // retranslateUi |
| 378 | |
| 379 | }; |
| 380 | |
| 381 | namespace Ui { |
| 382 | class EditorFontWidget: public Ui_EditorFontWidget {}; |
| 383 | } // namespace Ui |
| 384 | |
| 385 | QT_END_NAMESPACE |
| 386 | |
| 387 | #endif // UI_EDITORFONTWIDGET_H |
| 388 | |