eric6/SqlBrowser/SqlBrowserWidget.ui

changeset 6942
2602857055c5
parent 3670
f0cb7579c0b4
child 7960
e8fc383322f7
equal deleted inserted replaced
6941:f99d60d6b59b 6942:2602857055c5
1 <?xml version="1.0" encoding="UTF-8"?>
2 <ui version="4.0">
3 <class>SqlBrowserWidget</class>
4 <widget class="QWidget" name="SqlBrowserWidget">
5 <property name="geometry">
6 <rect>
7 <x>0</x>
8 <y>0</y>
9 <width>800</width>
10 <height>550</height>
11 </rect>
12 </property>
13 <property name="windowTitle">
14 <string>eric6 SQL Browser</string>
15 </property>
16 <layout class="QVBoxLayout" name="verticalLayout_2">
17 <item>
18 <widget class="QSplitter" name="splitter">
19 <property name="sizePolicy">
20 <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
21 <horstretch>0</horstretch>
22 <verstretch>0</verstretch>
23 </sizepolicy>
24 </property>
25 <property name="orientation">
26 <enum>Qt::Horizontal</enum>
27 </property>
28 <widget class="SqlConnectionWidget" name="connections">
29 <property name="sizePolicy">
30 <sizepolicy hsizetype="Ignored" vsizetype="Expanding">
31 <horstretch>1</horstretch>
32 <verstretch>0</verstretch>
33 </sizepolicy>
34 </property>
35 </widget>
36 <widget class="QTableView" name="table">
37 <property name="sizePolicy">
38 <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
39 <horstretch>2</horstretch>
40 <verstretch>0</verstretch>
41 </sizepolicy>
42 </property>
43 <property name="contextMenuPolicy">
44 <enum>Qt::ActionsContextMenu</enum>
45 </property>
46 <property name="selectionBehavior">
47 <enum>QAbstractItemView::SelectRows</enum>
48 </property>
49 </widget>
50 </widget>
51 </item>
52 <item>
53 <widget class="QGroupBox" name="queryGroup">
54 <property name="sizePolicy">
55 <sizepolicy hsizetype="Preferred" vsizetype="MinimumExpanding">
56 <horstretch>0</horstretch>
57 <verstretch>0</verstretch>
58 </sizepolicy>
59 </property>
60 <property name="maximumSize">
61 <size>
62 <width>16777215</width>
63 <height>200</height>
64 </size>
65 </property>
66 <property name="title">
67 <string>SQL Query</string>
68 </property>
69 <layout class="QVBoxLayout" name="verticalLayout">
70 <item>
71 <widget class="QPlainTextEdit" name="sqlEdit">
72 <property name="sizePolicy">
73 <sizepolicy hsizetype="Expanding" vsizetype="MinimumExpanding">
74 <horstretch>0</horstretch>
75 <verstretch>0</verstretch>
76 </sizepolicy>
77 </property>
78 <property name="minimumSize">
79 <size>
80 <width>0</width>
81 <height>18</height>
82 </size>
83 </property>
84 <property name="toolTip">
85 <string>Enter the SQL query to be executed</string>
86 </property>
87 </widget>
88 </item>
89 <item>
90 <layout class="QHBoxLayout" name="horizontalLayout">
91 <item>
92 <spacer name="horizontalSpacer">
93 <property name="orientation">
94 <enum>Qt::Horizontal</enum>
95 </property>
96 <property name="sizeHint" stdset="0">
97 <size>
98 <width>40</width>
99 <height>20</height>
100 </size>
101 </property>
102 </spacer>
103 </item>
104 <item>
105 <widget class="QPushButton" name="clearButton">
106 <property name="toolTip">
107 <string>Press to clear the entry</string>
108 </property>
109 <property name="text">
110 <string>&amp;Clear</string>
111 </property>
112 </widget>
113 </item>
114 <item>
115 <widget class="QPushButton" name="executeButton">
116 <property name="toolTip">
117 <string>Press to execute the query</string>
118 </property>
119 <property name="text">
120 <string>&amp;Execute</string>
121 </property>
122 </widget>
123 </item>
124 </layout>
125 </item>
126 </layout>
127 </widget>
128 </item>
129 </layout>
130 <action name="insertRowAction">
131 <property name="enabled">
132 <bool>false</bool>
133 </property>
134 <property name="text">
135 <string>&amp;Insert Row</string>
136 </property>
137 <property name="toolTip">
138 <string>Inserts a new row</string>
139 </property>
140 </action>
141 <action name="deleteRowAction">
142 <property name="enabled">
143 <bool>false</bool>
144 </property>
145 <property name="text">
146 <string>&amp;Delete Row</string>
147 </property>
148 <property name="statusTip">
149 <string>Deletes the current row</string>
150 </property>
151 </action>
152 </widget>
153 <customwidgets>
154 <customwidget>
155 <class>SqlConnectionWidget</class>
156 <extends>QTreeView</extends>
157 <header>.SqlConnectionWidget.h</header>
158 </customwidget>
159 </customwidgets>
160 <tabstops>
161 <tabstop>sqlEdit</tabstop>
162 <tabstop>clearButton</tabstop>
163 <tabstop>executeButton</tabstop>
164 <tabstop>connections</tabstop>
165 <tabstop>table</tabstop>
166 </tabstops>
167 <resources/>
168 <connections/>
169 </ui>

eric ide

mercurial