13 #include <QtCore/QVariant>
14 #include <QtGui/QAction>
15 #include <QtGui/QApplication>
16 #include <QtGui/QButtonGroup>
17 #include <QtGui/QGridLayout>
18 #include <QtGui/QHeaderView>
19 #include <QtGui/QTabWidget>
20 #include <QtGui/QTreeView>
21 #include <QtGui/QWidget>
28 QGridLayout *gridLayout_5;
29 QGridLayout *gridLayout;
30 QTabWidget *tabWidget;
32 QGridLayout *gridLayout_4;
33 QTreeView *treeViewDependents;
34 QWidget *dependencies;
35 QGridLayout *gridLayout_3;
36 QTreeView *treeViewDependencies;
37 QWidget *dependentsDependencies;
38 QGridLayout *gridLayout_2;
39 QTreeView *treeViewBoth;
43 if (TreeView->objectName().isEmpty())
44 TreeView->setObjectName(QString::fromUtf8(
"TreeView"));
45 TreeView->resize(1200, 270);
46 QSizePolicy sizePolicy(QSizePolicy::Expanding, QSizePolicy::Expanding);
47 sizePolicy.setHorizontalStretch(0);
48 sizePolicy.setVerticalStretch(0);
49 sizePolicy.setHeightForWidth(TreeView->sizePolicy().hasHeightForWidth());
50 TreeView->setSizePolicy(sizePolicy);
51 TreeView->setMinimumSize(QSize(625, 270));
52 TreeView->setSizeIncrement(QSize(200, 200));
53 TreeView->setBaseSize(QSize(1200, 270));
54 gridLayout_5 =
new QGridLayout(TreeView);
55 gridLayout_5->setObjectName(QString::fromUtf8(
"gridLayout_5"));
56 gridLayout_5->setSizeConstraint(QLayout::SetDefaultConstraint);
57 gridLayout =
new QGridLayout();
58 gridLayout->setObjectName(QString::fromUtf8(
"gridLayout"));
59 gridLayout->setSizeConstraint(QLayout::SetDefaultConstraint);
60 tabWidget =
new QTabWidget(TreeView);
61 tabWidget->setObjectName(QString::fromUtf8(
"tabWidget"));
62 sizePolicy.setHeightForWidth(tabWidget->sizePolicy().hasHeightForWidth());
63 tabWidget->setSizePolicy(sizePolicy);
64 tabWidget->setMinimumSize(QSize(600, 250));
65 tabWidget->setSizeIncrement(QSize(200, 0));
66 tabWidget->setBaseSize(QSize(2000, 250));
67 tabWidget->setTabPosition(QTabWidget::North);
68 tabWidget->setTabShape(QTabWidget::Rounded);
69 tabWidget->setDocumentMode(
false);
70 tabWidget->setMovable(
true);
71 dependents =
new QWidget();
72 dependents->setObjectName(QString::fromUtf8(
"dependents"));
73 sizePolicy.setHeightForWidth(dependents->sizePolicy().hasHeightForWidth());
74 dependents->setSizePolicy(sizePolicy);
75 dependents->setMinimumSize(QSize(625, 225));
76 dependents->setSizeIncrement(QSize(200, 200));
77 dependents->setBaseSize(QSize(1200, 225));
78 gridLayout_4 =
new QGridLayout(dependents);
79 gridLayout_4->setObjectName(QString::fromUtf8(
"gridLayout_4"));
80 treeViewDependents =
new QTreeView(dependents);
81 treeViewDependents->setObjectName(QString::fromUtf8(
"treeViewDependents"));
82 treeViewDependents->setEnabled(
true);
83 sizePolicy.setHeightForWidth(treeViewDependents->sizePolicy().hasHeightForWidth());
84 treeViewDependents->setSizePolicy(sizePolicy);
85 treeViewDependents->setMinimumSize(QSize(600, 200));
86 treeViewDependents->setSizeIncrement(QSize(200, 200));
87 treeViewDependents->setBaseSize(QSize(1150, 200));
88 treeViewDependents->setFocusPolicy(Qt::StrongFocus);
89 treeViewDependents->setContextMenuPolicy(Qt::CustomContextMenu);
90 treeViewDependents->setVerticalScrollBarPolicy(Qt::ScrollBarAsNeeded);
91 treeViewDependents->setHorizontalScrollBarPolicy(Qt::ScrollBarAsNeeded);
92 treeViewDependents->setAlternatingRowColors(
false);
93 treeViewDependents->setSelectionMode(QAbstractItemView::SingleSelection);
94 treeViewDependents->setHorizontalScrollMode(QAbstractItemView::ScrollPerItem);
95 treeViewDependents->setSortingEnabled(
true);
96 treeViewDependents->setAnimated(
false);
97 treeViewDependents->header()->setHighlightSections(
true);
99 gridLayout_4->addWidget(treeViewDependents, 0, 0, 1, 1);
101 tabWidget->addTab(dependents, QString());
102 dependencies =
new QWidget();
103 dependencies->setObjectName(QString::fromUtf8(
"dependencies"));
104 sizePolicy.setHeightForWidth(dependencies->sizePolicy().hasHeightForWidth());
105 dependencies->setSizePolicy(sizePolicy);
106 dependencies->setMinimumSize(QSize(625, 225));
107 dependencies->setSizeIncrement(QSize(200, 200));
108 dependencies->setBaseSize(QSize(1200, 225));
109 gridLayout_3 =
new QGridLayout(dependencies);
110 gridLayout_3->setObjectName(QString::fromUtf8(
"gridLayout_3"));
111 treeViewDependencies =
new QTreeView(dependencies);
112 treeViewDependencies->setObjectName(QString::fromUtf8(
"treeViewDependencies"));
113 treeViewDependencies->setEnabled(
true);
114 sizePolicy.setHeightForWidth(treeViewDependencies->sizePolicy().hasHeightForWidth());
115 treeViewDependencies->setSizePolicy(sizePolicy);
116 treeViewDependencies->setMinimumSize(QSize(600, 200));
117 treeViewDependencies->setSizeIncrement(QSize(200, 0));
118 treeViewDependencies->setBaseSize(QSize(1150, 200));
119 treeViewDependencies->setFocusPolicy(Qt::StrongFocus);
120 treeViewDependencies->setContextMenuPolicy(Qt::CustomContextMenu);
121 treeViewDependencies->setVerticalScrollBarPolicy(Qt::ScrollBarAsNeeded);
122 treeViewDependencies->setHorizontalScrollBarPolicy(Qt::ScrollBarAsNeeded);
123 treeViewDependencies->setAlternatingRowColors(
false);
124 treeViewDependencies->setSelectionMode(QAbstractItemView::SingleSelection);
125 treeViewDependencies->setHorizontalScrollMode(QAbstractItemView::ScrollPerItem);
126 treeViewDependencies->setSortingEnabled(
true);
127 treeViewDependencies->setAnimated(
false);
128 treeViewDependencies->header()->setHighlightSections(
true);
130 gridLayout_3->addWidget(treeViewDependencies, 0, 0, 1, 1);
132 tabWidget->addTab(dependencies, QString());
133 dependentsDependencies =
new QWidget();
134 dependentsDependencies->setObjectName(QString::fromUtf8(
"dependentsDependencies"));
135 sizePolicy.setHeightForWidth(dependentsDependencies->sizePolicy().hasHeightForWidth());
136 dependentsDependencies->setSizePolicy(sizePolicy);
137 dependentsDependencies->setMinimumSize(QSize(625, 225));
138 dependentsDependencies->setSizeIncrement(QSize(200, 200));
139 dependentsDependencies->setBaseSize(QSize(1200, 225));
140 gridLayout_2 =
new QGridLayout(dependentsDependencies);
141 gridLayout_2->setObjectName(QString::fromUtf8(
"gridLayout_2"));
142 treeViewBoth =
new QTreeView(dependentsDependencies);
143 treeViewBoth->setObjectName(QString::fromUtf8(
"treeViewBoth"));
144 treeViewBoth->setEnabled(
true);
145 sizePolicy.setHeightForWidth(treeViewBoth->sizePolicy().hasHeightForWidth());
146 treeViewBoth->setSizePolicy(sizePolicy);
147 treeViewBoth->setMinimumSize(QSize(600, 200));
148 treeViewBoth->setSizeIncrement(QSize(200, 0));
149 treeViewBoth->setBaseSize(QSize(1150, 200));
150 treeViewBoth->setFocusPolicy(Qt::StrongFocus);
151 treeViewBoth->setContextMenuPolicy(Qt::CustomContextMenu);
152 treeViewBoth->setVerticalScrollBarPolicy(Qt::ScrollBarAsNeeded);
153 treeViewBoth->setHorizontalScrollBarPolicy(Qt::ScrollBarAsNeeded);
154 treeViewBoth->setAlternatingRowColors(
false);
155 treeViewBoth->setSelectionMode(QAbstractItemView::SingleSelection);
156 treeViewBoth->setHorizontalScrollMode(QAbstractItemView::ScrollPerItem);
157 treeViewBoth->setSortingEnabled(
true);
158 treeViewBoth->setAnimated(
false);
159 treeViewBoth->header()->setHighlightSections(
true);
161 gridLayout_2->addWidget(treeViewBoth, 0, 0, 1, 1);
163 tabWidget->addTab(dependentsDependencies, QString());
165 gridLayout->addWidget(tabWidget, 0, 0, 1, 1);
168 gridLayout_5->addLayout(gridLayout, 0, 0, 1, 1);
171 retranslateUi(TreeView);
173 tabWidget->setCurrentIndex(2);
176 QMetaObject::connectSlotsByName(TreeView);
179 void retranslateUi(QWidget *TreeView)
181 TreeView->setWindowTitle(QApplication::translate(
"TreeView",
"Form", 0, QApplication::UnicodeUTF8));
182 #ifndef QT_NO_WHATSTHIS
183 tabWidget->setWhatsThis(QString());
184 #endif // QT_NO_WHATSTHIS
185 #ifndef QT_NO_WHATSTHIS
186 treeViewDependents->setWhatsThis(QApplication::translate(
"TreeView",
"<html><head/><body><p>All outgoing dependencies (ie. dependents). Right click to select which fields to display / hide and click the headers to sort the view.</p></body></html>", 0, QApplication::UnicodeUTF8));
187 #endif // QT_NO_WHATSTHIS
188 tabWidget->setTabText(tabWidget->indexOf(dependents), QApplication::translate(
"TreeView",
"Incoming", 0, QApplication::UnicodeUTF8));
189 #ifndef QT_NO_WHATSTHIS
190 treeViewDependencies->setWhatsThis(QApplication::translate(
"TreeView",
"<html><head/><body><p>All outgoing dependencies (ie. dependents). Right click to select which fields to display / hide and click the headers to sort the view.</p></body></html>", 0, QApplication::UnicodeUTF8));
191 #endif // QT_NO_WHATSTHIS
192 tabWidget->setTabText(tabWidget->indexOf(dependencies), QApplication::translate(
"TreeView",
"Outgoing", 0, QApplication::UnicodeUTF8));
193 #ifndef QT_NO_WHATSTHIS
194 treeViewBoth->setWhatsThis(QApplication::translate(
"TreeView",
"<html><head/><body><p>Both incoming and outgoing dependenceis. Right click to select which fields to display / hide and click the headers to sort the view.</p></body></html>", 0, QApplication::UnicodeUTF8));
195 #endif // QT_NO_WHATSTHIS
196 tabWidget->setTabText(tabWidget->indexOf(dependentsDependencies), QApplication::translate(
"TreeView",
"Incoming and outgoing", 0, QApplication::UnicodeUTF8));
207 #endif // UI_TREEVIEW_H
Definition: ui_treeview.h:25
Definition: ui_treeview.h:202
Definition: treeview.h:26