1 | /******************************************************************************** |
---|
2 | ** Form generated from reading ui file 'vcaccountlist.ui' |
---|
3 | ** |
---|
4 | ** Created: Tue Jan 26 20:40:59 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_VCACCOUNTLIST_H |
---|
11 | #define UI_VCACCOUNTLIST_H |
---|
12 | |
---|
13 | #include <QtCore/QVariant> |
---|
14 | #include <QtGui/QAction> |
---|
15 | #include <QtGui/QApplication> |
---|
16 | #include <QtGui/QButtonGroup> |
---|
17 | #include <QtGui/QDialog> |
---|
18 | #include <QtGui/QGridLayout> |
---|
19 | #include <QtGui/QHeaderView> |
---|
20 | #include <QtGui/QPushButton> |
---|
21 | #include <QtGui/QSpacerItem> |
---|
22 | #include <QtGui/QTableView> |
---|
23 | #include "searchlineedit.h" |
---|
24 | |
---|
25 | QT_BEGIN_NAMESPACE |
---|
26 | |
---|
27 | class Ui_VCAccountListClass |
---|
28 | { |
---|
29 | public: |
---|
30 | QGridLayout *gridLayout; |
---|
31 | QPushButton *btnAddAccount; |
---|
32 | QPushButton *btnRemoveAccount; |
---|
33 | QPushButton *btnEditAccount; |
---|
34 | QSpacerItem *horizontalSpacer; |
---|
35 | SearchLineEdit *edtAccountFilter; |
---|
36 | QTableView *tblViewAccounts; |
---|
37 | QSpacerItem *horizontalSpacer_13; |
---|
38 | QSpacerItem *verticalSpacer; |
---|
39 | QPushButton *btnClose; |
---|
40 | |
---|
41 | void setupUi(QDialog *VCAccountListClass) |
---|
42 | { |
---|
43 | if (VCAccountListClass->objectName().isEmpty()) |
---|
44 | VCAccountListClass->setObjectName(QString::fromUtf8("VCAccountListClass")); |
---|
45 | VCAccountListClass->resize(611, 400); |
---|
46 | gridLayout = new QGridLayout(VCAccountListClass); |
---|
47 | gridLayout->setSpacing(6); |
---|
48 | gridLayout->setMargin(11); |
---|
49 | gridLayout->setObjectName(QString::fromUtf8("gridLayout")); |
---|
50 | btnAddAccount = new QPushButton(VCAccountListClass); |
---|
51 | btnAddAccount->setObjectName(QString::fromUtf8("btnAddAccount")); |
---|
52 | btnAddAccount->setMinimumSize(QSize(34, 34)); |
---|
53 | btnAddAccount->setMaximumSize(QSize(34, 34)); |
---|
54 | QIcon icon; |
---|
55 | icon.addFile(QString::fromUtf8(":/ico/add.png"), QSize(), QIcon::Normal, QIcon::Off); |
---|
56 | btnAddAccount->setIcon(icon); |
---|
57 | |
---|
58 | gridLayout->addWidget(btnAddAccount, 0, 0, 1, 1); |
---|
59 | |
---|
60 | btnRemoveAccount = new QPushButton(VCAccountListClass); |
---|
61 | btnRemoveAccount->setObjectName(QString::fromUtf8("btnRemoveAccount")); |
---|
62 | btnRemoveAccount->setMinimumSize(QSize(34, 34)); |
---|
63 | btnRemoveAccount->setMaximumSize(QSize(34, 34)); |
---|
64 | QIcon icon1; |
---|
65 | icon1.addFile(QString::fromUtf8(":/ico/remove.png"), QSize(), QIcon::Normal, QIcon::Off); |
---|
66 | btnRemoveAccount->setIcon(icon1); |
---|
67 | |
---|
68 | gridLayout->addWidget(btnRemoveAccount, 0, 1, 1, 1); |
---|
69 | |
---|
70 | btnEditAccount = new QPushButton(VCAccountListClass); |
---|
71 | btnEditAccount->setObjectName(QString::fromUtf8("btnEditAccount")); |
---|
72 | btnEditAccount->setMinimumSize(QSize(34, 34)); |
---|
73 | btnEditAccount->setMaximumSize(QSize(34, 34)); |
---|
74 | QIcon icon2; |
---|
75 | icon2.addFile(QString::fromUtf8(":/ico/edit.png"), QSize(), QIcon::Normal, QIcon::Off); |
---|
76 | btnEditAccount->setIcon(icon2); |
---|
77 | |
---|
78 | gridLayout->addWidget(btnEditAccount, 0, 2, 1, 1); |
---|
79 | |
---|
80 | horizontalSpacer = new QSpacerItem(363, 20, QSizePolicy::Expanding, QSizePolicy::Minimum); |
---|
81 | |
---|
82 | gridLayout->addItem(horizontalSpacer, 0, 3, 1, 1); |
---|
83 | |
---|
84 | edtAccountFilter = new SearchLineEdit(VCAccountListClass); |
---|
85 | edtAccountFilter->setObjectName(QString::fromUtf8("edtAccountFilter")); |
---|
86 | edtAccountFilter->setMinimumSize(QSize(141, 26)); |
---|
87 | edtAccountFilter->setMaximumSize(QSize(16777215, 26)); |
---|
88 | |
---|
89 | gridLayout->addWidget(edtAccountFilter, 0, 4, 1, 2); |
---|
90 | |
---|
91 | tblViewAccounts = new QTableView(VCAccountListClass); |
---|
92 | tblViewAccounts->setObjectName(QString::fromUtf8("tblViewAccounts")); |
---|
93 | tblViewAccounts->setEditTriggers(QAbstractItemView::AnyKeyPressed|QAbstractItemView::DoubleClicked|QAbstractItemView::EditKeyPressed|QAbstractItemView::SelectedClicked); |
---|
94 | tblViewAccounts->setAlternatingRowColors(true); |
---|
95 | tblViewAccounts->setSelectionBehavior(QAbstractItemView::SelectRows); |
---|
96 | tblViewAccounts->setIconSize(QSize(16, 16)); |
---|
97 | tblViewAccounts->setShowGrid(false); |
---|
98 | tblViewAccounts->setSortingEnabled(true); |
---|
99 | tblViewAccounts->horizontalHeader()->setCascadingSectionResizes(true); |
---|
100 | tblViewAccounts->verticalHeader()->setVisible(false); |
---|
101 | |
---|
102 | gridLayout->addWidget(tblViewAccounts, 1, 0, 1, 6); |
---|
103 | |
---|
104 | horizontalSpacer_13 = new QSpacerItem(492, 20, QSizePolicy::Expanding, QSizePolicy::Minimum); |
---|
105 | |
---|
106 | gridLayout->addItem(horizontalSpacer_13, 3, 0, 1, 5); |
---|
107 | |
---|
108 | verticalSpacer = new QSpacerItem(20, 3, QSizePolicy::Minimum, QSizePolicy::Fixed); |
---|
109 | |
---|
110 | gridLayout->addItem(verticalSpacer, 2, 5, 1, 1); |
---|
111 | |
---|
112 | btnClose = new QPushButton(VCAccountListClass); |
---|
113 | btnClose->setObjectName(QString::fromUtf8("btnClose")); |
---|
114 | btnClose->setMinimumSize(QSize(92, 0)); |
---|
115 | QIcon icon3; |
---|
116 | icon3.addFile(QString::fromUtf8(":/ico/close_cancel.png"), QSize(), QIcon::Normal, QIcon::Off); |
---|
117 | btnClose->setIcon(icon3); |
---|
118 | |
---|
119 | gridLayout->addWidget(btnClose, 3, 5, 1, 1); |
---|
120 | |
---|
121 | |
---|
122 | retranslateUi(VCAccountListClass); |
---|
123 | QObject::connect(btnClose, SIGNAL(clicked()), VCAccountListClass, SLOT(close())); |
---|
124 | |
---|
125 | QMetaObject::connectSlotsByName(VCAccountListClass); |
---|
126 | } // setupUi |
---|
127 | |
---|
128 | void retranslateUi(QDialog *VCAccountListClass) |
---|
129 | { |
---|
130 | VCAccountListClass->setWindowTitle(QApplication::translate("VCAccountListClass", "Accounts", 0, QApplication::UnicodeUTF8)); |
---|
131 | #ifndef QT_NO_TOOLTIP |
---|
132 | btnAddAccount->setToolTip(QApplication::translate("VCAccountListClass", "Add new account", 0, QApplication::UnicodeUTF8)); |
---|
133 | #endif // QT_NO_TOOLTIP |
---|
134 | btnAddAccount->setText(QString()); |
---|
135 | #ifndef QT_NO_TOOLTIP |
---|
136 | btnRemoveAccount->setToolTip(QApplication::translate("VCAccountListClass", "Remove account", 0, QApplication::UnicodeUTF8)); |
---|
137 | #endif // QT_NO_TOOLTIP |
---|
138 | btnRemoveAccount->setText(QString()); |
---|
139 | #ifndef QT_NO_TOOLTIP |
---|
140 | btnEditAccount->setToolTip(QApplication::translate("VCAccountListClass", "Edit account", 0, QApplication::UnicodeUTF8)); |
---|
141 | #endif // QT_NO_TOOLTIP |
---|
142 | btnEditAccount->setText(QString()); |
---|
143 | edtAccountFilter->setProperty("inactiveText", QVariant(QApplication::translate("VCAccountListClass", "Filter...", 0, QApplication::UnicodeUTF8))); |
---|
144 | btnClose->setText(QApplication::translate("VCAccountListClass", "Close", 0, QApplication::UnicodeUTF8)); |
---|
145 | Q_UNUSED(VCAccountListClass); |
---|
146 | } // retranslateUi |
---|
147 | |
---|
148 | }; |
---|
149 | |
---|
150 | namespace Ui { |
---|
151 | class VCAccountListClass: public Ui_VCAccountListClass {}; |
---|
152 | } // namespace Ui |
---|
153 | |
---|
154 | QT_END_NAMESPACE |
---|
155 | |
---|
156 | #endif // UI_VCACCOUNTLIST_H |
---|