~daniel-sonck/arduinostudio/devel

« back to all changes in this revision

Viewing changes to ui_codeeditor.h

  • Committer: Daniel Sonck
  • Date: 2012-02-05 01:14:01 UTC
  • Revision ID: daniel.sonck@ziggo.nl-20120205011401-4eni52huptny3woa
TheĀ initialĀ version

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/********************************************************************************
 
2
** Form generated from reading UI file 'codeeditor.ui'
 
3
**
 
4
** Created: Fri Aug 20 18:52:10 2010
 
5
**      by: Qt User Interface Compiler version 4.6.2
 
6
**
 
7
** WARNING! All changes made in this file will be lost when recompiling UI file!
 
8
********************************************************************************/
 
9
 
 
10
#ifndef UI_CODEEDITOR_H
 
11
#define UI_CODEEDITOR_H
 
12
 
 
13
#include <QtCore/QVariant>
 
14
#include <QtGui/QAction>
 
15
#include <QtGui/QApplication>
 
16
#include <QtGui/QButtonGroup>
 
17
#include <QtGui/QFrame>
 
18
#include <QtGui/QGridLayout>
 
19
#include <QtGui/QHeaderView>
 
20
#include <QtGui/QSpacerItem>
 
21
#include <QtGui/QStatusBar>
 
22
#include <QtGui/QTabBar>
 
23
#include <QtGui/QToolBar>
 
24
#include <QtGui/QToolButton>
 
25
#include <QtGui/QWidget>
 
26
#include "Qsci/qsciscintilla.h"
 
27
 
 
28
QT_BEGIN_NAMESPACE
 
29
 
 
30
class Ui_CodeEditor
 
