source: SMSSender/ui_vcmain.h @ 44:e087b878bc49

3.0
Last change on this file since 44:e087b878bc49 was 44:e087b878bc49, checked in by Sämy Zehnder <saemy.zehnder@…>, 12 years ago
  • Removed unused libraries from project-files.
  • Fixed segfault on account creation (the default storage for a gateway is assigned at startup now; not in account loading, which was erroneous)
  • Removed versioning from Makefiles
File size: 12.2 KB
Line 
1/********************************************************************************
2** Form generated from reading ui file 'vcmain.ui'
3**
4** Created: Thu Jan 28 15:19:16 2010
5**      by: Qt User Interface Compiler version 4.5.2
6**
7** WARNING! All changes made in this file will be lost when recompiling ui file!
8********************************************************************************/
9
10#ifndef UI_VCMAIN_H
11#define UI_VCMAIN_H
12
13#include <QtCore/QVariant>
14#include <QtGui/QAction>
15#include <QtGui/QApplication>
16#include <QtGui/QButtonGroup>
17#include <QtGui/QComboBox>
18#include <QtGui/QGridLayout>
19#include <QtGui/QGroupBox>
20#include <QtGui/QHBoxLayout>
21#include <QtGui/QHeaderView>
22#include <QtGui/QMainWindow>
23#include <QtGui/QMenu>
24#include <QtGui/QMenuBar>
25#include <QtGui/QPushButton>
26#include <QtGui/QSpacerItem>
27#include <QtGui/QStatusBar>
28#include <QtGui/QTextEdit>
29#include <QtGui/QTreeWidget>
30#include <QtGui/QVBoxLayout>
31#include <QtGui/QWidget>
32
33QT_BEGIN_NAMESPACE
34
35class Ui_VCMainClass
36{
37public:
38    QAction *actionExit;
39    QAction *actionAbout;
40    QAction *actionPreferences;
41    QAction *actionAccounts;
42    QAction *actionAddressBook;
43    QAction *actionNewMessage;
44    QWidget *centralwidget;
45    QHBoxLayout *horizontalLayout_2;
46    QGroupBox *groupBox;
47    QVBoxLayout *verticalLayout_2;
48    QTextEdit *txtMessage;
49    QVBoxLayout *verticalLayout_3;
50    QGroupBox *groupBox_3;
51    QVBoxLayout *verticalLayout;
52    QComboBox *lstAccounts;
53    QGroupBox *groupBox_4;
54    QGridLayout *gridLayout;
55    QComboBox *lstContacts;
56    QPushButton *btnAddRecipient;
57    QSpacerItem *verticalSpacer;
58    QPushButton *btnRemoveRecipient;
59    QTreeWidget *treeRecipients;
60    QSpacerItem *verticalSpacer_2;
61    QHBoxLayout *horizontalLayout;
62    QSpacerItem *horizontalSpacer;
63    QPushButton *btnSend;
64    QSpacerItem *horizontalSpacer_2;
65    QMenuBar *menubar;
66    QMenu *menuFile;
67    QMenu *menuHelp;
68    QMenu *menu_Edit;
69    QStatusBar *statusbar;
70
71    void setupUi(QMainWindow *VCMainClass)
72    {
73        if (VCMainClass->objectName().isEmpty())
74            VCMainClass->setObjectName(QString::fromUtf8("VCMainClass"));
75        VCMainClass->resize(750, 411);
76        VCMainClass->setContextMenuPolicy(Qt::DefaultContextMenu);
77        actionExit = new QAction(VCMainClass);
78        actionExit->setObjectName(QString::fromUtf8("actionExit"));
79        QIcon icon;
80        icon.addFile(QString::fromUtf8(":/ico/exit.png"), QSize(), QIcon::Normal, QIcon::Off);
81        actionExit->setIcon(icon);
82        actionExit->setMenuRole(QAction::QuitRole);
83        actionAbout = new QAction(VCMainClass);
84        actionAbout->setObjectName(QString::fromUtf8("actionAbout"));
85        QIcon icon1;
86        icon1.addFile(QString::fromUtf8(":/ico/about.png"), QSize(), QIcon::Normal, QIcon::Off);
87        actionAbout->setIcon(icon1);
88        actionAbout->setShortcutContext(Qt::WidgetWithChildrenShortcut);
89        actionAbout->setMenuRole(QAction::AboutRole);
90        actionPreferences = new QAction(VCMainClass);
91        actionPreferences->setObjectName(QString::fromUtf8("actionPreferences"));
92        QIcon icon2;
93        icon2.addFile(QString::fromUtf8(":/ico/preferences.png"), QSize(), QIcon::Normal, QIcon::Off);
94        actionPreferences->setIcon(icon2);
95        actionPreferences->setMenuRole(QAction::PreferencesRole);
96        actionAccounts = new QAction(VCMainClass);
97        actionAccounts->setObjectName(QString::fromUtf8("actionAccounts"));
98        QIcon icon3;
99        icon3.addFile(QString::fromUtf8(":/ico/components.png"), QSize(), QIcon::Normal, QIcon::Off);
100        actionAccounts->setIcon(icon3);
101        actionAddressBook = new QAction(VCMainClass);
102        actionAddressBook->setObjectName(QString::fromUtf8("actionAddressBook"));
103        QIcon icon4;
104        icon4.addFile(QString::fromUtf8(":/ico/address_book.png"), QSize(), QIcon::Normal, QIcon::Off);
105        actionAddressBook->setIcon(icon4);
106        actionNewMessage = new QAction(VCMainClass);
107        actionNewMessage->setObjectName(QString::fromUtf8("actionNewMessage"));
108        QIcon icon5;
109        icon5.addFile(QString::fromUtf8(":/ico/sms_new.png"), QSize(), QIcon::Normal, QIcon::Off);
110        actionNewMessage->setIcon(icon5);
111        centralwidget = new QWidget(VCMainClass);
112        centralwidget->setObjectName(QString::fromUtf8("centralwidget"));
113        horizontalLayout_2 = new QHBoxLayout(centralwidget);
114        horizontalLayout_2->setObjectName(QString::fromUtf8("horizontalLayout_2"));
115        groupBox = new QGroupBox(centralwidget);
116        groupBox->setObjectName(QString::fromUtf8("groupBox"));
117        verticalLayout_2 = new QVBoxLayout(groupBox);
118        verticalLayout_2->setObjectName(QString::fromUtf8("verticalLayout_2"));
119        txtMessage = new QTextEdit(groupBox);
120        txtMessage->setObjectName(QString::fromUtf8("txtMessage"));
121        txtMessage->setTabChangesFocus(true);
122        txtMessage->setLineWrapMode(QTextEdit::WidgetWidth);
123        txtMessage->setAcceptRichText(false);
124
125        verticalLayout_2->addWidget(txtMessage);
126
127
128        horizontalLayout_2->addWidget(groupBox);
129
130        verticalLayout_3 = new QVBoxLayout();
131        verticalLayout_3->setObjectName(QString::fromUtf8("verticalLayout_3"));
132        groupBox_3 = new QGroupBox(centralwidget);
133        groupBox_3->setObjectName(QString::fromUtf8("groupBox_3"));
134        groupBox_3->setMaximumSize(QSize(269, 16777215));
135        verticalLayout = new QVBoxLayout(groupBox_3);
136        verticalLayout->setObjectName(QString::fromUtf8("verticalLayout"));
137        lstAccounts = new QComboBox(groupBox_3);
138        lstAccounts->setObjectName(QString::fromUtf8("lstAccounts"));
139        lstAccounts->setMinimumSize(QSize(0, 0));
140
141        verticalLayout->addWidget(lstAccounts);
142
143
144        verticalLayout_3->addWidget(groupBox_3);
145
146        groupBox_4 = new QGroupBox(centralwidget);
147        groupBox_4->setObjectName(QString::fromUtf8("groupBox_4"));
148        groupBox_4->setMaximumSize(QSize(269, 16777215));
149        gridLayout = new QGridLayout(groupBox_4);
150        gridLayout->setObjectName(QString::fromUtf8("gridLayout"));
151        lstContacts = new QComboBox(groupBox_4);
152        lstContacts->setObjectName(QString::fromUtf8("lstContacts"));
153        lstContacts->setEditable(true);
154        lstContacts->setMaxVisibleItems(10);
155        lstContacts->setInsertPolicy(QComboBox::NoInsert);
156
157        gridLayout->addWidget(lstContacts, 0, 0, 1, 1);
158
159        btnAddRecipient = new QPushButton(groupBox_4);
160        btnAddRecipient->setObjectName(QString::fromUtf8("btnAddRecipient"));
161
162        gridLayout->addWidget(btnAddRecipient, 0, 1, 1, 1);
163
164        verticalSpacer = new QSpacerItem(20, 98, QSizePolicy::Minimum, QSizePolicy::Expanding);
165
166        gridLayout->addItem(verticalSpacer, 2, 1, 1, 1);
167
168        btnRemoveRecipient = new QPushButton(groupBox_4);
169        btnRemoveRecipient->setObjectName(QString::fromUtf8("btnRemoveRecipient"));
170
171        gridLayout->addWidget(btnRemoveRecipient, 3, 1, 1, 1);
172
173        treeRecipients = new QTreeWidget(groupBox_4);
174        QTreeWidgetItem *__qtreewidgetitem = new QTreeWidgetItem();
175        __qtreewidgetitem->setText(0, QString::fromUtf8("1"));
176        treeRecipients->setHeaderItem(__qtreewidgetitem);
177        treeRecipients->setObjectName(QString::fromUtf8("treeRecipients"));
178        treeRecipients->setEditTriggers(QAbstractItemView::NoEditTriggers);
179        treeRecipients->setSelectionMode(QAbstractItemView::ExtendedSelection);
180        treeRecipients->setIconSize(QSize(24, 24));
181        treeRecipients->setColumnCount(1);
182        treeRecipients->header()->setVisible(false);
183
184        gridLayout->addWidget(treeRecipients, 1, 0, 3, 1);
185
186
187        verticalLayout_3->addWidget(groupBox_4);
188
189        verticalSpacer_2 = new QSpacerItem(20, 17, QSizePolicy::Minimum, QSizePolicy::Fixed);
190
191        verticalLayout_3->addItem(verticalSpacer_2);
192
193        horizontalLayout = new QHBoxLayout();
194        horizontalLayout->setObjectName(QString::fromUtf8("horizontalLayout"));
195        horizontalSpacer = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
196
197        horizontalLayout->addItem(horizontalSpacer);
198
199        btnSend = new QPushButton(centralwidget);
200        btnSend->setObjectName(QString::fromUtf8("btnSend"));
201        QSizePolicy sizePolicy(QSizePolicy::Fixed, QSizePolicy::Fixed);
202        sizePolicy.setHorizontalStretch(0);
203        sizePolicy.setVerticalStretch(0);
204        sizePolicy.setHeightForWidth(btnSend->sizePolicy().hasHeightForWidth());
205        btnSend->setSizePolicy(sizePolicy);
206        btnSend->setMinimumSize(QSize(111, 0));
207        btnSend->setMaximumSize(QSize(111, 16777215));
208
209        horizontalLayout->addWidget(btnSend);
210
211        horizontalSpacer_2 = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
212
213        horizontalLayout->addItem(horizontalSpacer_2);
214
215
216        verticalLayout_3->addLayout(horizontalLayout);
217
218
219        horizontalLayout_2->addLayout(verticalLayout_3);
220
221        horizontalLayout_2->setStretch(0, 1);
222        VCMainClass->setCentralWidget(centralwidget);
223        menubar = new QMenuBar(VCMainClass);
224        menubar->setObjectName(QString::fromUtf8("menubar"));
225        menubar->setGeometry(QRect(0, 0, 750, 24));
226        menuFile = new QMenu(menubar);
227        menuFile->setObjectName(QString::fromUtf8("menuFile"));
228        menuHelp = new QMenu(menubar);
229        menuHelp->setObjectName(QString::fromUtf8("menuHelp"));
230        menu_Edit = new QMenu(menubar);
231        menu_Edit->setObjectName(QString::fromUtf8("menu_Edit"));
232        VCMainClass->setMenuBar(menubar);
233        statusbar = new QStatusBar(VCMainClass);
234        statusbar->setObjectName(QString::fromUtf8("statusbar"));
235        VCMainClass->setStatusBar(statusbar);
236
237        menubar->addAction(menuFile->menuAction());
238        menubar->addAction(menu_Edit->menuAction());
239        menubar->addAction(menuHelp->menuAction());
240        menuFile->addAction(actionNewMessage);
241        menuFile->addAction(actionExit);
242        menuHelp->addAction(actionAbout);
243        menu_Edit->addAction(actionAccounts);
244        menu_Edit->addAction(actionAddressBook);
245        menu_Edit->addSeparator();
246        menu_Edit->addAction(actionPreferences);
247
248        retranslateUi(VCMainClass);
249        QObject::connect(actionExit, SIGNAL(activated()), VCMainClass, SLOT(close()));
250
251        lstContacts->setCurrentIndex(-1);
252
253
254        QMetaObject::connectSlotsByName(VCMainClass);
255    } // setupUi
256
257    void retranslateUi(QMainWindow *VCMainClass)
258    {
259        VCMainClass->setWindowTitle(QApplication::translate("VCMainClass", "SMSSender", 0, QApplication::UnicodeUTF8));
260        actionExit->setText(QApplication::translate("VCMainClass", "&Exit", 0, QApplication::UnicodeUTF8));
261        actionAbout->setText(QApplication::translate("VCMainClass", "&About", 0, QApplication::UnicodeUTF8));
262        actionPreferences->setText(QApplication::translate("VCMainClass", "Prefere&nces", 0, QApplication::UnicodeUTF8));
263        actionAccounts->setText(QApplication::translate("VCMainClass", "&Accounts", 0, QApplication::UnicodeUTF8));
264        actionAddressBook->setText(QApplication::translate("VCMainClass", "Address &Book", 0, QApplication::UnicodeUTF8));
265        actionNewMessage->setText(QApplication::translate("VCMainClass", "&New message", 0, QApplication::UnicodeUTF8));
266        groupBox->setTitle(QApplication::translate("VCMainClass", "Message", 0, QApplication::UnicodeUTF8));
267        groupBox_3->setTitle(QApplication::translate("VCMainClass", "Account", 0, QApplication::UnicodeUTF8));
268        groupBox_4->setTitle(QApplication::translate("VCMainClass", "Recipients", 0, QApplication::UnicodeUTF8));
269        btnAddRecipient->setText(QApplication::translate("VCMainClass", "Add", 0, QApplication::UnicodeUTF8));
270        btnRemoveRecipient->setText(QApplication::translate("VCMainClass", "Remove", 0, QApplication::UnicodeUTF8));
271        btnSend->setText(QApplication::translate("VCMainClass", "Send", 0, QApplication::UnicodeUTF8));
272        menuFile->setTitle(QApplication::translate("VCMainClass", "&File", 0, QApplication::UnicodeUTF8));
273        menuHelp->setTitle(QApplication::translate("VCMainClass", "&Help", 0, QApplication::UnicodeUTF8));
274        menu_Edit->setTitle(QApplication::translate("VCMainClass", "&Edit", 0, QApplication::UnicodeUTF8));
275    } // retranslateUi
276
277};
278
279namespace Ui {
280    class VCMainClass: public Ui_VCMainClass {};
281} // namespace Ui
282
283QT_END_NAMESPACE
284
285#endif // UI_VCMAIN_H
Note: See TracBrowser for help on using the repository browser.