9466da601c
good only for standard icons. I added option show text under icon. --HG-- branch : develop
320 lines
8.3 KiB
XML
320 lines
8.3 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<ui version="4.0">
|
|
<class>TableWindow</class>
|
|
<widget class="QMainWindow" name="TableWindow">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>0</x>
|
|
<y>0</y>
|
|
<width>1000</width>
|
|
<height>730</height>
|
|
</rect>
|
|
</property>
|
|
<property name="windowTitle">
|
|
<string>Create a layout</string>
|
|
</property>
|
|
<property name="windowIcon">
|
|
<iconset resource="share/resources/icon.qrc">
|
|
<normaloff>:/icon/64x64/icon64x64.png</normaloff>:/icon/64x64/icon64x64.png</iconset>
|
|
</property>
|
|
<property name="locale">
|
|
<locale language="English" country="UnitedStates"/>
|
|
</property>
|
|
<widget class="QWidget" name="centralwidget">
|
|
<layout class="QHBoxLayout" name="horizontalLayout">
|
|
<item>
|
|
<widget class="VTableGraphicsView" name="view">
|
|
<property name="sizePolicy">
|
|
<sizepolicy hsizetype="Expanding" vsizetype="Expanding">
|
|
<horstretch>20</horstretch>
|
|
<verstretch>0</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
<property name="resizeAnchor">
|
|
<enum>QGraphicsView::AnchorUnderMouse</enum>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
<widget class="QToolBar" name="toolBar">
|
|
<property name="font">
|
|
<font>
|
|
<pointsize>10</pointsize>
|
|
</font>
|
|
</property>
|
|
<property name="windowTitle">
|
|
<string>Main toolbar</string>
|
|
</property>
|
|
<property name="iconSize">
|
|
<size>
|
|
<width>24</width>
|
|
<height>24</height>
|
|
</size>
|
|
</property>
|
|
<property name="toolButtonStyle">
|
|
<enum>Qt::ToolButtonTextUnderIcon</enum>
|
|
</property>
|
|
<attribute name="toolBarArea">
|
|
<enum>TopToolBarArea</enum>
|
|
</attribute>
|
|
<attribute name="toolBarBreak">
|
|
<bool>false</bool>
|
|
</attribute>
|
|
<addaction name="actionSave"/>
|
|
<addaction name="actionZoomIn"/>
|
|
<addaction name="actionZoomOut"/>
|
|
<addaction name="actionStop"/>
|
|
<addaction name="actionLayout"/>
|
|
</widget>
|
|
<widget class="QStatusBar" name="statusBar"/>
|
|
<widget class="QDockWidget" name="dockWidget">
|
|
<property name="sizePolicy">
|
|
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
|
|
<horstretch>0</horstretch>
|
|
<verstretch>0</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
<property name="minimumSize">
|
|
<size>
|
|
<width>187</width>
|
|
<height>121</height>
|
|
</size>
|
|
</property>
|
|
<property name="maximumSize">
|
|
<size>
|
|
<width>187</width>
|
|
<height>524287</height>
|
|
</size>
|
|
</property>
|
|
<property name="features">
|
|
<set>QDockWidget::DockWidgetMovable</set>
|
|
</property>
|
|
<property name="allowedAreas">
|
|
<set>Qt::LeftDockWidgetArea|Qt::RightDockWidgetArea</set>
|
|
</property>
|
|
<property name="windowTitle">
|
|
<string>Layout pages</string>
|
|
</property>
|
|
<attribute name="dockWidgetArea">
|
|
<number>1</number>
|
|
</attribute>
|
|
<widget class="QWidget" name="dockWidgetContents">
|
|
<layout class="QVBoxLayout" name="verticalLayout">
|
|
<item>
|
|
<widget class="QListWidget" name="listWidget">
|
|
<property name="sizePolicy">
|
|
<sizepolicy hsizetype="Expanding" vsizetype="Expanding">
|
|
<horstretch>0</horstretch>
|
|
<verstretch>0</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
<property name="minimumSize">
|
|
<size>
|
|
<width>0</width>
|
|
<height>0</height>
|
|
</size>
|
|
</property>
|
|
<property name="iconSize">
|
|
<size>
|
|
<width>200</width>
|
|
<height>200</height>
|
|
</size>
|
|
</property>
|
|
<property name="movement">
|
|
<enum>QListView::Static</enum>
|
|
</property>
|
|
<property name="flow">
|
|
<enum>QListView::TopToBottom</enum>
|
|
</property>
|
|
<property name="isWrapping" stdset="0">
|
|
<bool>true</bool>
|
|
</property>
|
|
<property name="viewMode">
|
|
<enum>QListView::IconMode</enum>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
</widget>
|
|
<widget class="QMenuBar" name="menuBar">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>0</x>
|
|
<y>0</y>
|
|
<width>1000</width>
|
|
<height>25</height>
|
|
</rect>
|
|
</property>
|
|
<widget class="QMenu" name="menuFile">
|
|
<property name="title">
|
|
<string>File</string>
|
|
</property>
|
|
<addaction name="actionSave"/>
|
|
<addaction name="separator"/>
|
|
<addaction name="actionPrint_pre_view"/>
|
|
<addaction name="action_Print"/>
|
|
<addaction name="actionSave_to_p_df"/>
|
|
</widget>
|
|
<widget class="QMenu" name="menuEdit">
|
|
<property name="title">
|
|
<string>Edit</string>
|
|
</property>
|
|
<addaction name="actionZoomIn"/>
|
|
<addaction name="actionZoomOut"/>
|
|
</widget>
|
|
<widget class="QMenu" name="menuLayout">
|
|
<property name="title">
|
|
<string>Layout</string>
|
|
</property>
|
|
<addaction name="actionLayout"/>
|
|
</widget>
|
|
<addaction name="menuFile"/>
|
|
<addaction name="menuEdit"/>
|
|
<addaction name="menuLayout"/>
|
|
</widget>
|
|
<widget class="QToolBar" name="toolBar_2">
|
|
<property name="font">
|
|
<font>
|
|
<pointsize>10</pointsize>
|
|
</font>
|
|
</property>
|
|
<property name="windowTitle">
|
|
<string>Toolbar print</string>
|
|
</property>
|
|
<property name="toolButtonStyle">
|
|
<enum>Qt::ToolButtonTextUnderIcon</enum>
|
|
</property>
|
|
<attribute name="toolBarArea">
|
|
<enum>TopToolBarArea</enum>
|
|
</attribute>
|
|
<attribute name="toolBarBreak">
|
|
<bool>false</bool>
|
|
</attribute>
|
|
<addaction name="actionSave_to_p_df"/>
|
|
<addaction name="actionPrint_pre_view"/>
|
|
<addaction name="action_Print"/>
|
|
</widget>
|
|
<action name="actionSave">
|
|
<property name="enabled">
|
|
<bool>false</bool>
|
|
</property>
|
|
<property name="icon">
|
|
<iconset theme="document-save-as">
|
|
<normaloff/>
|
|
</iconset>
|
|
</property>
|
|
<property name="text">
|
|
<string>&Save As...</string>
|
|
</property>
|
|
<property name="toolTip">
|
|
<string>Save layout</string>
|
|
</property>
|
|
<property name="shortcut">
|
|
<string>Ctrl+S</string>
|
|
</property>
|
|
</action>
|
|
<action name="actionStop">
|
|
<property name="icon">
|
|
<iconset theme="process-stop">
|
|
<normaloff/>
|
|
</iconset>
|
|
</property>
|
|
<property name="text">
|
|
<string>Back</string>
|
|
</property>
|
|
<property name="toolTip">
|
|
<string>Back to main window</string>
|
|
</property>
|
|
</action>
|
|
<action name="actionZoomIn">
|
|
<property name="icon">
|
|
<iconset theme="zoom-in">
|
|
<normaloff/>
|
|
</iconset>
|
|
</property>
|
|
<property name="text">
|
|
<string>Zoom In</string>
|
|
</property>
|
|
<property name="toolTip">
|
|
<string>Zoom In</string>
|
|
</property>
|
|
</action>
|
|
<action name="actionZoomOut">
|
|
<property name="icon">
|
|
<iconset theme="zoom-out">
|
|
<normaloff/>
|
|
</iconset>
|
|
</property>
|
|
<property name="text">
|
|
<string>Zoom Out</string>
|
|
</property>
|
|
<property name="toolTip">
|
|
<string>Zoom Out</string>
|
|
</property>
|
|
</action>
|
|
<action name="actionLayout">
|
|
<property name="icon">
|
|
<iconset resource="share/resources/icon.qrc">
|
|
<normaloff>:/icon/32x32/layout.png</normaloff>:/icon/32x32/layout.png</iconset>
|
|
</property>
|
|
<property name="text">
|
|
<string>Generate a layout</string>
|
|
</property>
|
|
</action>
|
|
<action name="actionPrint_pre_view">
|
|
<property name="enabled">
|
|
<bool>false</bool>
|
|
</property>
|
|
<property name="icon">
|
|
<iconset theme="document-print-preview">
|
|
<normaloff/>
|
|
</iconset>
|
|
</property>
|
|
<property name="text">
|
|
<string>Print pre&view...</string>
|
|
</property>
|
|
</action>
|
|
<action name="action_Print">
|
|
<property name="enabled">
|
|
<bool>false</bool>
|
|
</property>
|
|
<property name="icon">
|
|
<iconset theme="document-print">
|
|
<normaloff/>
|
|
</iconset>
|
|
</property>
|
|
<property name="text">
|
|
<string>&Print...</string>
|
|
</property>
|
|
<property name="shortcut">
|
|
<string>Ctrl+P</string>
|
|
</property>
|
|
</action>
|
|
<action name="actionSave_to_p_df">
|
|
<property name="enabled">
|
|
<bool>false</bool>
|
|
</property>
|
|
<property name="icon">
|
|
<iconset resource="share/resources/icon.qrc">
|
|
<normaloff>:/icon/32x32/pdf.png</normaloff>:/icon/32x32/pdf.png</iconset>
|
|
</property>
|
|
<property name="text">
|
|
<string>Print to p&df</string>
|
|
</property>
|
|
</action>
|
|
</widget>
|
|
<customwidgets>
|
|
<customwidget>
|
|
<class>VTableGraphicsView</class>
|
|
<extends>QGraphicsView</extends>
|
|
<header>vtablegraphicsview.h</header>
|
|
</customwidget>
|
|
</customwidgets>
|
|
<resources>
|
|
<include location="share/resources/icon.qrc"/>
|
|
</resources>
|
|
<connections/>
|
|
</ui>
|