31
{
 
32
public:
 
33
    QAction *m_actionTest;
 
34
    QAction *m_actionStop;
 
35
    QAction *m_actionUndo;
 
36
    QAction *m_actionRedo;
 
37
    QAction *m_actionAdd_File;
 
38
    QAction *m_actionRemove_File;
 
39
    QAction *actionSave;
 
40
    QAction *actionUpload;
 
41
    QGridLayout *gridLayout;
 
42
    QToolBar *m_toolBar;
 
43
    QWidget *widget;
 
44
    QGridLayout *gridLayout_2;
 
45
    QTabBar *m_documentOverview;
 
46
    QGridLayout *gridLayout_3;
 
47
    QToolButton *m_toolAdd;
 
48
    QSpacerItem *verticalSpacer;
 
49
    QToolButton *m_toolRem;
 
50
    QToolButton *m_toolRen;
 
51
    QToolButton *m_toolImp;
 
52
    QSpacerItem *verticalSpacer_2;
 
53
    QsciScintilla *m_textEdit;
 
54
    QStatusBar *m_status;
 
55
    QFrame *line;
 
56
 
 
57
    void setupUi(QWidget *CodeEditor)
 
58
    {
 
59
        if (CodeEditor->objectName().isEmpty())
 
60
            CodeEditor->setObjectName(QString::fromUtf8("CodeEditor"));
 
61
        CodeEditor->resize(400, 300);
 
62
        m_actionTest = new QAction(CodeEditor);
 
63
        m_actionTest->setObjectName(QString::fromUtf8("m_actionTest"));
 
64
        QIcon icon;
 
65
        icon.addFile(QString::fromUtf8(":/images/sketch/start.png"), QSize(), QIcon::Normal, QIcon::Off);
 
66
        m_actionTest->setIcon(icon);
 
67
        m_actionStop = new QAction(CodeEditor);
 
68
        m_actionStop->setObjectName(QString::fromUtf8("m_actionStop"));
 
69
        QIcon icon1;
 
70
        icon1.addFile(QString::fromUtf8(":/images/sketch/stop.png"), QSize(), QIcon::Normal, QIcon::Off);
 
71
        m_actionStop->setIcon(icon1);
 
72
        m_actionUndo = new QAction(CodeEditor);
 
73
        m_actionUndo->setObjectName(QString::fromUtf8("m_actionUndo"));
 
74
        QIcon icon2;
 
75
        icon2.addFile(QString::fromUtf8(":/images/edit/undo.png"), QSize(), QIcon::Normal, QIcon::Off);
 
76
        m_actionUndo->setIcon(icon2);
 
77
        m_actionRedo = new QAction(CodeEditor);
 
78
        m_actionRedo->setObjectName(QString::fromUtf8("m_actionRedo"));
 
79
        QIcon icon3;
 
80
        icon3.addFile(QString::fromUtf8(":/images/edit/redo.png"), QSize(), QIcon::Normal, QIcon::Off);
 
81
        m_actionRedo->setIcon(icon3);
 
82
        m_actionAdd_File = new QAction(CodeEditor);
 
83
        m_actionAdd_File->setObjectName(QString::fromUtf8("m_actionAdd_File"));
 
84
        m_actionAdd_File->setEnabled(false);
 
85
        QIcon icon4;
 
86
        icon4.addFile(QString::fromUtf8(":/images/tiny/add.png"), QSize(), QIcon::Normal, QIcon::Off);
 
87
        m_actionAdd_File->setIcon(icon4);
 
88
        m_actionRemove_File = new QAction(CodeEditor);
 
89
        m_actionRemove_File->setObjectName(QString::fromUtf8("m_actionRemove_File"));
 
90
        m_actionRemove_File->setEnabled(false);
 
91
        QIcon icon5;
 
92
        icon5.addFile(QString::fromUtf8(":/images/tiny/rem.png"), QSize(), QIcon::Normal, QIcon::Off);
 
93
        m_actionRemove_File->setIcon(icon5);
 
94
        actionSave = new QAction(CodeEditor);
 
95
        actionSave->setObjectName(QString::fromUtf8("actionSave"));
 
96
        QIcon icon6;
 
97
        icon6.addFile(QString::fromUtf8(":/images/std/save.png"), QSize(), QIcon::Normal, QIcon::Off);
 
98
        actionSave->setIcon(icon6);
 
99
        actionUpload = new QAction(CodeEditor);
 
100
        actionUpload->setObjectName(QString::fromUtf8("actionUpload"));
 
101
        gridLayout = new QGridLayout(CodeEditor);
 
102
        gridLayout->setSpacing(0);
 
103
        gridLayout->setContentsMargins(0, 0, 0, 0);
 
104
        gridLayout->setObjectName(QString::fromUtf8("gridLayout"));
 
105
        m_toolBar = new QToolBar(CodeEditor);
 
106
        m_toolBar->setObjectName(QString::fromUtf8("m_toolBar"));
 
107
        QSizePolicy sizePolicy(QSizePolicy::Minimum, QSizePolicy::Fixed);
 
108
        sizePolicy.setHorizontalStretch(0);
 
109
        sizePolicy.setVerticalStretch(0);
 
110
        sizePolicy.setHeightForWidth(m_toolBar->sizePolicy().hasHeightForWidth());
 
111
        m_toolBar->setSizePolicy(sizePolicy);
 
112
        m_toolBar->setIconSize(QSize(24, 24));
 
113
 
 
114
        gridLayout->addWidget(m_toolBar, 0, 0, 1, 1);
 
115
 
 
116
        widget = new QWidget(CodeEditor);
 
117
        widget->setObjectName(QString::fromUtf8("widget"));
 
118
        QSizePolicy sizePolicy1(QSizePolicy::Preferred, QSizePolicy::Fixed);
 
119
        sizePolicy1.setHorizontalStretch(0);
 
120
        sizePolicy1.setVerticalStretch(0);
 
121
        sizePolicy1.setHeightForWidth(widget->sizePolicy().hasHeightForWidth());
 
122
        widget->setSizePolicy(sizePolicy1);
 
123
        gridLayout_2 = new QGridLayout(widget);
 
124
        gridLayout_2->setSpacing(0);
 
125
        gridLayout_2->setContentsMargins(0, 0, 0, 0);
 
126
        gridLayout_2->setObjectName(QString::fromUtf8("gridLayout_2"));
 
127
        m_documentOverview = new QTabBar(widget);
 
128
        m_documentOverview->setObjectName(QString::fromUtf8("m_documentOverview"));
 
129
        QSizePolicy sizePolicy2(QSizePolicy::Expanding, QSizePolicy::Preferred);
 
130
        sizePolicy2.setHorizontalStretch(0);
 
131
        sizePolicy2.setVerticalStretch(0);
 
132
        sizePolicy2.setHeightForWidth(m_documentOverview->sizePolicy().hasHeightForWidth());
 
133
        m_documentOverview->setSizePolicy(sizePolicy2);
 
134
        m_documentOverview->setMinimumSize(QSize(0, 14));
 
135
        m_documentOverview->setProperty("tabsClosable", QVariant(true));
 
136
 
 
137
        gridLayout_2->addWidget(m_documentOverview, 1, 0, 1, 1);
 
138
 
 
139
        gridLayout_3 = new QGridLayout();
 
140
        gridLayout_3->setSpacing(0);
 
141
        gridLayout_3->setContentsMargins(0, 0, 0, 0);
 
142
        gridLayout_3->setObjectName(QString::fromUtf8("gridLayout_3"));
 
143
        m_toolAdd = new QToolButton(widget);
 
144
        m_toolAdd->setObjectName(QString::fromUtf8("m_toolAdd"));
 
145
        m_toolAdd->setIcon(icon4);
 
146
        m_toolAdd->setIconSize(QSize(8, 8));
 
147
        m_toolAdd->setAutoRaise(true);
 
148
 
 
149
        gridLayout_3->addWidget(m_toolAdd, 0, 0, 1, 1);
 
150
 
 
151
        verticalSpacer = new QSpacerItem(1, 1, QSizePolicy::Minimum, QSizePolicy::Expanding);
 
152
 
 
153
        gridLayout_3->addItem(verticalSpacer, 2, 0, 1, 2);
 
154
 
 
155
        m_toolRem = new QToolButton(widget);
 
156
        m_toolRem->setObjectName(QString::fromUtf8("m_toolRem"));
 
157
        m_toolRem->setIcon(icon5);
 
158
        m_toolRem->setIconSize(QSize(8, 8));
 
159
        m_toolRem->setAutoRaise(true);
 
160
 
 
161
        gridLayout_3->addWidget(m_toolRem, 0, 1, 1, 1);
 
162
 
 
163
        m_toolRen = new QToolButton(widget);
 
164
        m_toolRen->setObjectName(QString::fromUtf8("m_toolRen"));
 
165
        QIcon icon7;
 
166
        icon7.addFile(QString::fromUtf8(":/images/tiny/ren.png"), QSize(), QIcon::Normal, QIcon::Off);
 
167
        m_toolRen->setIcon(icon7);
 
168
        m_toolRen->setIconSize(QSize(8, 8));
 
169
        m_toolRen->setAutoRaise(true);
 
170
 
 
171
        gridLayout_3->addWidget(m_toolRen, 1, 0, 1, 1);
 
172
 
 
173
        m_toolImp = new QToolButton(widget);
 
174
        m_toolImp->setObjectName(QString::fromUtf8("m_toolImp"));
 
175
        QIcon icon8;
 
176
        icon8.addFile(QString::fromUtf8(":/images/tiny/imp.png"), QSize(), QIcon::Normal, QIcon::Off);
 
177
        m_toolImp->setIcon(icon8);
 
178
        m_toolImp->setIconSize(QSize(8, 8));
 
179
        m_toolImp->setAutoRaise(true);
 
180
 
 
181
        gridLayout_3->addWidget(m_toolImp, 1, 1, 1, 1);
 
182
 
 
183
 
 
184
        gridLayout_2->addLayout(gridLayout_3, 0, 1, 2, 1);
 
185
 
 
186
        verticalSpacer_2 = new QSpacerItem(0, 0, QSizePolicy::Minimum, QSizePolicy::Expanding);
 
187
 
 
188
        gridLayout_2->addItem(verticalSpacer_2, 0, 0, 1, 1);
 
189
 
 
190
 
 
191
        gridLayout->addWidget(widget, 2, 0, 1, 1);
 
192
 
 
193
        m_textEdit = new QsciScintilla(CodeEditor);
 
194
        m_textEdit->setObjectName(QString::fromUtf8("m_textEdit"));
 
195
 
 
196
        gridLayout->addWidget(m_textEdit, 3, 0, 1, 1);
 
197
 
 
198
        m_status = new QStatusBar(CodeEditor);
 
199
        m_status->setObjectName(QString::fromUtf8("m_status"));
 
200
 
 
201
        gridLayout->addWidget(m_status, 4, 0, 1, 1);
 
202
 
 
203
        line = new QFrame(CodeEditor);
 
204
        line->setObjectName(QString::fromUtf8("line"));
 
205
        line->setFrameShape(QFrame::HLine);
 
206
        line->setFrameShadow(QFrame::Sunken);
 
207
 
 
208
        gridLayout->addWidget(line, 1, 0, 1, 1);
 
209
 
 
210
 
 
211
        m_toolBar->addAction(m_actionTest);
 
212
        m_toolBar->addAction(m_actionStop);
 
213
        m_toolBar->addSeparator();
 
214
        m_toolBar->addAction(m_actionUndo);
 
215
        m_toolBar->addAction(m_actionRedo);
 
216
        m_toolBar->addSeparator();
 
217
        m_toolBar->addAction(actionSave);
 
218
        m_toolBar->addSeparator();
 
219
        m_toolBar->addAction(actionUpload);
 
220
 
 
221
        retranslateUi(CodeEditor);
 
222
        QObject::connect(m_actionUndo, SIGNAL(triggered()), m_textEdit, SLOT(undo()));
 
223
        QObject::connect(m_actionRedo, SIGNAL(triggered()), m_textEdit, SLOT(redo()));
 
224
 
 
225
        QMetaObject::connectSlotsByName(CodeEditor);
 
226
    } // setupUi
 
227
 
 
228
    void retranslateUi(QWidget *CodeEditor)
 
229
    {
 
230
        CodeEditor->setWindowTitle(QApplication::translate("CodeEditor", "CodeEditor", 0, QApplication::UnicodeUTF8));
 
231
        m_actionTest->setText(QApplication::translate("CodeEditor", "Test", 0, QApplication::UnicodeUTF8));
 
232
#ifndef QT_NO_STATUSTIP
 
233
        m_actionTest->setStatusTip(QApplication::translate("CodeEditor", "Start compiling", 0, QApplication::UnicodeUTF8));
 
234
#endif // QT_NO_STATUSTIP
 
235
        m_actionStop->setText(QApplication::translate("CodeEditor", "Stop", 0, QApplication::UnicodeUTF8));
 
236
#ifndef QT_NO_STATUSTIP
 
237
        m_actionStop->setStatusTip(QApplication::translate("CodeEditor", "Cancel the compilation", 0, QApplication::UnicodeUTF8));
 
238
#endif // QT_NO_STATUSTIP
 
239
        m_actionUndo->setText(QApplication::translate("CodeEditor", "Undo", 0, QApplication::UnicodeUTF8));
 
240
#ifndef QT_NO_STATUSTIP
 
241
        m_actionUndo->setStatusTip(QApplication::translate("CodeEditor", "Undo the last action", 0, QApplication::UnicodeUTF8));
 
242
#endif // QT_NO_STATUSTIP
 
243
        m_actionRedo->setText(QApplication::translate("CodeEditor", "Redo", 0, QApplication::UnicodeUTF8));
 
244
#ifndef QT_NO_STATUSTIP
 
245
        m_actionRedo->setStatusTip(QApplication::translate("CodeEditor", "Redo the last action", 0, QApplication::UnicodeUTF8));
 
246
#endif // QT_NO_STATUSTIP
 
247
        m_actionAdd_File->setText(QApplication::translate("CodeEditor", "Add File", 0, QApplication::UnicodeUTF8));
 
248
#ifndef QT_NO_STATUSTIP
 
249
        m_actionAdd_File->setStatusTip(QApplication::translate("CodeEditor", "Add a new source file", 0, QApplication::UnicodeUTF8));
 
250
#endif // QT_NO_STATUSTIP
 
251
        m_actionRemove_File->setText(QApplication::translate("CodeEditor", "Remove File", 0, QApplication::UnicodeUTF8));
 
252
#ifndef QT_NO_STATUSTIP
 
253
        m_actionRemove_File->setStatusTip(QApplication::translate("CodeEditor", "Remove the current source file", 0, QApplication::UnicodeUTF8));
 
254
#endif // QT_NO_STATUSTIP
 
255
        actionSave->setText(QApplication::translate("CodeEditor", "Save", 0, QApplication::UnicodeUTF8));
 
256
#ifndef QT_NO_STATUSTIP
 
257
        actionSave->setStatusTip(QApplication::translate("CodeEditor", "Save the current file", 0, QApplication::UnicodeUTF8));
 
258
#endif // QT_NO_STATUSTIP
 
259
        actionUpload->setText(QApplication::translate("CodeEditor", "Upload", 0, QApplication::UnicodeUTF8));
 
260
#ifndef QT_NO_STATUSTIP
 
261
        actionUpload->setStatusTip(QApplication::translate("CodeEditor", "Start the upload", 0, QApplication::UnicodeUTF8));
 
262
#endif // QT_NO_STATUSTIP
 
263
#ifndef QT_NO_TOOLTIP
 
264
        m_toolAdd->setToolTip(QApplication::translate("CodeEditor", "Add file", 0, QApplication::UnicodeUTF8));
 
265
#endif // QT_NO_TOOLTIP
 
266
#ifndef QT_NO_STATUSTIP
 
267
        m_toolAdd->setStatusTip(QApplication::translate("CodeEditor", "Add a new source file", 0, QApplication::UnicodeUTF8));
 
268
#endif // QT_NO_STATUSTIP
 
269
        m_toolAdd->setText(QApplication::translate("CodeEditor", "...", 0, QApplication::UnicodeUTF8));
 
270
#ifndef QT_NO_TOOLTIP
 
271
        m_toolRem->setToolTip(QApplication::translate("CodeEditor", "Remove file", 0, QApplication::UnicodeUTF8));
 
272
#endif // QT_NO_TOOLTIP
 
273
#ifndef QT_NO_STATUSTIP
 
274
        m_toolRem->setStatusTip(QApplication::translate("CodeEditor", "Remove the current source file", 0, QApplication::UnicodeUTF8));
 
275
#endif // QT_NO_STATUSTIP
 
276
        m_toolRem->setText(QApplication::translate("CodeEditor", "...", 0, QApplication::UnicodeUTF8));
 
277
#ifndef QT_NO_TOOLTIP
 
278
        m_toolRen->setToolTip(QApplication::translate("CodeEditor", "Rename file", 0, QApplication::UnicodeUTF8));
 
279
#endif // QT_NO_TOOLTIP
 
280
#ifndef QT_NO_STATUSTIP
 
281
        m_toolRen->setStatusTip(QApplication::translate("CodeEditor", "Rename the current source file", 0, QApplication::UnicodeUTF8));
 
282
#endif // QT_NO_STATUSTIP
 
283
        m_toolRen->setText(QApplication::translate("CodeEditor", "...", 0, QApplication::UnicodeUTF8));
 
284
#ifndef QT_NO_TOOLTIP
 
285
        m_toolImp->setToolTip(QApplication::translate("CodeEditor", "Import", 0, QApplication::UnicodeUTF8));
 
286
#endif // QT_NO_TOOLTIP
 
287
#ifndef QT_NO_STATUSTIP
 
288
        m_toolImp->setStatusTip(QApplication::translate("CodeEditor", "Import an existing source file", 0, QApplication::UnicodeUTF8));
 
289
#endif // QT_NO_STATUSTIP
 
290
        m_toolImp->setText(QApplication::translate("CodeEditor", "...", 0, QApplication::UnicodeUTF8));
 
291
#ifndef QT_NO_TOOLTIP
 
292
        m_textEdit->setToolTip(QString());
 
293
#endif // QT_NO_TOOLTIP
 
294
#ifndef QT_NO_WHATSTHIS
 
295
        m_textEdit->setWhatsThis(QString());
 
296
#endif // QT_NO_WHATSTHIS
 
297
    } // retranslateUi
 
298
 
 
299
};
 
300
 
 
301
namespace Ui {
 
302
    class CodeEditor: public Ui_CodeEditor {};
 
303
} // namespace Ui
 
304
 
 
305
QT_END_NAMESPACE
 
306
 
 
307
#endif // UI_CODEEDITOR_H