1 | /******************************************************************************** |
2 | ** Form generated from reading UI file 'editorsnippetwidget.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_EDITORSNIPPETWIDGET_H |
10 | #define UI_EDITORSNIPPETWIDGET_H |
11 | |
12 | #include <QtCore/QVariant> |
13 | #include <QtGui/QIcon> |
14 | #include <QtWidgets/QApplication> |
15 | #include <QtWidgets/QHBoxLayout> |
16 | #include <QtWidgets/QHeaderView> |
17 | #include <QtWidgets/QSpacerItem> |
18 | #include <QtWidgets/QSplitter> |
19 | #include <QtWidgets/QTabWidget> |
20 | #include <QtWidgets/QTableView> |
21 | #include <QtWidgets/QToolButton> |
22 | #include <QtWidgets/QVBoxLayout> |
23 | #include <QtWidgets/QWidget> |
24 | #include <editor.h> |
25 | |
26 | QT_BEGIN_NAMESPACE |
27 | |
28 | class Ui_EditorSnippetWidget |
29 | { |
30 | public: |
31 | QHBoxLayout *horizontalLayout; |
32 | QTabWidget *tabWidget; |
33 | QWidget *tabSnippet; |
34 | QHBoxLayout *horizontalLayout_3; |
35 | QSplitter *splitter; |
36 | QWidget *widget; |
37 | QHBoxLayout *horizontalLayout_2; |
38 | QTableView *tblSnippets; |
39 | QWidget *widget_2; |
40 | QVBoxLayout *verticalLayout; |
41 | QToolButton *btnAdd; |
42 | QToolButton *btnRemove; |
43 | QSpacerItem *verticalSpacer; |
44 | Editor *editCode; |
45 | QWidget *tabFileTemplate; |
46 | QHBoxLayout *horizontalLayout_5; |
47 | Editor *editFileTemplate; |
48 | |
49 | void setupUi(QWidget *EditorSnippetWidget) |
50 | { |
51 | if (EditorSnippetWidget->objectName().isEmpty()) |
52 | EditorSnippetWidget->setObjectName(QString::fromUtf8("EditorSnippetWidget" )); |
53 | EditorSnippetWidget->resize(932, 574); |
54 | horizontalLayout = new QHBoxLayout(EditorSnippetWidget); |
55 | horizontalLayout->setObjectName(QString::fromUtf8("horizontalLayout" )); |
56 | tabWidget = new QTabWidget(EditorSnippetWidget); |
57 | tabWidget->setObjectName(QString::fromUtf8("tabWidget" )); |
58 | tabSnippet = new QWidget(); |
59 | tabSnippet->setObjectName(QString::fromUtf8("tabSnippet" )); |
60 | horizontalLayout_3 = new QHBoxLayout(tabSnippet); |
61 | horizontalLayout_3->setObjectName(QString::fromUtf8("horizontalLayout_3" )); |
62 | splitter = new QSplitter(tabSnippet); |
63 | splitter->setObjectName(QString::fromUtf8("splitter" )); |
64 | splitter->setOrientation(Qt::Vertical); |
65 | widget = new QWidget(splitter); |
66 | widget->setObjectName(QString::fromUtf8("widget" )); |
67 | horizontalLayout_2 = new QHBoxLayout(widget); |
68 | horizontalLayout_2->setObjectName(QString::fromUtf8("horizontalLayout_2" )); |
69 | horizontalLayout_2->setContentsMargins(0, 0, 0, 0); |
70 | tblSnippets = new QTableView(widget); |
71 | tblSnippets->setObjectName(QString::fromUtf8("tblSnippets" )); |
72 | tblSnippets->setAlternatingRowColors(true); |
73 | tblSnippets->setSelectionMode(QAbstractItemView::SingleSelection); |
74 | tblSnippets->setSelectionBehavior(QAbstractItemView::SelectRows); |
75 | tblSnippets->setTextElideMode(Qt::ElideNone); |
76 | tblSnippets->horizontalHeader()->setStretchLastSection(true); |
77 | |
78 | horizontalLayout_2->addWidget(tblSnippets); |
79 | |
80 | widget_2 = new QWidget(widget); |
81 | widget_2->setObjectName(QString::fromUtf8("widget_2" )); |
82 | verticalLayout = new QVBoxLayout(widget_2); |
83 | verticalLayout->setObjectName(QString::fromUtf8("verticalLayout" )); |
84 | verticalLayout->setContentsMargins(0, 0, 0, 0); |
85 | btnAdd = new QToolButton(widget_2); |
86 | btnAdd->setObjectName(QString::fromUtf8("btnAdd" )); |
87 | QIcon icon; |
88 | icon.addFile(QString::fromUtf8(":/icons/images/newlook24/002-add.png" ), QSize(), QIcon::Normal, QIcon::Off); |
89 | btnAdd->setIcon(icon); |
90 | |
91 | verticalLayout->addWidget(btnAdd); |
92 | |
93 | btnRemove = new QToolButton(widget_2); |
94 | btnRemove->setObjectName(QString::fromUtf8("btnRemove" )); |
95 | QIcon icon1; |
96 | icon1.addFile(QString::fromUtf8(":/icons/images/newlook24/008-close.png" ), QSize(), QIcon::Normal, QIcon::Off); |
97 | btnRemove->setIcon(icon1); |
98 | |
99 | verticalLayout->addWidget(btnRemove); |
100 | |
101 | verticalSpacer = new QSpacerItem(20, 159, QSizePolicy::Minimum, QSizePolicy::Expanding); |
102 | |
103 | verticalLayout->addItem(verticalSpacer); |
104 | |
105 | |
106 | horizontalLayout_2->addWidget(widget_2); |
107 | |
108 | splitter->addWidget(widget); |
109 | editCode = new Editor(splitter); |
110 | editCode->setObjectName(QString::fromUtf8("editCode" )); |
111 | editCode->setFrameShape(QFrame::StyledPanel); |
112 | editCode->setFrameShadow(QFrame::Raised); |
113 | splitter->addWidget(editCode); |
114 | |
115 | horizontalLayout_3->addWidget(splitter); |
116 | |
117 | tabWidget->addTab(tabSnippet, QString()); |
118 | tabFileTemplate = new QWidget(); |
119 | tabFileTemplate->setObjectName(QString::fromUtf8("tabFileTemplate" )); |
120 | horizontalLayout_5 = new QHBoxLayout(tabFileTemplate); |
121 | horizontalLayout_5->setObjectName(QString::fromUtf8("horizontalLayout_5" )); |
122 | editFileTemplate = new Editor(tabFileTemplate); |
123 | editFileTemplate->setObjectName(QString::fromUtf8("editFileTemplate" )); |
124 | editFileTemplate->setFrameShape(QFrame::StyledPanel); |
125 | editFileTemplate->setFrameShadow(QFrame::Raised); |
126 | |
127 | horizontalLayout_5->addWidget(editFileTemplate); |
128 | |
129 | tabWidget->addTab(tabFileTemplate, QString()); |
130 | |
131 | horizontalLayout->addWidget(tabWidget); |
132 | |
133 | |
134 | retranslateUi(EditorSnippetWidget); |
135 | |
136 | tabWidget->setCurrentIndex(0); |
137 | |
138 | |
139 | QMetaObject::connectSlotsByName(EditorSnippetWidget); |
140 | } // setupUi |
141 | |
142 | void retranslateUi(QWidget *EditorSnippetWidget) |
143 | { |
144 | EditorSnippetWidget->setWindowTitle(QCoreApplication::translate("EditorSnippetWidget" , "Form" , nullptr)); |
145 | btnAdd->setText(QCoreApplication::translate("EditorSnippetWidget" , "Add" , nullptr)); |
146 | btnRemove->setText(QCoreApplication::translate("EditorSnippetWidget" , "Remove" , nullptr)); |
147 | tabWidget->setTabText(tabWidget->indexOf(tabSnippet), QCoreApplication::translate("EditorSnippetWidget" , "Code Snippets" , nullptr)); |
148 | tabWidget->setTabText(tabWidget->indexOf(tabFileTemplate), QCoreApplication::translate("EditorSnippetWidget" , "New File Template" , nullptr)); |
149 | } // retranslateUi |
150 | |
151 | }; |
152 | |
153 | namespace Ui { |
154 | class EditorSnippetWidget: public Ui_EditorSnippetWidget {}; |
155 | } // namespace Ui |
156 | |
157 | QT_END_NAMESPACE |
158 | |
159 | #endif // UI_EDITORSNIPPETWIDGET_H |
160 | |