[Kst] extragear/graphics/kst/src/libkstapp

Eli Fidler eli at staikos.net
Thu Feb 1 22:07:27 CET 2007


SVN commit 629198 by fidler:

cleaned up Data Manager, adding "Create New Object" label and splitter

per bug 140626


 M  +263 -213  datamanager.ui  


--- trunk/extragear/graphics/kst/src/libkstapp/datamanager.ui #629197:629198
@@ -1,4 +1,4 @@
-<!DOCTYPE UI><UI version="3.2" stdsetdef="1">
+<!DOCTYPE UI><UI version="3.3" stdsetdef="1">
 <class>KstDataManager</class>
 <widget class="QDialog">
     <property name="name">
@@ -8,216 +8,267 @@
         <rect>
             <x>0</x>
             <y>0</y>
-            <width>578</width>
+            <width>800</width>
             <height>527</height>
         </rect>
-    </property>
-    <property name="caption">
-        <string>Data Manager</string>
-    </property>
-    <grid>
-        <property name="name">
-            <cstring>unnamed</cstring>
-        </property>
-        <property name="margin">
-            <number>11</number>
-        </property>
-        <property name="spacing">
-            <number>6</number>
-        </property>
-        <widget class="QLayoutWidget" row="2" column="0" rowspan="1" colspan="2">
-            <property name="name">
-                <cstring>layout2</cstring>
-            </property>
-            <hbox>
-                <property name="name">
-                    <cstring>unnamed</cstring>
-                </property>
-                <spacer>
-                    <property name="name">
-                        <cstring>Spacer14</cstring>
-                    </property>
-                    <property name="orientation">
-                        <enum>Horizontal</enum>
-                    </property>
-                    <property name="sizeType">
-                        <enum>Expanding</enum>
-                    </property>
-                    <property name="sizeHint">
-                        <size>
-                            <width>350</width>
-                            <height>20</height>
-                        </size>
-                    </property>
-                </spacer>
-                <widget class="QPushButton">
-                    <property name="name">
-                        <cstring>Purge</cstring>
-                    </property>
-                    <property name="text">
-                        <string>&amp;Purge</string>
-                    </property>
-                    <property name="whatsThis" stdset="0">
-                        <string>Purge unused objects</string>
-                    </property>
-                </widget>
-                <widget class="QPushButton">
-                    <property name="name">
-                        <cstring>Delete</cstring>
-                    </property>
-                    <property name="text">
-                        <string>&amp;Delete</string>
-                    </property>
-                    <property name="whatsThis" stdset="0">
-                        <string>Delete selected object</string>
-                    </property>
-                </widget>
-                <widget class="QPushButton">
-                    <property name="name">
-                        <cstring>Edit</cstring>
-                    </property>
-                    <property name="sizePolicy">
-                        <sizepolicy>
-                            <hsizetype>0</hsizetype>
-                            <vsizetype>0</vsizetype>
-                            <horstretch>0</horstretch>
-                            <verstretch>0</verstretch>
-                        </sizepolicy>
-                    </property>
-                    <property name="text">
-                        <string>&amp;Edit</string>
-                    </property>
-                    <property name="whatsThis" stdset="0">
-                        <string>Edit selected object</string>
-                    </property>
-                </widget>
-                <widget class="QPushButton">
-                    <property name="name">
-                        <cstring>Close</cstring>
-                    </property>
-                    <property name="sizePolicy">
-                        <sizepolicy>
-                            <hsizetype>0</hsizetype>
-                            <vsizetype>0</vsizetype>
-                            <horstretch>0</horstretch>
-                            <verstretch>0</verstretch>
-                        </sizepolicy>
-                    </property>
-                    <property name="text">
-                        <string>&amp;Close</string>
-                    </property>
-                    <property name="whatsThis" stdset="0">
-                        <string>Close window</string>
-                    </property>
-                </widget>
-            </hbox>
-        </widget>
-        <widget class="QToolBox" row="0" column="0" rowspan="2" colspan="1">
-            <property name="name">
-                <cstring>ToolBox</cstring>
-            </property>
-            <property name="sizePolicy">
-                <sizepolicy>
-                    <hsizetype>7</hsizetype>
-                    <vsizetype>7</vsizetype>
-                    <horstretch>0</horstretch>
-                    <verstretch>0</verstretch>
-                </sizepolicy>
-            </property>
-            <property name="frameShape">
-                <enum>StyledPanel</enum>
-            </property>
-            <property name="frameShadow">
-                <enum>Sunken</enum>
-            </property>
-            <property name="currentIndex">
-                <number>-1</number>
-            </property>
-        </widget>
-        <widget class="QHBox" row="0" column="1">
-            <property name="name">
-                <cstring>SearchBox</cstring>
-            </property>
-        </widget>
-        <widget class="KListView" row="1" column="1">
-            <column>
-                <property name="text">
-                    <string>Name</string>
-                </property>
-                <property name="clickable">
-                    <bool>true</bool>
-                </property>
-                <property name="resizable">
-                    <bool>true</bool>
-                </property>
-            </column>
-            <column>
-                <property name="text">
-                    <string>Type</string>
-                </property>
-                <property name="clickable">
-                    <bool>true</bool>
-                </property>
-                <property name="resizable">
-                    <bool>true</bool>
-                </property>
-            </column>
-            <column>
-                <property name="text">
-                    <string>Used</string>
-                </property>
-                <property name="clickable">
-                    <bool>true</bool>
-                </property>
-                <property name="resizable">
-                    <bool>true</bool>
-                </property>
-            </column>
-            <column>
-                <property name="text">
-                    <string>Samples</string>
-                </property>
-                <property name="clickable">
-                    <bool>true</bool>
-                </property>
-                <property name="resizable">
-                    <bool>true</bool>
-                </property>
-            </column>
-            <column>
-                <property name="text">
-                    <string>Properties</string>
-                </property>
-                <property name="clickable">
-                    <bool>true</bool>
-                </property>
-                <property name="resizable">
-                    <bool>true</bool>
-                </property>
-            </column>
-            <property name="name">
-                <cstring>DataView</cstring>
-            </property>
-            <property name="sizePolicy">
-                <sizepolicy>
-                    <hsizetype>7</hsizetype>
-                    <vsizetype>7</vsizetype>
-                    <horstretch>1</horstretch>
-                    <verstretch>0</verstretch>
-                </sizepolicy>
-            </property>
-            <property name="allColumnsShowFocus">
-                <bool>true</bool>
-            </property>
-            <property name="showSortIndicator">
-                <bool>true</bool>
-            </property>
-            <property name="rootIsDecorated">
-                <bool>true</bool>
-            </property>
-        </widget>
-    </grid>
+	</property>
+	<property name="caption">
+		<string>Data Manager</string>
+	</property>
+	<grid>
+		<property name="name">
+			<cstring>unnamed</cstring>
+		</property>
+		<widget class="QSplitter">
+			<property name="name">
+				<cstring>splitter5</cstring>
+			</property>
+			<property name="geometry">
+				<rect>
+					<x>10</x>
+					<y>0</y>
+					<width>812</width>
+					<height>480</height>
+				</rect>
+			</property>
+			<property name="sizePolicy">
+				<sizepolicy>
+					<hsizetype>7</hsizetype>
+					<vsizetype>7</vsizetype>
+					<horstretch>1</horstretch>
+					<verstretch>1</verstretch>
+				</sizepolicy>
+			</property>
+			<property name="orientation">
+				<enum>Horizontal</enum>
+			</property>
+			<widget class="QLayoutWidget">
+				<property name="name">
+					<cstring>layout3</cstring>
+				</property>
+				<vbox>
+					<property name="name">
+						<cstring>unnamed</cstring>
+					</property>
+					<widget class="QLabel">
+						<property name="name">
+							<cstring>label1</cstring>
+						</property>
+						<property name="text">
+							<string>&lt;b&gt;Create New Object&lt;/b&gt;</string>
+						</property>
+						<property name="alignment">
+							<set>AlignVCenter</set>
+						</property>
+					</widget>
+					<widget class="QToolBox">
+						<property name="name">
+							<cstring>ToolBox</cstring>
+						</property>
+						<property name="sizePolicy">
+							<sizepolicy>
+								<hsizetype>7</hsizetype>
+								<vsizetype>7</vsizetype>
+								<horstretch>0</horstretch>
+								<verstretch>0</verstretch>
+							</sizepolicy>
+						</property>
+						<property name="frameShape">
+							<enum>StyledPanel</enum>
+						</property>
+						<property name="frameShadow">
+							<enum>Sunken</enum>
+						</property>
+						<property name="currentIndex">
+							<number>-1</number>
+						</property>
+					</widget>
+				</vbox>
+			</widget>
+			<widget class="QLayoutWidget">
+				<property name="name">
+					<cstring>layout5</cstring>
+				</property>
+				<vbox>
+					<property name="name">
+						<cstring>unnamed</cstring>
+					</property>
+					<widget class="QHBox">
+						<property name="name">
+							<cstring>SearchBox</cstring>
+						</property>
+					</widget>
+					<widget class="KListView">
+						<column>
+							<property name="text">
+								<string>Name</string>
+							</property>
+							<property name="clickable">
+								<bool>true</bool>
+							</property>
+							<property name="resizable">
+								<bool>true</bool>
+							</property>
+						</column>
+						<column>
+							<property name="text">
+								<string>Type</string>
+							</property>
+							<property name="clickable">
+								<bool>true</bool>
+							</property>
+							<property name="resizable">
+								<bool>true</bool>
+							</property>
+						</column>
+						<column>
+							<property name="text">
+								<string>Used</string>
+							</property>
+							<property name="clickable">
+								<bool>true</bool>
+							</property>
+							<property name="resizable">
+								<bool>true</bool>
+							</property>
+						</column>
+						<column>
+							<property name="text">
+								<string>Samples</string>
+							</property>
+							<property name="clickable">
+								<bool>true</bool>
+							</property>
+							<property name="resizable">
+								<bool>true</bool>
+							</property>
+						</column>
+						<column>
+							<property name="text">
+								<string>Properties</string>
+							</property>
+							<property name="clickable">
+								<bool>true</bool>
+							</property>
+							<property name="resizable">
+								<bool>true</bool>
+							</property>
+						</column>
+						<property name="name">
+							<cstring>DataView</cstring>
+						</property>
+						<property name="sizePolicy">
+							<sizepolicy>
+								<hsizetype>7</hsizetype>
+								<vsizetype>7</vsizetype>
+								<horstretch>1</horstretch>
+								<verstretch>0</verstretch>
+							</sizepolicy>
+						</property>
+						<property name="allColumnsShowFocus">
+							<bool>true</bool>
+						</property>
+						<property name="showSortIndicator">
+							<bool>true</bool>
+						</property>
+						<property name="rootIsDecorated">
+							<bool>true</bool>
+						</property>
+					</widget>
+					<widget class="QLayoutWidget">
+						<property name="name">
+							<cstring>layout2</cstring>
+						</property>
+						<hbox>
+							<property name="name">
+								<cstring>unnamed</cstring>
+							</property>
+							<spacer>
+								<property name="name">
+									<cstring>Spacer14</cstring>
+								</property>
+								<property name="orientation">
+									<enum>Horizontal</enum>
+								</property>
+								<property name="sizeType">
+									<enum>Expanding</enum>
+								</property>
+								<property name="sizeHint">
+									<size>
+										<width>350</width>
+										<height>20</height>
+									</size>
+								</property>
+							</spacer>
+							<widget class="QPushButton">
+								<property name="name">
+									<cstring>Purge</cstring>
+								</property>
+								<property name="text">
+									<string>&amp;Purge</string>
+								</property>
+								<property name="whatsThis" stdset="0">
+									<string>Purge unused objects</string>
+								</property>
+							</widget>
+							<widget class="QPushButton">
+								<property name="name">
+									<cstring>Delete</cstring>
+								</property>
+								<property name="text">
+									<string>&amp;Delete</string>
+								</property>
+								<property name="whatsThis" stdset="0">
+									<string>Delete selected object</string>
+								</property>
+							</widget>
+							<widget class="QPushButton">
+								<property name="name">
+									<cstring>Edit</cstring>
+								</property>
+								<property name="sizePolicy">
+									<sizepolicy>
+										<hsizetype>0</hsizetype>
+										<vsizetype>0</vsizetype>
+										<horstretch>0</horstretch>
+										<verstretch>0</verstretch>
+									</sizepolicy>
+								</property>
+								<property name="text">
+									<string>&amp;Edit</string>
+								</property>
+								<property name="whatsThis" stdset="0">
+									<string>Edit selected object</string>
+								</property>
+							</widget>
+							<widget class="QPushButton">
+								<property name="name">
+									<cstring>Close</cstring>
+								</property>
+								<property name="sizePolicy">
+									<sizepolicy>
+										<hsizetype>0</hsizetype>
+										<vsizetype>0</vsizetype>
+										<horstretch>0</horstretch>
+										<verstretch>0</verstretch>
+									</sizepolicy>
+								</property>
+								<property name="text">
+									<string>&amp;Close</string>
+								</property>
+								<property name="whatsThis" stdset="0">
+									<string>Close window</string>
+								</property>
+							</widget>
+						</hbox>
+					</widget>
+				</vbox>
+			</widget>
+		</widget>
+	</grid>
 </widget>
+<customwidgets>
+</customwidgets>
 <connections>
     <connection>
         <sender>Close</sender>
@@ -226,9 +277,6 @@
         <slot>reject()</slot>
     </connection>
 </connections>
-<includes>
-    <include location="global" impldecl="in implementation">qhbox.h</include>
-</includes>
 <tabstops>
     <tabstop>DataView</tabstop>
     <tabstop>Purge</tabstop>
@@ -236,9 +284,11 @@
     <tabstop>Edit</tabstop>
     <tabstop>Close</tabstop>
 </tabstops>
-<layoutdefaults spacing="6" margin="11"/>
+<includes>
+    <include location="global" impldecl="in implementation">qhbox.h</include>
+</includes>
+<layoutdefaults spacing="6" margin="8"/>
 <includehints>
-    <includehint>klistviewsearchline.h</includehint>
     <includehint>klistview.h</includehint>
 </includehints>
 </UI>


More information about the Kst mailing list