1 | /******************************************************************************** |
2 | ** Form generated from reading UI file 'InitialRepoConfig.ui' |
3 | ** |
4 | ** Created by: Qt User Interface Compiler version 5.15.7 |
5 | ** |
6 | ** WARNING! All changes made in this file will be lost when recompiling UI file! |
7 | ********************************************************************************/ |
8 | |
9 | #ifndef UI_INITIALREPOCONFIG_H |
10 | #define UI_INITIALREPOCONFIG_H |
11 | |
12 | #include <QtCore/QVariant> |
13 | #include <QtWidgets/QApplication> |
14 | #include <QtWidgets/QButtonGroup> |
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/QSpinBox> |
25 | #include "CheckBox.h" |
26 | |
27 | QT_BEGIN_NAMESPACE |
28 | |
29 | class Ui_InitialRepoConfig |
30 | { |
31 | public: |
32 | QGridLayout *gridLayout; |
33 | QLabel *label_4; |
34 | CheckBox *updateOnPull; |
35 | QHBoxLayout *horizontalLayout; |
36 | QSpacerItem *horizontalSpacer; |
37 | QPushButton *pushButton; |
38 | QLabel *label_2; |
39 | QSpacerItem *verticalSpacer; |
40 | QSpinBox *sbMaxCommits; |
41 | QLabel *label_7; |
42 | CheckBox *pruneOnFetch; |
43 | QLabel *label; |
44 | QLabel *label_3; |
45 | QFrame *orangeHSeparator; |
46 | QSpinBox *autoFetch; |
47 | QLabel *label_5; |
48 | QGroupBox *credentialsFrames; |
49 | QGridLayout *gridLayout_2; |
50 | QRadioButton *rbStorage; |
51 | CheckBox *chbCredentials; |
52 | QRadioButton *rbCache; |
53 | QHBoxLayout *horizontalLayout_2; |
54 | QLabel *label_6; |
55 | QSpinBox *sbTimeout; |
56 | QButtonGroup *buttonGroup; |
57 | |
58 | void setupUi(QDialog *InitialRepoConfig) |
59 | { |
60 | if (InitialRepoConfig->objectName().isEmpty()) |
61 | InitialRepoConfig->setObjectName(QString::fromUtf8("InitialRepoConfig" )); |
62 | InitialRepoConfig->resize(600, 400); |
63 | InitialRepoConfig->setMinimumSize(QSize(600, 400)); |
64 | InitialRepoConfig->setMaximumSize(QSize(800, 600)); |
65 | gridLayout = new QGridLayout(InitialRepoConfig); |
66 | gridLayout->setObjectName(QString::fromUtf8("gridLayout" )); |
67 | label_4 = new QLabel(InitialRepoConfig); |
68 | label_4->setObjectName(QString::fromUtf8("label_4" )); |
69 | label_4->setWordWrap(true); |
70 | |
71 | gridLayout->addWidget(label_4, 0, 0, 1, 2); |
72 | |
73 | updateOnPull = new CheckBox(InitialRepoConfig); |
74 | updateOnPull->setObjectName(QString::fromUtf8("updateOnPull" )); |
75 | |
76 | gridLayout->addWidget(updateOnPull, 8, 1, 1, 1); |
77 | |
78 | horizontalLayout = new QHBoxLayout(); |
79 | horizontalLayout->setObjectName(QString::fromUtf8("horizontalLayout" )); |
80 | horizontalSpacer = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum); |
81 | |
82 | horizontalLayout->addItem(horizontalSpacer); |
83 | |
84 | pushButton = new QPushButton(InitialRepoConfig); |
85 | pushButton->setObjectName(QString::fromUtf8("pushButton" )); |
86 | |
87 | horizontalLayout->addWidget(pushButton); |
88 | |
89 | |
90 | gridLayout->addLayout(horizontalLayout, 9, 0, 1, 2); |
91 | |
92 | label_2 = new QLabel(InitialRepoConfig); |
93 | label_2->setObjectName(QString::fromUtf8("label_2" )); |
94 | |
95 | gridLayout->addWidget(label_2, 7, 0, 1, 1); |
96 | |
97 | verticalSpacer = new QSpacerItem(20, 10, QSizePolicy::Minimum, QSizePolicy::Fixed); |
98 | |
99 | gridLayout->addItem(verticalSpacer, 2, 1, 1, 1); |
100 | |
101 | sbMaxCommits = new QSpinBox(InitialRepoConfig); |
102 | sbMaxCommits->setObjectName(QString::fromUtf8("sbMaxCommits" )); |
103 | sbMaxCommits->setMaximum(999999999); |
104 | sbMaxCommits->setSingleStep(10); |
105 | sbMaxCommits->setValue(0); |
106 | |
107 | gridLayout->addWidget(sbMaxCommits, 4, 1, 1, 1); |
108 | |
109 | label_7 = new QLabel(InitialRepoConfig); |
110 | label_7->setObjectName(QString::fromUtf8("label_7" )); |
111 | |
112 | gridLayout->addWidget(label_7, 4, 0, 1, 1); |
113 | |
114 | pruneOnFetch = new CheckBox(InitialRepoConfig); |
115 | pruneOnFetch->setObjectName(QString::fromUtf8("pruneOnFetch" )); |
116 | pruneOnFetch->setChecked(true); |
117 | |
118 | gridLayout->addWidget(pruneOnFetch, 7, 1, 1, 1); |
119 | |
120 | label = new QLabel(InitialRepoConfig); |
121 | label->setObjectName(QString::fromUtf8("label" )); |
122 | |
123 | gridLayout->addWidget(label, 5, 0, 1, 1); |
124 | |
125 | label_3 = new QLabel(InitialRepoConfig); |
126 | label_3->setObjectName(QString::fromUtf8("label_3" )); |
127 | label_3->setWordWrap(true); |
128 | |
129 | gridLayout->addWidget(label_3, 6, 1, 1, 1); |
130 | |
131 | orangeHSeparator = new QFrame(InitialRepoConfig); |
132 | orangeHSeparator->setObjectName(QString::fromUtf8("orangeHSeparator" )); |
133 | orangeHSeparator->setFrameShape(QFrame::NoFrame); |
134 | orangeHSeparator->setFrameShadow(QFrame::Plain); |
135 | orangeHSeparator->setLineWidth(0); |
136 | |
137 | gridLayout->addWidget(orangeHSeparator, 1, 0, 1, 2); |
138 | |
139 | autoFetch = new QSpinBox(InitialRepoConfig); |
140 | autoFetch->setObjectName(QString::fromUtf8("autoFetch" )); |
141 | autoFetch->setMaximum(60); |
142 | autoFetch->setValue(5); |
143 | |
144 | gridLayout->addWidget(autoFetch, 5, 1, 1, 1); |
145 | |
146 | label_5 = new QLabel(InitialRepoConfig); |
147 | label_5->setObjectName(QString::fromUtf8("label_5" )); |
148 | |
149 | gridLayout->addWidget(label_5, 8, 0, 1, 1); |
150 | |
151 | credentialsFrames = new QGroupBox(InitialRepoConfig); |
152 | credentialsFrames->setObjectName(QString::fromUtf8("credentialsFrames" )); |
153 | gridLayout_2 = new QGridLayout(credentialsFrames); |
154 | gridLayout_2->setSpacing(10); |
155 | gridLayout_2->setObjectName(QString::fromUtf8("gridLayout_2" )); |
156 | gridLayout_2->setContentsMargins(0, 0, 0, 0); |
157 | rbStorage = new QRadioButton(credentialsFrames); |
158 | buttonGroup = new QButtonGroup(InitialRepoConfig); |
159 | buttonGroup->setObjectName(QString::fromUtf8("buttonGroup" )); |
160 | buttonGroup->addButton(rbStorage); |
161 | rbStorage->setObjectName(QString::fromUtf8("rbStorage" )); |
162 | |
163 | gridLayout_2->addWidget(rbStorage, 1, 1, 1, 1); |
164 | |
165 | chbCredentials = new CheckBox(credentialsFrames); |
166 | chbCredentials->setObjectName(QString::fromUtf8("chbCredentials" )); |
167 | chbCredentials->setChecked(true); |
168 | |
169 | gridLayout_2->addWidget(chbCredentials, 0, 0, 1, 2); |
170 | |
171 | rbCache = new QRadioButton(credentialsFrames); |
172 | buttonGroup->addButton(rbCache); |
173 | rbCache->setObjectName(QString::fromUtf8("rbCache" )); |
174 | rbCache->setChecked(true); |
175 | |
176 | gridLayout_2->addWidget(rbCache, 1, 0, 1, 1); |
177 | |
178 | horizontalLayout_2 = new QHBoxLayout(); |
179 | horizontalLayout_2->setSpacing(0); |
180 | horizontalLayout_2->setObjectName(QString::fromUtf8("horizontalLayout_2" )); |
181 | label_6 = new QLabel(credentialsFrames); |
182 | label_6->setObjectName(QString::fromUtf8("label_6" )); |
183 | |
184 | horizontalLayout_2->addWidget(label_6); |
185 | |
186 | sbTimeout = new QSpinBox(credentialsFrames); |
187 | sbTimeout->setObjectName(QString::fromUtf8("sbTimeout" )); |
188 | sbTimeout->setMaximum(480); |
189 | sbTimeout->setSingleStep(5); |
190 | sbTimeout->setValue(15); |
191 | |
192 | horizontalLayout_2->addWidget(sbTimeout); |
193 | |
194 | |
195 | gridLayout_2->addLayout(horizontalLayout_2, 2, 0, 1, 1); |
196 | |
197 | |
198 | gridLayout->addWidget(credentialsFrames, 3, 0, 1, 2); |
199 | |
200 | QWidget::setTabOrder(chbCredentials, rbCache); |
201 | QWidget::setTabOrder(rbCache, rbStorage); |
202 | QWidget::setTabOrder(rbStorage, sbTimeout); |
203 | QWidget::setTabOrder(sbTimeout, sbMaxCommits); |
204 | QWidget::setTabOrder(sbMaxCommits, autoFetch); |
205 | QWidget::setTabOrder(autoFetch, pruneOnFetch); |
206 | QWidget::setTabOrder(pruneOnFetch, updateOnPull); |
207 | QWidget::setTabOrder(updateOnPull, pushButton); |
208 | |
209 | retranslateUi(InitialRepoConfig); |
210 | QObject::connect(pushButton, SIGNAL(clicked()), InitialRepoConfig, SLOT(accept())); |
211 | |
212 | QMetaObject::connectSlotsByName(InitialRepoConfig); |
213 | } // setupUi |
214 | |
215 | void retranslateUi(QDialog *InitialRepoConfig) |
216 | { |
217 | InitialRepoConfig->setWindowTitle(QCoreApplication::translate("InitialRepoConfig" , "Repo config" , nullptr)); |
218 | label_4->setText(QCoreApplication::translate("InitialRepoConfig" , "<html><head/><body><p>In this new version, GitQlient includes some new parameters to help you to configure the repository. Please, take a moment to change them if you'd like.</p><p>If you already have configured some of them, they will show the already set value.</p><p>You can modify these values at any moment using the <span style=\" font-style:italic;\">Config </span>button in the top icons list of GitQlient.</p></body></html>" , nullptr)); |
219 | updateOnPull->setText(QString()); |
220 | pushButton->setText(QCoreApplication::translate("InitialRepoConfig" , "Save" , nullptr)); |
221 | label_2->setText(QCoreApplication::translate("InitialRepoConfig" , "Prune when fetch" , nullptr)); |
222 | sbMaxCommits->setSuffix(QCoreApplication::translate("InitialRepoConfig" , " last commits" , nullptr)); |
223 | label_7->setText(QCoreApplication::translate("InitialRepoConfig" , "Max. commits to retrieve (0 for all)" , nullptr)); |
224 | pruneOnFetch->setText(QString()); |
225 | label->setText(QCoreApplication::translate("InitialRepoConfig" , "Auto-Fetch interval" , nullptr)); |
226 | label_3->setText(QCoreApplication::translate("InitialRepoConfig" , "The interval is expected to be in minutes. Choose a value between 0 (for disabled) and 60." , nullptr)); |
227 | autoFetch->setSuffix(QCoreApplication::translate("InitialRepoConfig" , " minutes" , nullptr)); |
228 | label_5->setText(QCoreApplication::translate("InitialRepoConfig" , "Update submodules when pull" , nullptr)); |
229 | credentialsFrames->setTitle(QCoreApplication::translate("InitialRepoConfig" , "Credentials configuration" , nullptr)); |
230 | rbStorage->setText(QCoreApplication::translate("InitialRepoConfig" , "Storage" , nullptr)); |
231 | chbCredentials->setText(QCoreApplication::translate("InitialRepoConfig" , "Store credentials using GitQlient (Current session or in Storage)" , nullptr)); |
232 | rbCache->setText(QCoreApplication::translate("InitialRepoConfig" , "Cache" , nullptr)); |
233 | label_6->setText(QCoreApplication::translate("InitialRepoConfig" , "Timeout:" , nullptr)); |
234 | sbTimeout->setSuffix(QCoreApplication::translate("InitialRepoConfig" , " mins." , nullptr)); |
235 | } // retranslateUi |
236 | |
237 | }; |
238 | |
239 | namespace Ui { |
240 | class InitialRepoConfig: public Ui_InitialRepoConfig {}; |
241 | } // namespace Ui |
242 | |
243 | QT_END_NAMESPACE |
244 | |
245 | #endif // UI_INITIALREPOCONFIG_H |
246 | |