| 1 | /******************************************************************************** |
| 2 | ** Form generated from reading UI file 'searchdialog.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_SEARCHDIALOG_H |
| 10 | #define UI_SEARCHDIALOG_H |
| 11 | |
| 12 | #include <QtCore/QVariant> |
| 13 | #include <QtWidgets/QApplication> |
| 14 | #include <QtWidgets/QCheckBox> |
| 15 | #include <QtWidgets/QComboBox> |
| 16 | #include <QtWidgets/QDialog> |
| 17 | #include <QtWidgets/QFrame> |
| 18 | #include <QtWidgets/QGridLayout> |
| 19 | #include <QtWidgets/QGroupBox> |
| 20 | #include <QtWidgets/QHBoxLayout> |
| 21 | #include <QtWidgets/QLabel> |
| 22 | #include <QtWidgets/QPushButton> |
| 23 | #include <QtWidgets/QRadioButton> |
| 24 | #include <QtWidgets/QSpacerItem> |
| 25 | #include <QtWidgets/QVBoxLayout> |
| 26 | #include <QtWidgets/QWidget> |
| 27 | |
| 28 | QT_BEGIN_NAMESPACE |
| 29 | |
| 30 | class Ui_SearchDialog |
| 31 | { |
| 32 | public: |
| 33 | QVBoxLayout *dialogLayout; |
| 34 | QFrame *frame; |
| 35 | QVBoxLayout *verticalLayout_2; |
| 36 | QWidget *widget_2; |
| 37 | QGridLayout *gridLayout; |
| 38 | QLabel *lblFind; |
| 39 | QComboBox *cbFind; |
| 40 | QComboBox *cbReplace; |
| 41 | QLabel *lblReplace; |
| 42 | QWidget *widget_3; |
| 43 | QGridLayout *gridLayout_2; |
| 44 | QGroupBox *grpOptions; |
| 45 | QVBoxLayout *verticalLayout_3; |
| 46 | QCheckBox *chkCaseSensetive; |
| 47 | QCheckBox *chkWholeWord; |
| 48 | QWidget *widget_31; |
| 49 | QHBoxLayout *horizontalLayout_3; |
| 50 | QCheckBox *chkRegExp; |
| 51 | QLabel *txtRegExpHelp; |
| 52 | QCheckBox *chkWrapAround; |
| 53 | QCheckBox *chkPrompt; |
| 54 | QGroupBox *grpScope; |
| 55 | QVBoxLayout *verticalLayout_5; |
| 56 | QRadioButton *rbGlobal; |
| 57 | QRadioButton *rbSelection; |
| 58 | QGroupBox *grpOrigin; |
| 59 | QVBoxLayout *verticalLayout_6; |
| 60 | QRadioButton *rbFromCursor; |
| 61 | QRadioButton *rbEntireScope; |
| 62 | QWidget *widget_4; |
| 63 | QHBoxLayout *horizontalLayout_2; |
| 64 | QGroupBox *grpDirection; |
| 65 | QVBoxLayout *verticalLayout_7; |
| 66 | QRadioButton *rbForward; |
| 67 | QRadioButton *rbBackward; |
| 68 | QSpacerItem *verticalSpacer_3; |
| 69 | QGroupBox *grpWhere; |
| 70 | QVBoxLayout *verticalLayout_4; |
| 71 | QRadioButton *rbCurrentFile; |
| 72 | QRadioButton *rbProject; |
| 73 | QRadioButton *rbOpenFiles; |
| 74 | QSpacerItem *verticalSpacer_2; |
| 75 | QSpacerItem *verticalSpacer; |
| 76 | QWidget *widget; |
| 77 | QHBoxLayout *horizontalLayout; |
| 78 | QSpacerItem *horizontalSpacer; |
| 79 | QPushButton *btnExecute; |
| 80 | QPushButton *btnCancel; |
| 81 | |
| 82 | void setupUi(QDialog *SearchDialog) |
| 83 | { |
| 84 | if (SearchDialog->objectName().isEmpty()) |
| 85 | SearchDialog->setObjectName(QString::fromUtf8("SearchDialog" )); |
| 86 | SearchDialog->resize(684, 548); |
| 87 | dialogLayout = new QVBoxLayout(SearchDialog); |
| 88 | dialogLayout->setSpacing(0); |
| 89 | dialogLayout->setObjectName(QString::fromUtf8("dialogLayout" )); |
| 90 | dialogLayout->setContentsMargins(2, 2, 2, 2); |
| 91 | frame = new QFrame(SearchDialog); |
| 92 | frame->setObjectName(QString::fromUtf8("frame" )); |
| 93 | frame->setFrameShape(QFrame::StyledPanel); |
| 94 | frame->setFrameShadow(QFrame::Raised); |
| 95 | verticalLayout_2 = new QVBoxLayout(frame); |
| 96 | verticalLayout_2->setObjectName(QString::fromUtf8("verticalLayout_2" )); |
| 97 | widget_2 = new QWidget(frame); |
| 98 | widget_2->setObjectName(QString::fromUtf8("widget_2" )); |
| 99 | gridLayout = new QGridLayout(widget_2); |
| 100 | gridLayout->setObjectName(QString::fromUtf8("gridLayout" )); |
| 101 | gridLayout->setContentsMargins(0, 0, 0, 0); |
| 102 | lblFind = new QLabel(widget_2); |
| 103 | lblFind->setObjectName(QString::fromUtf8("lblFind" )); |
| 104 | |
| 105 | gridLayout->addWidget(lblFind, 0, 0, 1, 1); |
| 106 | |
| 107 | cbFind = new QComboBox(widget_2); |
| 108 | cbFind->setObjectName(QString::fromUtf8("cbFind" )); |
| 109 | QSizePolicy sizePolicy(QSizePolicy::Expanding, QSizePolicy::Fixed); |
| 110 | sizePolicy.setHorizontalStretch(0); |
| 111 | sizePolicy.setVerticalStretch(0); |
| 112 | sizePolicy.setHeightForWidth(cbFind->sizePolicy().hasHeightForWidth()); |
| 113 | cbFind->setSizePolicy(sizePolicy); |
| 114 | cbFind->setEditable(true); |
| 115 | cbFind->setInsertPolicy(QComboBox::InsertAtTop); |
| 116 | |
| 117 | gridLayout->addWidget(cbFind, 0, 1, 1, 1); |
| 118 | |
| 119 | cbReplace = new QComboBox(widget_2); |
| 120 | cbReplace->setObjectName(QString::fromUtf8("cbReplace" )); |
| 121 | sizePolicy.setHeightForWidth(cbReplace->sizePolicy().hasHeightForWidth()); |
| 122 | cbReplace->setSizePolicy(sizePolicy); |
| 123 | cbReplace->setEditable(true); |
| 124 | cbReplace->setInsertPolicy(QComboBox::InsertAtTop); |
| 125 | |
| 126 | gridLayout->addWidget(cbReplace, 1, 1, 1, 1); |
| 127 | |
| 128 | lblReplace = new QLabel(widget_2); |
| 129 | lblReplace->setObjectName(QString::fromUtf8("lblReplace" )); |
| 130 | |
| 131 | gridLayout->addWidget(lblReplace, 1, 0, 1, 1); |
| 132 | |
| 133 | |
| 134 | verticalLayout_2->addWidget(widget_2); |
| 135 | |
| 136 | widget_3 = new QWidget(frame); |
| 137 | widget_3->setObjectName(QString::fromUtf8("widget_3" )); |
| 138 | gridLayout_2 = new QGridLayout(widget_3); |
| 139 | gridLayout_2->setObjectName(QString::fromUtf8("gridLayout_2" )); |
| 140 | grpOptions = new QGroupBox(widget_3); |
| 141 | grpOptions->setObjectName(QString::fromUtf8("grpOptions" )); |
| 142 | verticalLayout_3 = new QVBoxLayout(grpOptions); |
| 143 | verticalLayout_3->setObjectName(QString::fromUtf8("verticalLayout_3" )); |
| 144 | chkCaseSensetive = new QCheckBox(grpOptions); |
| 145 | chkCaseSensetive->setObjectName(QString::fromUtf8("chkCaseSensetive" )); |
| 146 | |
| 147 | verticalLayout_3->addWidget(chkCaseSensetive); |
| 148 | |
| 149 | chkWholeWord = new QCheckBox(grpOptions); |
| 150 | chkWholeWord->setObjectName(QString::fromUtf8("chkWholeWord" )); |
| 151 | |
| 152 | verticalLayout_3->addWidget(chkWholeWord); |
| 153 | |
| 154 | widget_31 = new QWidget(grpOptions); |
| 155 | widget_31->setObjectName(QString::fromUtf8("widget_31" )); |
| 156 | horizontalLayout_3 = new QHBoxLayout(widget_31); |
| 157 | horizontalLayout_3->setObjectName(QString::fromUtf8("horizontalLayout_3" )); |
| 158 | horizontalLayout_3->setContentsMargins(0, 0, 0, 0); |
| 159 | chkRegExp = new QCheckBox(widget_31); |
| 160 | chkRegExp->setObjectName(QString::fromUtf8("chkRegExp" )); |
| 161 | sizePolicy.setHeightForWidth(chkRegExp->sizePolicy().hasHeightForWidth()); |
| 162 | chkRegExp->setSizePolicy(sizePolicy); |
| 163 | |
| 164 | horizontalLayout_3->addWidget(chkRegExp); |
| 165 | |
| 166 | txtRegExpHelp = new QLabel(widget_31); |
| 167 | txtRegExpHelp->setObjectName(QString::fromUtf8("txtRegExpHelp" )); |
| 168 | QSizePolicy sizePolicy1(QSizePolicy::Preferred, QSizePolicy::Preferred); |
| 169 | sizePolicy1.setHorizontalStretch(0); |
| 170 | sizePolicy1.setVerticalStretch(0); |
| 171 | sizePolicy1.setHeightForWidth(txtRegExpHelp->sizePolicy().hasHeightForWidth()); |
| 172 | txtRegExpHelp->setSizePolicy(sizePolicy1); |
| 173 | txtRegExpHelp->setText(QString::fromUtf8("<html><head/><body><p><a href=\"https://docs.microsoft.com/en-us/dotnet/standard/base-types/regular-expression-language-quick-reference\"><span style=\" text-decoration: underline; color:#0000ff;\">(?)</span></a></p></body></html>" )); |
| 174 | txtRegExpHelp->setOpenExternalLinks(true); |
| 175 | |
| 176 | horizontalLayout_3->addWidget(txtRegExpHelp); |
| 177 | |
| 178 | |
| 179 | verticalLayout_3->addWidget(widget_31); |
| 180 | |
| 181 | chkWrapAround = new QCheckBox(grpOptions); |
| 182 | chkWrapAround->setObjectName(QString::fromUtf8("chkWrapAround" )); |
| 183 | chkWrapAround->setChecked(true); |
| 184 | |
| 185 | verticalLayout_3->addWidget(chkWrapAround); |
| 186 | |
| 187 | chkPrompt = new QCheckBox(grpOptions); |
| 188 | chkPrompt->setObjectName(QString::fromUtf8("chkPrompt" )); |
| 189 | chkPrompt->setChecked(true); |
| 190 | |
| 191 | verticalLayout_3->addWidget(chkPrompt); |
| 192 | |
| 193 | |
| 194 | gridLayout_2->addWidget(grpOptions, 0, 0, 1, 1); |
| 195 | |
| 196 | grpScope = new QGroupBox(widget_3); |
| 197 | grpScope->setObjectName(QString::fromUtf8("grpScope" )); |
| 198 | verticalLayout_5 = new QVBoxLayout(grpScope); |
| 199 | verticalLayout_5->setObjectName(QString::fromUtf8("verticalLayout_5" )); |
| 200 | rbGlobal = new QRadioButton(grpScope); |
| 201 | rbGlobal->setObjectName(QString::fromUtf8("rbGlobal" )); |
| 202 | |
| 203 | verticalLayout_5->addWidget(rbGlobal); |
| 204 | |
| 205 | rbSelection = new QRadioButton(grpScope); |
| 206 | rbSelection->setObjectName(QString::fromUtf8("rbSelection" )); |
| 207 | |
| 208 | verticalLayout_5->addWidget(rbSelection); |
| 209 | |
| 210 | |
| 211 | gridLayout_2->addWidget(grpScope, 1, 0, 1, 1); |
| 212 | |
| 213 | grpOrigin = new QGroupBox(widget_3); |
| 214 | grpOrigin->setObjectName(QString::fromUtf8("grpOrigin" )); |
| 215 | verticalLayout_6 = new QVBoxLayout(grpOrigin); |
| 216 | verticalLayout_6->setObjectName(QString::fromUtf8("verticalLayout_6" )); |
| 217 | rbFromCursor = new QRadioButton(grpOrigin); |
| 218 | rbFromCursor->setObjectName(QString::fromUtf8("rbFromCursor" )); |
| 219 | rbFromCursor->setChecked(true); |
| 220 | |
| 221 | verticalLayout_6->addWidget(rbFromCursor); |
| 222 | |
| 223 | rbEntireScope = new QRadioButton(grpOrigin); |
| 224 | rbEntireScope->setObjectName(QString::fromUtf8("rbEntireScope" )); |
| 225 | |
| 226 | verticalLayout_6->addWidget(rbEntireScope); |
| 227 | |
| 228 | |
| 229 | gridLayout_2->addWidget(grpOrigin, 1, 1, 1, 1); |
| 230 | |
| 231 | widget_4 = new QWidget(widget_3); |
| 232 | widget_4->setObjectName(QString::fromUtf8("widget_4" )); |
| 233 | horizontalLayout_2 = new QHBoxLayout(widget_4); |
| 234 | horizontalLayout_2->setSpacing(7); |
| 235 | horizontalLayout_2->setObjectName(QString::fromUtf8("horizontalLayout_2" )); |
| 236 | horizontalLayout_2->setContentsMargins(0, 0, 0, 0); |
| 237 | grpDirection = new QGroupBox(widget_4); |
| 238 | grpDirection->setObjectName(QString::fromUtf8("grpDirection" )); |
| 239 | verticalLayout_7 = new QVBoxLayout(grpDirection); |
| 240 | verticalLayout_7->setObjectName(QString::fromUtf8("verticalLayout_7" )); |
| 241 | rbForward = new QRadioButton(grpDirection); |
| 242 | rbForward->setObjectName(QString::fromUtf8("rbForward" )); |
| 243 | rbForward->setChecked(true); |
| 244 | |
| 245 | verticalLayout_7->addWidget(rbForward); |
| 246 | |
| 247 | rbBackward = new QRadioButton(grpDirection); |
| 248 | rbBackward->setObjectName(QString::fromUtf8("rbBackward" )); |
| 249 | |
| 250 | verticalLayout_7->addWidget(rbBackward); |
| 251 | |
| 252 | verticalSpacer_3 = new QSpacerItem(20, 0, QSizePolicy::Minimum, QSizePolicy::Expanding); |
| 253 | |
| 254 | verticalLayout_7->addItem(verticalSpacer_3); |
| 255 | |
| 256 | |
| 257 | horizontalLayout_2->addWidget(grpDirection); |
| 258 | |
| 259 | grpWhere = new QGroupBox(widget_4); |
| 260 | grpWhere->setObjectName(QString::fromUtf8("grpWhere" )); |
| 261 | verticalLayout_4 = new QVBoxLayout(grpWhere); |
| 262 | verticalLayout_4->setObjectName(QString::fromUtf8("verticalLayout_4" )); |
| 263 | rbCurrentFile = new QRadioButton(grpWhere); |
| 264 | rbCurrentFile->setObjectName(QString::fromUtf8("rbCurrentFile" )); |
| 265 | rbCurrentFile->setChecked(true); |
| 266 | |
| 267 | verticalLayout_4->addWidget(rbCurrentFile); |
| 268 | |
| 269 | rbProject = new QRadioButton(grpWhere); |
| 270 | rbProject->setObjectName(QString::fromUtf8("rbProject" )); |
| 271 | |
| 272 | verticalLayout_4->addWidget(rbProject); |
| 273 | |
| 274 | rbOpenFiles = new QRadioButton(grpWhere); |
| 275 | rbOpenFiles->setObjectName(QString::fromUtf8("rbOpenFiles" )); |
| 276 | |
| 277 | verticalLayout_4->addWidget(rbOpenFiles); |
| 278 | |
| 279 | verticalSpacer_2 = new QSpacerItem(20, 0, QSizePolicy::Minimum, QSizePolicy::Expanding); |
| 280 | |
| 281 | verticalLayout_4->addItem(verticalSpacer_2); |
| 282 | |
| 283 | |
| 284 | horizontalLayout_2->addWidget(grpWhere); |
| 285 | |
| 286 | |
| 287 | gridLayout_2->addWidget(widget_4, 0, 1, 1, 1); |
| 288 | |
| 289 | |
| 290 | verticalLayout_2->addWidget(widget_3); |
| 291 | |
| 292 | verticalSpacer = new QSpacerItem(20, 134, QSizePolicy::Minimum, QSizePolicy::Expanding); |
| 293 | |
| 294 | verticalLayout_2->addItem(verticalSpacer); |
| 295 | |
| 296 | |
| 297 | dialogLayout->addWidget(frame); |
| 298 | |
| 299 | widget = new QWidget(SearchDialog); |
| 300 | widget->setObjectName(QString::fromUtf8("widget" )); |
| 301 | sizePolicy1.setHeightForWidth(widget->sizePolicy().hasHeightForWidth()); |
| 302 | widget->setSizePolicy(sizePolicy1); |
| 303 | horizontalLayout = new QHBoxLayout(widget); |
| 304 | horizontalLayout->setObjectName(QString::fromUtf8("horizontalLayout" )); |
| 305 | horizontalSpacer = new QSpacerItem(455, 20, QSizePolicy::Expanding, QSizePolicy::Minimum); |
| 306 | |
| 307 | horizontalLayout->addItem(horizontalSpacer); |
| 308 | |
| 309 | btnExecute = new QPushButton(widget); |
| 310 | btnExecute->setObjectName(QString::fromUtf8("btnExecute" )); |
| 311 | |
| 312 | horizontalLayout->addWidget(btnExecute); |
| 313 | |
| 314 | btnCancel = new QPushButton(widget); |
| 315 | btnCancel->setObjectName(QString::fromUtf8("btnCancel" )); |
| 316 | |
| 317 | horizontalLayout->addWidget(btnCancel); |
| 318 | |
| 319 | |
| 320 | dialogLayout->addWidget(widget); |
| 321 | |
| 322 | |
| 323 | retranslateUi(SearchDialog); |
| 324 | |
| 325 | QMetaObject::connectSlotsByName(SearchDialog); |
| 326 | } // setupUi |
| 327 | |
| 328 | void retranslateUi(QDialog *SearchDialog) |
| 329 | { |
| 330 | SearchDialog->setWindowTitle(QCoreApplication::translate("SearchDialog" , "Dialog" , nullptr)); |
| 331 | lblFind->setText(QCoreApplication::translate("SearchDialog" , "Text to Find:" , nullptr)); |
| 332 | lblReplace->setText(QCoreApplication::translate("SearchDialog" , "Replace with:" , nullptr)); |
| 333 | grpOptions->setTitle(QCoreApplication::translate("SearchDialog" , "Options:" , nullptr)); |
| 334 | chkCaseSensetive->setText(QCoreApplication::translate("SearchDialog" , "Case Sensitive" , nullptr)); |
| 335 | chkWholeWord->setText(QCoreApplication::translate("SearchDialog" , "Whole words only" , nullptr)); |
| 336 | chkRegExp->setText(QCoreApplication::translate("SearchDialog" , "Regular Expression" , nullptr)); |
| 337 | chkWrapAround->setText(QCoreApplication::translate("SearchDialog" , "Wrap Around" , nullptr)); |
| 338 | chkPrompt->setText(QCoreApplication::translate("SearchDialog" , "Prompt on replace" , nullptr)); |
| 339 | grpScope->setTitle(QCoreApplication::translate("SearchDialog" , "Scope:" , nullptr)); |
| 340 | rbGlobal->setText(QCoreApplication::translate("SearchDialog" , "Global" , nullptr)); |
| 341 | rbSelection->setText(QCoreApplication::translate("SearchDialog" , "Selection" , nullptr)); |
| 342 | grpOrigin->setTitle(QCoreApplication::translate("SearchDialog" , "Origin:" , nullptr)); |
| 343 | rbFromCursor->setText(QCoreApplication::translate("SearchDialog" , "From cursor" , nullptr)); |
| 344 | rbEntireScope->setText(QCoreApplication::translate("SearchDialog" , "Entire scope" , nullptr)); |
| 345 | grpDirection->setTitle(QCoreApplication::translate("SearchDialog" , "Direction:" , nullptr)); |
| 346 | rbForward->setText(QCoreApplication::translate("SearchDialog" , "Forward" , nullptr)); |
| 347 | rbBackward->setText(QCoreApplication::translate("SearchDialog" , "Backward" , nullptr)); |
| 348 | grpWhere->setTitle(QCoreApplication::translate("SearchDialog" , "Where:" , nullptr)); |
| 349 | rbCurrentFile->setText(QCoreApplication::translate("SearchDialog" , "Current File" , nullptr)); |
| 350 | rbProject->setText(QCoreApplication::translate("SearchDialog" , "Files In Project" , nullptr)); |
| 351 | rbOpenFiles->setText(QCoreApplication::translate("SearchDialog" , "Open Files" , nullptr)); |
| 352 | btnExecute->setText(QCoreApplication::translate("SearchDialog" , "Find" , nullptr)); |
| 353 | btnCancel->setText(QCoreApplication::translate("SearchDialog" , "Cancel" , nullptr)); |
| 354 | } // retranslateUi |
| 355 | |
| 356 | }; |
| 357 | |
| 358 | namespace Ui { |
| 359 | class SearchDialog: public Ui_SearchDialog {}; |
| 360 | } // namespace Ui |
| 361 | |
| 362 | QT_END_NAMESPACE |
| 363 | |
| 364 | #endif // UI_SEARCHDIALOG_H |
| 365 | |