| 1 | /******************************************************************************** |
| 2 | ** Form generated from reading UI file 'SquashDlg.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_SQUASHDLG_H |
| 10 | #define UI_SQUASHDLG_H |
| 11 | |
| 12 | #include <QtCore/QVariant> |
| 13 | #include <QtWidgets/QApplication> |
| 14 | #include <QtWidgets/QDialog> |
| 15 | #include <QtWidgets/QFrame> |
| 16 | #include <QtWidgets/QGridLayout> |
| 17 | #include <QtWidgets/QHBoxLayout> |
| 18 | #include <QtWidgets/QLabel> |
| 19 | #include <QtWidgets/QLineEdit> |
| 20 | #include <QtWidgets/QPushButton> |
| 21 | #include <QtWidgets/QScrollArea> |
| 22 | #include <QtWidgets/QSpacerItem> |
| 23 | #include <QtWidgets/QTextEdit> |
| 24 | #include <QtWidgets/QVBoxLayout> |
| 25 | #include <QtWidgets/QWidget> |
| 26 | |
| 27 | QT_BEGIN_NAMESPACE |
| 28 | |
| 29 | class Ui_SquashDlg |
| 30 | { |
| 31 | public: |
| 32 | QGridLayout *gridLayout_2; |
| 33 | QScrollArea *scrollArea; |
| 34 | QWidget *scrollAreaWidgetContents; |
| 35 | QVBoxLayout *verticalLayout; |
| 36 | QFrame *commitsFrame; |
| 37 | QGridLayout *gridLayout; |
| 38 | QLineEdit *leCommitTitle; |
| 39 | QLabel *lCounter; |
| 40 | QTextEdit *teDescription; |
| 41 | QHBoxLayout *horizontalLayout; |
| 42 | QPushButton *pbCancel; |
| 43 | QSpacerItem *horizontalSpacer; |
| 44 | QPushButton *pbSquash; |
| 45 | |
| 46 | void setupUi(QDialog *SquashDlg) |
| 47 | { |
| 48 | if (SquashDlg->objectName().isEmpty()) |
| 49 | SquashDlg->setObjectName(QString::fromUtf8("SquashDlg" )); |
| 50 | SquashDlg->resize(800, 400); |
| 51 | SquashDlg->setMinimumSize(QSize(800, 400)); |
| 52 | SquashDlg->setMaximumSize(QSize(800, 400)); |
| 53 | gridLayout_2 = new QGridLayout(SquashDlg); |
| 54 | gridLayout_2->setSpacing(10); |
| 55 | gridLayout_2->setObjectName(QString::fromUtf8("gridLayout_2" )); |
| 56 | gridLayout_2->setContentsMargins(10, 10, 10, 10); |
| 57 | scrollArea = new QScrollArea(SquashDlg); |
| 58 | scrollArea->setObjectName(QString::fromUtf8("scrollArea" )); |
| 59 | scrollArea->setWidgetResizable(true); |
| 60 | scrollAreaWidgetContents = new QWidget(); |
| 61 | scrollAreaWidgetContents->setObjectName(QString::fromUtf8("scrollAreaWidgetContents" )); |
| 62 | scrollAreaWidgetContents->setGeometry(QRect(0, 0, 479, 341)); |
| 63 | verticalLayout = new QVBoxLayout(scrollAreaWidgetContents); |
| 64 | verticalLayout->setSpacing(0); |
| 65 | verticalLayout->setObjectName(QString::fromUtf8("verticalLayout" )); |
| 66 | verticalLayout->setContentsMargins(0, 0, 0, 0); |
| 67 | commitsFrame = new QFrame(scrollAreaWidgetContents); |
| 68 | commitsFrame->setObjectName(QString::fromUtf8("commitsFrame" )); |
| 69 | commitsFrame->setFrameShape(QFrame::StyledPanel); |
| 70 | commitsFrame->setFrameShadow(QFrame::Raised); |
| 71 | |
| 72 | verticalLayout->addWidget(commitsFrame); |
| 73 | |
| 74 | scrollArea->setWidget(scrollAreaWidgetContents); |
| 75 | |
| 76 | gridLayout_2->addWidget(scrollArea, 0, 0, 1, 1); |
| 77 | |
| 78 | gridLayout = new QGridLayout(); |
| 79 | gridLayout->setSpacing(0); |
| 80 | gridLayout->setObjectName(QString::fromUtf8("gridLayout" )); |
| 81 | leCommitTitle = new QLineEdit(SquashDlg); |
| 82 | leCommitTitle->setObjectName(QString::fromUtf8("leCommitTitle" )); |
| 83 | |
| 84 | gridLayout->addWidget(leCommitTitle, 0, 0, 1, 1); |
| 85 | |
| 86 | lCounter = new QLabel(SquashDlg); |
| 87 | lCounter->setObjectName(QString::fromUtf8("lCounter" )); |
| 88 | |
| 89 | gridLayout->addWidget(lCounter, 0, 1, 1, 1); |
| 90 | |
| 91 | teDescription = new QTextEdit(SquashDlg); |
| 92 | teDescription->setObjectName(QString::fromUtf8("teDescription" )); |
| 93 | teDescription->setLineWrapMode(QTextEdit::WidgetWidth); |
| 94 | teDescription->setReadOnly(false); |
| 95 | teDescription->setAcceptRichText(false); |
| 96 | |
| 97 | gridLayout->addWidget(teDescription, 1, 0, 1, 2); |
| 98 | |
| 99 | |
| 100 | gridLayout_2->addLayout(gridLayout, 0, 1, 1, 1); |
| 101 | |
| 102 | horizontalLayout = new QHBoxLayout(); |
| 103 | horizontalLayout->setObjectName(QString::fromUtf8("horizontalLayout" )); |
| 104 | pbCancel = new QPushButton(SquashDlg); |
| 105 | pbCancel->setObjectName(QString::fromUtf8("pbCancel" )); |
| 106 | |
| 107 | horizontalLayout->addWidget(pbCancel); |
| 108 | |
| 109 | horizontalSpacer = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum); |
| 110 | |
| 111 | horizontalLayout->addItem(horizontalSpacer); |
| 112 | |
| 113 | pbSquash = new QPushButton(SquashDlg); |
| 114 | pbSquash->setObjectName(QString::fromUtf8("pbSquash" )); |
| 115 | |
| 116 | horizontalLayout->addWidget(pbSquash); |
| 117 | |
| 118 | |
| 119 | gridLayout_2->addLayout(horizontalLayout, 1, 0, 1, 2); |
| 120 | |
| 121 | gridLayout_2->setColumnStretch(0, 5); |
| 122 | gridLayout_2->setColumnStretch(1, 3); |
| 123 | |
| 124 | retranslateUi(SquashDlg); |
| 125 | QObject::connect(pbSquash, SIGNAL(clicked()), SquashDlg, SLOT(accept())); |
| 126 | QObject::connect(pbCancel, SIGNAL(clicked()), SquashDlg, SLOT(reject())); |
| 127 | |
| 128 | QMetaObject::connectSlotsByName(SquashDlg); |
| 129 | } // setupUi |
| 130 | |
| 131 | void retranslateUi(QDialog *SquashDlg) |
| 132 | { |
| 133 | SquashDlg->setWindowTitle(QCoreApplication::translate("SquashDlg" , "Squash" , nullptr)); |
| 134 | leCommitTitle->setPlaceholderText(QCoreApplication::translate("SquashDlg" , "Summary" , nullptr)); |
| 135 | lCounter->setText(QString()); |
| 136 | teDescription->setPlaceholderText(QCoreApplication::translate("SquashDlg" , "Description" , nullptr)); |
| 137 | pbCancel->setText(QCoreApplication::translate("SquashDlg" , "Cancel" , nullptr)); |
| 138 | pbSquash->setText(QCoreApplication::translate("SquashDlg" , "Squash" , nullptr)); |
| 139 | } // retranslateUi |
| 140 | |
| 141 | }; |
| 142 | |
| 143 | namespace Ui { |
| 144 | class SquashDlg: public Ui_SquashDlg {}; |
| 145 | } // namespace Ui |
| 146 | |
| 147 | QT_END_NAMESPACE |
| 148 | |
| 149 | #endif // UI_SQUASHDLG_H |
| 150 | |