1/********************************************************************************
2** Form generated from reading UI file 'CommitChangesWidget.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_COMMITCHANGESWIDGET_H
10#define UI_COMMITCHANGESWIDGET_H
11
12#include <QtCore/QVariant>
13#include <QtGui/QIcon>
14#include <QtWidgets/QApplication>
15#include <QtWidgets/QFrame>
16#include <QtWidgets/QGridLayout>
17#include <QtWidgets/QHBoxLayout>
18#include <QtWidgets/QLabel>
19#include <QtWidgets/QLineEdit>
20#include <QtWidgets/QListWidget>
21#include <QtWidgets/QPushButton>
22#include <QtWidgets/QSpacerItem>
23#include <QtWidgets/QTextEdit>
24#include <QtWidgets/QVBoxLayout>
25#include <QtWidgets/QWidget>
26#include "StagedFilesList.h"
27
28QT_BEGIN_NAMESPACE
29
30class Ui_CommitChangesWidget
31{
32public:
33 QGridLayout *gridLayout;
34 QSpacerItem *verticalSpacer_2;
35 QSpacerItem *verticalSpacer_4;
36 QListWidget *unstagedFilesList;
37 QLineEdit *leCommitTitle;
38 QHBoxLayout *horizontalLayout_4;
39 QPushButton *warningButton;
40 QPushButton *applyActionBtn;
41 QFrame *amendFrame;
42 QVBoxLayout *verticalLayout;
43 QLineEdit *leAuthorName;
44 QLineEdit *leAuthorEmail;
45 StagedFilesList *stagedFilesList;
46 QTextEdit *teDescription;
47 QLabel *lCounter;
48 QFrame *wipSeparator;
49
50 void setupUi(QWidget *CommitChangesWidget)
51 {
52 if (CommitChangesWidget->objectName().isEmpty())
53 CommitChangesWidget->setObjectName(QString::fromUtf8("CommitChangesWidget"));
54 CommitChangesWidget->resize(172, 334);
55 QIcon icon;
56 icon.addFile(QString::fromUtf8(":/icons/resources/vcs_commit.png"), QSize(), QIcon::Normal, QIcon::Off);
57 CommitChangesWidget->setWindowIcon(icon);
58 gridLayout = new QGridLayout(CommitChangesWidget);
59 gridLayout->setSpacing(0);
60 gridLayout->setContentsMargins(11, 11, 11, 11);
61 gridLayout->setObjectName(QString::fromUtf8("gridLayout"));
62 gridLayout->setContentsMargins(0, 0, 0, 0);
63 verticalSpacer_2 = new QSpacerItem(20, 5, QSizePolicy::Minimum, QSizePolicy::Fixed);
64
65 gridLayout->addItem(verticalSpacer_2, 4, 1, 1, 1);
66
67 verticalSpacer_4 = new QSpacerItem(20, 5, QSizePolicy::Minimum, QSizePolicy::Fixed);
68
69 gridLayout->addItem(verticalSpacer_4, 13, 1, 1, 1);
70
71 unstagedFilesList = new QListWidget(CommitChangesWidget);
72 unstagedFilesList->setObjectName(QString::fromUtf8("unstagedFilesList"));
73 unstagedFilesList->setContextMenuPolicy(Qt::CustomContextMenu);
74 unstagedFilesList->setHorizontalScrollBarPolicy(Qt::ScrollBarAsNeeded);
75
76 gridLayout->addWidget(unstagedFilesList, 3, 1, 1, 2);
77
78 leCommitTitle = new QLineEdit(CommitChangesWidget);
79 leCommitTitle->setObjectName(QString::fromUtf8("leCommitTitle"));
80
81 gridLayout->addWidget(leCommitTitle, 6, 1, 1, 1);
82
83 horizontalLayout_4 = new QHBoxLayout();
84 horizontalLayout_4->setSpacing(10);
85 horizontalLayout_4->setObjectName(QString::fromUtf8("horizontalLayout_4"));
86 warningButton = new QPushButton(CommitChangesWidget);
87 warningButton->setObjectName(QString::fromUtf8("warningButton"));
88
89 horizontalLayout_4->addWidget(warningButton);
90
91 applyActionBtn = new QPushButton(CommitChangesWidget);
92 applyActionBtn->setObjectName(QString::fromUtf8("applyActionBtn"));
93 QSizePolicy sizePolicy(QSizePolicy::Expanding, QSizePolicy::Fixed);
94 sizePolicy.setHorizontalStretch(0);
95 sizePolicy.setVerticalStretch(0);
96 sizePolicy.setHeightForWidth(applyActionBtn->sizePolicy().hasHeightForWidth());
97 applyActionBtn->setSizePolicy(sizePolicy);
98
99 horizontalLayout_4->addWidget(applyActionBtn);
100
101
102 gridLayout->addLayout(horizontalLayout_4, 16, 1, 1, 2);
103
104 amendFrame = new QFrame(CommitChangesWidget);
105 amendFrame->setObjectName(QString::fromUtf8("amendFrame"));
106 amendFrame->setFrameShape(QFrame::StyledPanel);
107 amendFrame->setFrameShadow(QFrame::Raised);
108 verticalLayout = new QVBoxLayout(amendFrame);
109 verticalLayout->setSpacing(0);
110 verticalLayout->setContentsMargins(11, 11, 11, 11);
111 verticalLayout->setObjectName(QString::fromUtf8("verticalLayout"));
112 verticalLayout->setContentsMargins(0, 0, 0, 0);
113 leAuthorName = new QLineEdit(amendFrame);
114 leAuthorName->setObjectName(QString::fromUtf8("leAuthorName"));
115
116 verticalLayout->addWidget(leAuthorName);
117
118 leAuthorEmail = new QLineEdit(amendFrame);
119 leAuthorEmail->setObjectName(QString::fromUtf8("leAuthorEmail"));
120
121 verticalLayout->addWidget(leAuthorEmail);
122
123
124 gridLayout->addWidget(amendFrame, 5, 1, 1, 2);
125
126 stagedFilesList = new StagedFilesList(CommitChangesWidget);
127 stagedFilesList->setObjectName(QString::fromUtf8("stagedFilesList"));
128 stagedFilesList->setContextMenuPolicy(Qt::CustomContextMenu);
129 stagedFilesList->setHorizontalScrollBarPolicy(Qt::ScrollBarAsNeeded);
130
131 gridLayout->addWidget(stagedFilesList, 9, 1, 1, 2);
132
133 teDescription = new QTextEdit(CommitChangesWidget);
134 teDescription->setObjectName(QString::fromUtf8("teDescription"));
135 teDescription->setLineWrapMode(QTextEdit::WidgetWidth);
136 teDescription->setReadOnly(false);
137 teDescription->setAcceptRichText(false);
138
139 gridLayout->addWidget(teDescription, 7, 1, 1, 2);
140
141 lCounter = new QLabel(CommitChangesWidget);
142 lCounter->setObjectName(QString::fromUtf8("lCounter"));
143
144 gridLayout->addWidget(lCounter, 6, 2, 1, 1);
145
146 wipSeparator = new QFrame(CommitChangesWidget);
147 wipSeparator->setObjectName(QString::fromUtf8("wipSeparator"));
148 wipSeparator->setStyleSheet(QString::fromUtf8(""));
149
150 gridLayout->addWidget(wipSeparator, 8, 1, 1, 2);
151
152 QWidget::setTabOrder(leCommitTitle, teDescription);
153 QWidget::setTabOrder(teDescription, leAuthorName);
154 QWidget::setTabOrder(leAuthorName, leAuthorEmail);
155 QWidget::setTabOrder(leAuthorEmail, applyActionBtn);
156 QWidget::setTabOrder(applyActionBtn, warningButton);
157
158 retranslateUi(CommitChangesWidget);
159
160 QMetaObject::connectSlotsByName(CommitChangesWidget);
161 } // setupUi
162
163 void retranslateUi(QWidget *CommitChangesWidget)
164 {
165 CommitChangesWidget->setWindowTitle(QCoreApplication::translate("CommitChangesWidget", "Commit changes", nullptr));
166 leCommitTitle->setPlaceholderText(QCoreApplication::translate("CommitChangesWidget", "Summary", nullptr));
167 warningButton->setText(QCoreApplication::translate("CommitChangesWidget", "Cancel", nullptr));
168#if QT_CONFIG(tooltip)
169 applyActionBtn->setToolTip(QCoreApplication::translate("CommitChangesWidget", "Commit selected files", nullptr));
170#endif // QT_CONFIG(tooltip)
171 applyActionBtn->setText(QCoreApplication::translate("CommitChangesWidget", "&Amend", nullptr));
172#if QT_CONFIG(shortcut)
173 applyActionBtn->setShortcut(QCoreApplication::translate("CommitChangesWidget", "Alt+C", nullptr));
174#endif // QT_CONFIG(shortcut)
175 leAuthorName->setPlaceholderText(QCoreApplication::translate("CommitChangesWidget", "Author name", nullptr));
176 leAuthorEmail->setPlaceholderText(QCoreApplication::translate("CommitChangesWidget", "Author email", nullptr));
177 teDescription->setPlaceholderText(QCoreApplication::translate("CommitChangesWidget", "Description", nullptr));
178 lCounter->setText(QString());
179 } // retranslateUi
180
181};
182
183namespace Ui {
184 class CommitChangesWidget: public Ui_CommitChangesWidget {};
185} // namespace Ui
186
187QT_END_NAMESPACE
188
189#endif // UI_COMMITCHANGESWIDGET_H
190