| 1 | /******************************************************************************** |
| 2 | ** Form generated from reading UI file 'gitresetdialog.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_GITRESETDIALOG_H |
| 10 | #define UI_GITRESETDIALOG_H |
| 11 | |
| 12 | #include <QtCore/QVariant> |
| 13 | #include <QtWidgets/QApplication> |
| 14 | #include <QtWidgets/QComboBox> |
| 15 | #include <QtWidgets/QDialog> |
| 16 | #include <QtWidgets/QFrame> |
| 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/QSpacerItem> |
| 24 | #include <QtWidgets/QVBoxLayout> |
| 25 | |
| 26 | QT_BEGIN_NAMESPACE |
| 27 | |
| 28 | class Ui_GitResetDialog |
| 29 | { |
| 30 | public: |
| 31 | QVBoxLayout *verticalLayout; |
| 32 | QGroupBox *grpTarget; |
| 33 | QGridLayout *gridLayout; |
| 34 | QRadioButton *rbBranch; |
| 35 | QComboBox *cbBranches; |
| 36 | QRadioButton *rbTag; |
| 37 | QComboBox *cbTags; |
| 38 | QRadioButton *rbCommit; |
| 39 | QComboBox *cbCommits; |
| 40 | QGroupBox *grpOptions; |
| 41 | QGridLayout *gridLayout_2; |
| 42 | QLabel *label; |
| 43 | QLabel *label_2; |
| 44 | QRadioButton *rbSoft; |
| 45 | QRadioButton *rbHard; |
| 46 | QLabel *label_3; |
| 47 | QRadioButton *rbMixed; |
| 48 | QSpacerItem *verticalSpacer; |
| 49 | QFrame *frame; |
| 50 | QHBoxLayout *horizontalLayout; |
| 51 | QSpacerItem *horizontalSpacer; |
| 52 | QPushButton *btnOk; |
| 53 | QPushButton *btnCancel; |
| 54 | |
| 55 | void setupUi(QDialog *GitResetDialog) |
| 56 | { |
| 57 | if (GitResetDialog->objectName().isEmpty()) |
| 58 | GitResetDialog->setObjectName(QString::fromUtf8("GitResetDialog" )); |
| 59 | GitResetDialog->resize(812, 581); |
| 60 | verticalLayout = new QVBoxLayout(GitResetDialog); |
| 61 | verticalLayout->setObjectName(QString::fromUtf8("verticalLayout" )); |
| 62 | grpTarget = new QGroupBox(GitResetDialog); |
| 63 | grpTarget->setObjectName(QString::fromUtf8("grpTarget" )); |
| 64 | gridLayout = new QGridLayout(grpTarget); |
| 65 | gridLayout->setObjectName(QString::fromUtf8("gridLayout" )); |
| 66 | rbBranch = new QRadioButton(grpTarget); |
| 67 | rbBranch->setObjectName(QString::fromUtf8("rbBranch" )); |
| 68 | |
| 69 | gridLayout->addWidget(rbBranch, 0, 0, 1, 1); |
| 70 | |
| 71 | cbBranches = new QComboBox(grpTarget); |
| 72 | cbBranches->setObjectName(QString::fromUtf8("cbBranches" )); |
| 73 | QSizePolicy sizePolicy(QSizePolicy::Expanding, QSizePolicy::Fixed); |
| 74 | sizePolicy.setHorizontalStretch(0); |
| 75 | sizePolicy.setVerticalStretch(0); |
| 76 | sizePolicy.setHeightForWidth(cbBranches->sizePolicy().hasHeightForWidth()); |
| 77 | cbBranches->setSizePolicy(sizePolicy); |
| 78 | |
| 79 | gridLayout->addWidget(cbBranches, 0, 1, 1, 1); |
| 80 | |
| 81 | rbTag = new QRadioButton(grpTarget); |
| 82 | rbTag->setObjectName(QString::fromUtf8("rbTag" )); |
| 83 | |
| 84 | gridLayout->addWidget(rbTag, 1, 0, 1, 1); |
| 85 | |
| 86 | cbTags = new QComboBox(grpTarget); |
| 87 | cbTags->setObjectName(QString::fromUtf8("cbTags" )); |
| 88 | |
| 89 | gridLayout->addWidget(cbTags, 1, 1, 1, 1); |
| 90 | |
| 91 | rbCommit = new QRadioButton(grpTarget); |
| 92 | rbCommit->setObjectName(QString::fromUtf8("rbCommit" )); |
| 93 | |
| 94 | gridLayout->addWidget(rbCommit, 2, 0, 1, 1); |
| 95 | |
| 96 | cbCommits = new QComboBox(grpTarget); |
| 97 | cbCommits->setObjectName(QString::fromUtf8("cbCommits" )); |
| 98 | |
| 99 | gridLayout->addWidget(cbCommits, 2, 1, 1, 1); |
| 100 | |
| 101 | |
| 102 | verticalLayout->addWidget(grpTarget); |
| 103 | |
| 104 | grpOptions = new QGroupBox(GitResetDialog); |
| 105 | grpOptions->setObjectName(QString::fromUtf8("grpOptions" )); |
| 106 | gridLayout_2 = new QGridLayout(grpOptions); |
| 107 | gridLayout_2->setObjectName(QString::fromUtf8("gridLayout_2" )); |
| 108 | label = new QLabel(grpOptions); |
| 109 | label->setObjectName(QString::fromUtf8("label" )); |
| 110 | QSizePolicy sizePolicy1(QSizePolicy::Expanding, QSizePolicy::Preferred); |
| 111 | sizePolicy1.setHorizontalStretch(0); |
| 112 | sizePolicy1.setVerticalStretch(0); |
| 113 | sizePolicy1.setHeightForWidth(label->sizePolicy().hasHeightForWidth()); |
| 114 | label->setSizePolicy(sizePolicy1); |
| 115 | label->setWordWrap(true); |
| 116 | |
| 117 | gridLayout_2->addWidget(label, 0, 2, 1, 1); |
| 118 | |
| 119 | label_2 = new QLabel(grpOptions); |
| 120 | label_2->setObjectName(QString::fromUtf8("label_2" )); |
| 121 | label_2->setWordWrap(true); |
| 122 | |
| 123 | gridLayout_2->addWidget(label_2, 2, 2, 1, 1); |
| 124 | |
| 125 | rbSoft = new QRadioButton(grpOptions); |
| 126 | rbSoft->setObjectName(QString::fromUtf8("rbSoft" )); |
| 127 | |
| 128 | gridLayout_2->addWidget(rbSoft, 0, 0, 1, 1); |
| 129 | |
| 130 | rbHard = new QRadioButton(grpOptions); |
| 131 | rbHard->setObjectName(QString::fromUtf8("rbHard" )); |
| 132 | |
| 133 | gridLayout_2->addWidget(rbHard, 2, 0, 1, 1); |
| 134 | |
| 135 | label_3 = new QLabel(grpOptions); |
| 136 | label_3->setObjectName(QString::fromUtf8("label_3" )); |
| 137 | label_3->setWordWrap(true); |
| 138 | |
| 139 | gridLayout_2->addWidget(label_3, 1, 2, 1, 1); |
| 140 | |
| 141 | rbMixed = new QRadioButton(grpOptions); |
| 142 | rbMixed->setObjectName(QString::fromUtf8("rbMixed" )); |
| 143 | |
| 144 | gridLayout_2->addWidget(rbMixed, 1, 0, 1, 1); |
| 145 | |
| 146 | |
| 147 | verticalLayout->addWidget(grpOptions); |
| 148 | |
| 149 | verticalSpacer = new QSpacerItem(20, 40, QSizePolicy::Minimum, QSizePolicy::Expanding); |
| 150 | |
| 151 | verticalLayout->addItem(verticalSpacer); |
| 152 | |
| 153 | frame = new QFrame(GitResetDialog); |
| 154 | frame->setObjectName(QString::fromUtf8("frame" )); |
| 155 | frame->setFrameShape(QFrame::StyledPanel); |
| 156 | frame->setFrameShadow(QFrame::Raised); |
| 157 | horizontalLayout = new QHBoxLayout(frame); |
| 158 | horizontalLayout->setObjectName(QString::fromUtf8("horizontalLayout" )); |
| 159 | horizontalLayout->setContentsMargins(0, 0, 0, 0); |
| 160 | horizontalSpacer = new QSpacerItem(585, 20, QSizePolicy::Expanding, QSizePolicy::Minimum); |
| 161 | |
| 162 | horizontalLayout->addItem(horizontalSpacer); |
| 163 | |
| 164 | btnOk = new QPushButton(frame); |
| 165 | btnOk->setObjectName(QString::fromUtf8("btnOk" )); |
| 166 | |
| 167 | horizontalLayout->addWidget(btnOk); |
| 168 | |
| 169 | btnCancel = new QPushButton(frame); |
| 170 | btnCancel->setObjectName(QString::fromUtf8("btnCancel" )); |
| 171 | |
| 172 | horizontalLayout->addWidget(btnCancel); |
| 173 | |
| 174 | |
| 175 | verticalLayout->addWidget(frame); |
| 176 | |
| 177 | |
| 178 | retranslateUi(GitResetDialog); |
| 179 | |
| 180 | QMetaObject::connectSlotsByName(GitResetDialog); |
| 181 | } // setupUi |
| 182 | |
| 183 | void retranslateUi(QDialog *GitResetDialog) |
| 184 | { |
| 185 | GitResetDialog->setWindowTitle(QCoreApplication::translate("GitResetDialog" , "Reset" , nullptr)); |
| 186 | grpTarget->setTitle(QCoreApplication::translate("GitResetDialog" , "Reset current branch \"%1\" to" , nullptr)); |
| 187 | rbBranch->setText(QCoreApplication::translate("GitResetDialog" , "Branch" , nullptr)); |
| 188 | rbTag->setText(QCoreApplication::translate("GitResetDialog" , "Tag" , nullptr)); |
| 189 | rbCommit->setText(QCoreApplication::translate("GitResetDialog" , "Commit" , nullptr)); |
| 190 | grpOptions->setTitle(QCoreApplication::translate("GitResetDialog" , "Reset Type" , nullptr)); |
| 191 | label->setText(QCoreApplication::translate("GitResetDialog" , "<html><head/><body><p>Leave working tree and index untouched</p></body></html>" , nullptr)); |
| 192 | label_2->setText(QCoreApplication::translate("GitResetDialog" , "<html><head/><body><p>Reset working tree and index (discarding local changes)</p></body></html>" , nullptr)); |
| 193 | rbSoft->setText(QCoreApplication::translate("GitResetDialog" , "Soft" , nullptr)); |
| 194 | rbHard->setText(QCoreApplication::translate("GitResetDialog" , "Hard" , nullptr)); |
| 195 | label_3->setText(QCoreApplication::translate("GitResetDialog" , "Leave working tree untouched, reset index" , nullptr)); |
| 196 | rbMixed->setText(QCoreApplication::translate("GitResetDialog" , "Mixed" , nullptr)); |
| 197 | btnOk->setText(QCoreApplication::translate("GitResetDialog" , "Ok" , nullptr)); |
| 198 | btnCancel->setText(QCoreApplication::translate("GitResetDialog" , "Cancel" , nullptr)); |
| 199 | } // retranslateUi |
| 200 | |
| 201 | }; |
| 202 | |
| 203 | namespace Ui { |
| 204 | class GitResetDialog: public Ui_GitResetDialog {}; |
| 205 | } // namespace Ui |
| 206 | |
| 207 | QT_END_NAMESPACE |
| 208 | |
| 209 | #endif // UI_GITRESETDIALOG_H |
| 210 | |