~ubuntu-branches/ubuntu/hardy/qgis/hardy

« back to all changes in this revision

Viewing changes to src/ui/ui_qgsattributetablebase.h

  • Committer: Bazaar Package Importer
  • Author(s): William Grant
  • Date: 2007-05-06 13:42:32 UTC
  • mfrom: (1.1.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20070506134232-pyli6t388w5asd8x
Tags: 0.8.0-3ubuntu1
* Merge from Debian unstable. Remaining Ubuntu changes:
  - debian/rules, debian/qgis.install, debian/qgis.dirs debian/qgis.desktop:
    Add and install .desktop.
* debian/qgis.desktop: Remove Applications category; it's not real.
* Modify Maintainer value to match Debian-Maintainer-Field Spec

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/********************************************************************************
 
2
** Form generated from reading ui file 'qgsattributetablebase.ui'
 
3
**
 
4
** Created: Sat Dec 30 02:00:16 2006
 
5
**      by: Qt User Interface Compiler version 4.2.2
 
6
**
 
7
** WARNING! All changes made in this file will be lost when recompiling ui file!
 
8
********************************************************************************/
 
9
 
 
10
#ifndef UI_QGSATTRIBUTETABLEBASE_H
 
11
#define UI_QGSATTRIBUTETABLEBASE_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/QDialog>
 
19
#include <QtGui/QGridLayout>
 
20
#include <QtGui/QHBoxLayout>
 
21
#include <QtGui/QLabel>
 
22
#include <QtGui/QLineEdit>
 
23
#include <QtGui/QPushButton>
 
24
#include <QtGui/QSpacerItem>
 
25
#include <QtGui/QToolButton>
 
26
#include "qgsattributetable.h"
 
27
 
 
28
class Ui_QgsAttributeTableBase
 
29
{
 
30
public:
 
31
    QGridLayout *gridLayout;
 
32
    QHBoxLayout *hboxLayout;
 
33
    QPushButton *btnHelp;
 
34
    QLabel *textLabel1;
 
35
    QLineEdit *mSearchText;
 
36
    QLabel *textLabel2;
 
37
    QComboBox *mSearchColumns;
 
38
    QPushButton *mSearchButton;
 
39
    QComboBox *mSearchShowResults;
 
40
    QPushButton *btnAdvancedSearch;
 
41
    QPushButton *btnClose;
 
42
    QgsAttributeTable *tblAttributes;
 
43
    QHBoxLayout *hboxLayout1;
 
44
    QToolButton *mRemoveSelectionButton;
 
45
    QToolButton *mSelectedToTopButton;
 
46
    QToolButton *mInvertSelectionButton;
 
47
    QToolButton *mCopySelectedRowsButton;
 
48
    QToolButton *mAddAttributeButton;
 
49
    QToolButton *mDeleteAttributeButton;
 
50
    QSpacerItem *spacerItem;
 
51
    QPushButton *btnStartEditing;
 
52
    QPushButton *btnStopEditing;
 
53
 
 
54
    void setupUi(QDialog *QgsAttributeTableBase)
 
55
    {
 
56
    QgsAttributeTableBase->setObjectName(QString::fromUtf8("QgsAttributeTableBase"));
 
57
    QgsAttributeTableBase->setWindowIcon(QIcon());
 
58
    gridLayout = new QGridLayout(QgsAttributeTableBase);
 
59
    gridLayout->setSpacing(6);
 
60
    gridLayout->setMargin(9);
 
61
    gridLayout->setObjectName(QString::fromUtf8("gridLayout"));
 
62
    hboxLayout = new QHBoxLayout();
 
63
    hboxLayout->setSpacing(6);
 
64
    hboxLayout->setMargin(0);
 
65
    hboxLayout->setObjectName(QString::fromUtf8("hboxLayout"));
 
66
    btnHelp = new QPushButton(QgsAttributeTableBase);
 
67
    btnHelp->setObjectName(QString::fromUtf8("btnHelp"));
 
68
 
 
69
    hboxLayout->addWidget(btnHelp);
 
70
 
 
71
    textLabel1 = new QLabel(QgsAttributeTableBase);
 
72
    textLabel1->setObjectName(QString::fromUtf8("textLabel1"));
 
73
 
 
74
    hboxLayout->addWidget(textLabel1);
 
75
 
 
76
    mSearchText = new QLineEdit(QgsAttributeTableBase);
 
77
    mSearchText->setObjectName(QString::fromUtf8("mSearchText"));
 
78
 
 
79
    hboxLayout->addWidget(mSearchText);
 
80
 
 
81
    textLabel2 = new QLabel(QgsAttributeTableBase);
 
82
    textLabel2->setObjectName(QString::fromUtf8("textLabel2"));
 
83
 
 
84
    hboxLayout->addWidget(textLabel2);
 
85
 
 
86
    mSearchColumns = new QComboBox(QgsAttributeTableBase);
 
87
    mSearchColumns->setObjectName(QString::fromUtf8("mSearchColumns"));
 
88
    QSizePolicy sizePolicy(static_cast<QSizePolicy::Policy>(7), static_cast<QSizePolicy::Policy>(0));
 
89
    sizePolicy.setHorizontalStretch(0);
 
90
    sizePolicy.setVerticalStretch(0);
 
91
    sizePolicy.setHeightForWidth(mSearchColumns->sizePolicy().hasHeightForWidth());
 
92
    mSearchColumns->setSizePolicy(sizePolicy);
 
93
 
 
94
    hboxLayout->addWidget(mSearchColumns);
 
95
 
 
96
    mSearchButton = new QPushButton(QgsAttributeTableBase);
 
97
    mSearchButton->setObjectName(QString::fromUtf8("mSearchButton"));
 
98
 
 
99
    hboxLayout->addWidget(mSearchButton);
 
100
 
 
101
    mSearchShowResults = new QComboBox(QgsAttributeTableBase);
 
102
    mSearchShowResults->setObjectName(QString::fromUtf8("mSearchShowResults"));
 
103
 
 
104
    hboxLayout->addWidget(mSearchShowResults);
 
105
 
 
106
    btnAdvancedSearch = new QPushButton(QgsAttributeTableBase);
 
107
    btnAdvancedSearch->setObjectName(QString::fromUtf8("btnAdvancedSearch"));
 
108
 
 
109
    hboxLayout->addWidget(btnAdvancedSearch);
 
110
 
 
111
    btnClose = new QPushButton(QgsAttributeTableBase);
 
112
    btnClose->setObjectName(QString::fromUtf8("btnClose"));
 
113
 
 
114
    hboxLayout->addWidget(btnClose);
 
115
 
 
116
 
 
117
    gridLayout->addLayout(hboxLayout, 2, 0, 1, 1);
 
118
 
 
119
    tblAttributes = new QgsAttributeTable(QgsAttributeTableBase);
 
120
    tblAttributes->setObjectName(QString::fromUtf8("tblAttributes"));
 
121
    QSizePolicy sizePolicy1(static_cast<QSizePolicy::Policy>(7), static_cast<QSizePolicy::Policy>(7));
 
122
    sizePolicy1.setHorizontalStretch(0);
 
123
    sizePolicy1.setVerticalStretch(0);
 
124
    sizePolicy1.setHeightForWidth(tblAttributes->sizePolicy().hasHeightForWidth());
 
125
    tblAttributes->setSizePolicy(sizePolicy1);
 
126
 
 
127
    gridLayout->addWidget(tblAttributes, 1, 0, 1, 1);
 
128
 
 
129
    hboxLayout1 = new QHBoxLayout();
 
130
    hboxLayout1->setSpacing(6);
 
131
    hboxLayout1->setMargin(0);
 
132
    hboxLayout1->setObjectName(QString::fromUtf8("hboxLayout1"));
 
133
    mRemoveSelectionButton = new QToolButton(QgsAttributeTableBase);
 
134
    mRemoveSelectionButton->setObjectName(QString::fromUtf8("mRemoveSelectionButton"));
 
135
    mRemoveSelectionButton->setIcon(QIcon(QString::fromUtf8("../xpm/remove_selection.xpm")));
 
136
 
 
137
    hboxLayout1->addWidget(mRemoveSelectionButton);
 
138
 
 
139
    mSelectedToTopButton = new QToolButton(QgsAttributeTableBase);
 
140
    mSelectedToTopButton->setObjectName(QString::fromUtf8("mSelectedToTopButton"));
 
141
    mSelectedToTopButton->setIcon(QIcon(QString::fromUtf8("../xpm/selected_to_top.png")));
 
142
 
 
143
    hboxLayout1->addWidget(mSelectedToTopButton);
 
144
 
 
145
    mInvertSelectionButton = new QToolButton(QgsAttributeTableBase);
 
146
    mInvertSelectionButton->setObjectName(QString::fromUtf8("mInvertSelectionButton"));
 
147
    mInvertSelectionButton->setIcon(QIcon(QString::fromUtf8("../xpm/switch_selection.png")));
 
148
 
 
149
    hboxLayout1->addWidget(mInvertSelectionButton);
 
150
 
 
151
    mCopySelectedRowsButton = new QToolButton(QgsAttributeTableBase);
 
152
    mCopySelectedRowsButton->setObjectName(QString::fromUtf8("mCopySelectedRowsButton"));
 
153
    mCopySelectedRowsButton->setIcon(QIcon(QString::fromUtf8("../xpm/copy_selection.png")));
 
154
 
 
155
    hboxLayout1->addWidget(mCopySelectedRowsButton);
 
156
 
 
157
    mAddAttributeButton = new QToolButton(QgsAttributeTableBase);
 
158
    mAddAttributeButton->setObjectName(QString::fromUtf8("mAddAttributeButton"));
 
159
    mAddAttributeButton->setIcon(QIcon(QString::fromUtf8("../xpm/new_attribute.png")));
 
160
 
 
161
    hboxLayout1->addWidget(mAddAttributeButton);
 
162
 
 
163
    mDeleteAttributeButton = new QToolButton(QgsAttributeTableBase);
 
164
    mDeleteAttributeButton->setObjectName(QString::fromUtf8("mDeleteAttributeButton"));
 
165
    mDeleteAttributeButton->setIcon(QIcon(QString::fromUtf8("../xpm/delete_attribute.png")));
 
166
 
 
167
    hboxLayout1->addWidget(mDeleteAttributeButton);
 
168
 
 
169
    spacerItem = new QSpacerItem(210, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
 
170
 
 
171
    hboxLayout1->addItem(spacerItem);
 
172
 
 
173
    btnStartEditing = new QPushButton(QgsAttributeTableBase);
 
174
    btnStartEditing->setObjectName(QString::fromUtf8("btnStartEditing"));
 
175
 
 
176
    hboxLayout1->addWidget(btnStartEditing);
 
177
 
 
178
    btnStopEditing = new QPushButton(QgsAttributeTableBase);
 
179
    btnStopEditing->setObjectName(QString::fromUtf8("btnStopEditing"));
 
180
 
 
181
    hboxLayout1->addWidget(btnStopEditing);
 
182
 
 
183
 
 
184
    gridLayout->addLayout(hboxLayout1, 0, 0, 1, 1);
 
185
 
 
186
    textLabel1->setBuddy(mSearchText);
 
187
    textLabel2->setBuddy(mSearchColumns);
 
188
    QWidget::setTabOrder(mRemoveSelectionButton, mSelectedToTopButton);
 
189
    QWidget::setTabOrder(mSelectedToTopButton, mInvertSelectionButton);
 
190
    QWidget::setTabOrder(mInvertSelectionButton, mCopySelectedRowsButton);
 
191
    QWidget::setTabOrder(mCopySelectedRowsButton, mAddAttributeButton);
 
192
    QWidget::setTabOrder(mAddAttributeButton, mDeleteAttributeButton);
 
193
    QWidget::setTabOrder(mDeleteAttributeButton, btnStartEditing);
 
194
    QWidget::setTabOrder(btnStartEditing, btnStopEditing);
 
195
    QWidget::setTabOrder(btnStopEditing, mSearchText);
 
196
    QWidget::setTabOrder(mSearchText, mSearchColumns);
 
197
    QWidget::setTabOrder(mSearchColumns, mSearchButton);
 
198
    QWidget::setTabOrder(mSearchButton, mSearchShowResults);
 
199
    QWidget::setTabOrder(mSearchShowResults, btnAdvancedSearch);
 
200
    QWidget::setTabOrder(btnAdvancedSearch, btnClose);
 
201
 
 
202
    retranslateUi(QgsAttributeTableBase);
 
203
 
 
204
    QSize size(686, 547);
 
205
    size = size.expandedTo(QgsAttributeTableBase->minimumSizeHint());
 
206
    QgsAttributeTableBase->resize(size);
 
207
 
 
208
 
 
209
    QMetaObject::connectSlotsByName(QgsAttributeTableBase);
 
210
    } // setupUi
 
211
 
 
212
    void retranslateUi(QDialog *QgsAttributeTableBase)
 
213
    {
 
214
    QgsAttributeTableBase->setWindowTitle(QApplication::translate("QgsAttributeTableBase", "Attribute Table", 0, QApplication::UnicodeUTF8));
 
215
    btnHelp->setText(QApplication::translate("QgsAttributeTableBase", "&Help", 0, QApplication::UnicodeUTF8));
 
216
    btnHelp->setShortcut(QApplication::translate("QgsAttributeTableBase", "Alt+C", 0, QApplication::UnicodeUTF8));
 
217
    textLabel1->setText(QApplication::translate("QgsAttributeTableBase", "Search for:", 0, QApplication::UnicodeUTF8));
 
218
    textLabel2->setText(QApplication::translate("QgsAttributeTableBase", "in", 0, QApplication::UnicodeUTF8));
 
219
    mSearchButton->setText(QApplication::translate("QgsAttributeTableBase", "Search", 0, QApplication::UnicodeUTF8));
 
220
    btnAdvancedSearch->setText(QApplication::translate("QgsAttributeTableBase", "Adva&nced...", 0, QApplication::UnicodeUTF8));
 
221
    btnAdvancedSearch->setShortcut(QApplication::translate("QgsAttributeTableBase", "Alt+N", 0, QApplication::UnicodeUTF8));
 
222
    btnClose->setText(QApplication::translate("QgsAttributeTableBase", "&Close", 0, QApplication::UnicodeUTF8));
 
223
    btnClose->setShortcut(QApplication::translate("QgsAttributeTableBase", "Alt+C", 0, QApplication::UnicodeUTF8));
 
224
    mRemoveSelectionButton->setToolTip(QApplication::translate("QgsAttributeTableBase", "Remove selection", 0, QApplication::UnicodeUTF8));
 
225
    mRemoveSelectionButton->setText(QString());
 
226
    mRemoveSelectionButton->setShortcut(QString());
 
227
    mSelectedToTopButton->setToolTip(QApplication::translate("QgsAttributeTableBase", "Move selected to top", 0, QApplication::UnicodeUTF8));
 
228
    mSelectedToTopButton->setText(QString());
 
229
    mSelectedToTopButton->setShortcut(QApplication::translate("QgsAttributeTableBase", "Ctrl+T", 0, QApplication::UnicodeUTF8));
 
230
    mInvertSelectionButton->setToolTip(QApplication::translate("QgsAttributeTableBase", "Invert selection", 0, QApplication::UnicodeUTF8));
 
231
    mInvertSelectionButton->setText(QString());
 
232
    mInvertSelectionButton->setShortcut(QApplication::translate("QgsAttributeTableBase", "Ctrl+S", 0, QApplication::UnicodeUTF8));
 
233
    mCopySelectedRowsButton->setToolTip(QApplication::translate("QgsAttributeTableBase", "Copy selected rows to clipboard (Ctrl+C)", 0, QApplication::UnicodeUTF8));
 
234
    mCopySelectedRowsButton->setWhatsThis(QApplication::translate("QgsAttributeTableBase", "Copies the selected rows to the clipboard", 0, QApplication::UnicodeUTF8));
 
235
    mCopySelectedRowsButton->setText(QString());
 
236
    mCopySelectedRowsButton->setShortcut(QApplication::translate("QgsAttributeTableBase", "Ctrl+C", 0, QApplication::UnicodeUTF8));
 
237
    mAddAttributeButton->setToolTip(QApplication::translate("QgsAttributeTableBase", "New column", 0, QApplication::UnicodeUTF8));
 
238
    mAddAttributeButton->setText(QString());
 
239
    mAddAttributeButton->setShortcut(QApplication::translate("QgsAttributeTableBase", "Ctrl+N", 0, QApplication::UnicodeUTF8));
 
240
    mDeleteAttributeButton->setToolTip(QApplication::translate("QgsAttributeTableBase", "Delete column", 0, QApplication::UnicodeUTF8));
 
241
    mDeleteAttributeButton->setText(QString());
 
242
    mDeleteAttributeButton->setShortcut(QApplication::translate("QgsAttributeTableBase", "Ctrl+X", 0, QApplication::UnicodeUTF8));
 
243
    btnStartEditing->setText(QApplication::translate("QgsAttributeTableBase", "Start editing", 0, QApplication::UnicodeUTF8));
 
244
    btnStopEditing->setText(QApplication::translate("QgsAttributeTableBase", "Stop editin&g", 0, QApplication::UnicodeUTF8));
 
245
    btnStopEditing->setShortcut(QApplication::translate("QgsAttributeTableBase", "Alt+G", 0, QApplication::UnicodeUTF8));
 
246
    Q_UNUSED(QgsAttributeTableBase);
 
247
    } // retranslateUi
 
248
 
 
249
};
 
250
 
 
251
namespace Ui {
 
252
    class QgsAttributeTableBase: public Ui_QgsAttributeTableBase {};
 
253
} // namespace Ui
 
254
 
 
255
#endif // UI_QGSATTRIBUTETABLEBASE_H