0
0
mirror of https://github.com/fralx/LimeReport.git synced 2025-11-25 00:18:06 +03:00

Demo R2 refactored

This commit is contained in:
Arin Alexander
2016-05-24 01:32:21 +04:00
parent 906fff5911
commit 11a06456b1
3 changed files with 223 additions and 394 deletions

View File

@@ -18,10 +18,13 @@
<normaloff>:/report/images/logo32</normaloff>:/report/images/logo32</iconset>
</property>
<widget class="QWidget" name="centralWidget">
<layout class="QVBoxLayout" name="verticalLayout_4">
<layout class="QHBoxLayout" name="horizontalLayout_2">
<item>
<layout class="QHBoxLayout" name="horizontalLayout_3">
<item>
<widget class="QSplitter" name="splitter">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<widget class="QWidget" name="">
<layout class="QVBoxLayout" name="verticalLayout_3">
<item>
<widget class="QGroupBox" name="groupBox">
@@ -37,18 +40,6 @@
<layout class="QVBoxLayout" name="verticalLayout_2">
<item>
<widget class="QTreeWidget" name="treeWidget">
<property name="sizePolicy">
<sizepolicy hsizetype="Fixed" vsizetype="Expanding">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="maximumSize">
<size>
<width>200</width>
<height>16777215</height>
</size>
</property>
<property name="font">
<font>
<weight>50</weight>
@@ -230,354 +221,162 @@
</layout>
</item>
</layout>
</item>
<item>
<widget class="QGroupBox" name="groupBox_2">
<property name="font">
<font>
<weight>75</weight>
<bold>true</bold>
</font>
</widget>
<widget class="QGroupBox" name="groupBox_2">
<property name="font">
<font>
<weight>75</weight>
<bold>true</bold>
</font>
</property>
<property name="title">
<string/>
</property>
<layout class="QVBoxLayout" name="verticalLayout_5">
<property name="spacing">
<number>4</number>
</property>
<property name="title">
<string>Preview</string>
</property>
<layout class="QVBoxLayout" name="verticalLayout_5">
<property name="spacing">
<number>4</number>
</property>
<item>
<layout class="QHBoxLayout" name="horizontalLayout_2">
<property name="spacing">
<number>2</number>
</property>
<item>
<widget class="QToolButton" name="tbDesign">
<property name="font">
<font>
<pointsize>6</pointsize>
</font>
</property>
<property name="text">
<string>...</string>
</property>
<property name="icon">
<iconset resource="demo_r2.qrc">
<normaloff>:/images/images/design.png</normaloff>:/images/images/design.png</iconset>
</property>
<property name="iconSize">
<size>
<width>24</width>
<height>24</height>
</size>
</property>
<property name="autoRaise">
<bool>true</bool>
</property>
</widget>
</item>
<item>
<widget class="QLabel" name="label_3">
<property name="frameShape">
<enum>QFrame::VLine</enum>
</property>
<property name="frameShadow">
<enum>QFrame::Sunken</enum>
</property>
<property name="text">
<string/>
</property>
</widget>
</item>
<item>
<widget class="QToolButton" name="tbPrint">
<property name="text">
<string>...</string>
</property>
<property name="icon">
<iconset resource="demo_r2.qrc">
<normaloff>:/images/images/Print.png</normaloff>:/images/images/Print.png</iconset>
</property>
<property name="iconSize">
<size>
<width>24</width>
<height>24</height>
</size>
</property>
<property name="autoRaise">
<bool>true</bool>
</property>
</widget>
</item>
<item>
<widget class="QToolButton" name="tbPDFExport">
<property name="text">
<string>...</string>
</property>
<property name="icon">
<iconset resource="demo_r2.qrc">
<normaloff>:/images/images/PDF.png</normaloff>:/images/images/PDF.png</iconset>
</property>
<property name="iconSize">
<size>
<width>24</width>
<height>24</height>
</size>
</property>
<property name="autoRaise">
<bool>true</bool>
</property>
</widget>
</item>
<item>
<widget class="QLabel" name="label_4">
<property name="frameShape">
<enum>QFrame::VLine</enum>
</property>
<property name="frameShadow">
<enum>QFrame::Sunken</enum>
</property>
<property name="text">
<string/>
</property>
</widget>
</item>
<item>
<widget class="QToolButton" name="tbZoomIn">
<property name="text">
<string>...</string>
</property>
<property name="icon">
<iconset resource="demo_r2.qrc">
<normaloff>:/images/images/ZoomIn.png</normaloff>:/images/images/ZoomIn.png</iconset>
</property>
<property name="iconSize">
<size>
<width>24</width>
<height>24</height>
</size>
</property>
<property name="autoRaise">
<bool>true</bool>
</property>
</widget>
</item>
<item>
<widget class="QToolButton" name="tbZoomOut">
<property name="text">
<string>...</string>
</property>
<property name="icon">
<iconset resource="demo_r2.qrc">
<normaloff>:/images/images/ZoomOut.png</normaloff>:/images/images/ZoomOut.png</iconset>
</property>
<property name="iconSize">
<size>
<width>24</width>
<height>24</height>
</size>
</property>
<property name="autoRaise">
<bool>true</bool>
</property>
</widget>
</item>
<item>
<widget class="QComboBox" name="cbScalePercent">
<property name="editable">
<bool>true</bool>
</property>
<property name="frame">
<bool>true</bool>
</property>
</widget>
</item>
<item>
<widget class="QToolButton" name="tbOneToOne">
<property name="text">
<string>...</string>
</property>
<property name="icon">
<iconset resource="demo_r2.qrc">
<normaloff>:/images/images/OneToOne.png</normaloff>:/images/images/OneToOne.png</iconset>
</property>
<property name="iconSize">
<size>
<width>24</width>
<height>24</height>
</size>
</property>
<property name="autoRaise">
<bool>true</bool>
</property>
</widget>
</item>
<item>
<widget class="QToolButton" name="tbFitWidth">
<property name="text">
<string>...</string>
</property>
<property name="icon">
<iconset resource="demo_r2.qrc">
<normaloff>:/images/images/FitWidth.png</normaloff>:/images/images/FitWidth.png</iconset>
</property>
<property name="iconSize">
<size>
<width>24</width>
<height>24</height>
</size>
</property>
<property name="autoRaise">
<bool>true</bool>
</property>
</widget>
</item>
<item>
<widget class="QToolButton" name="tbFitPage">
<property name="text">
<string>...</string>
</property>
<property name="icon">
<iconset resource="demo_r2.qrc">
<normaloff>:/images/images/FitPage.png</normaloff>:/images/images/FitPage.png</iconset>
</property>
<property name="iconSize">
<size>
<width>24</width>
<height>24</height>
</size>
</property>
<property name="autoRaise">
<bool>true</bool>
</property>
</widget>
</item>
<item>
<widget class="QLabel" name="label_5">
<property name="frameShape">
<enum>QFrame::VLine</enum>
</property>
<property name="frameShadow">
<enum>QFrame::Sunken</enum>
</property>
<property name="text">
<string/>
</property>
</widget>
</item>
<item>
<widget class="QToolButton" name="tbFirstPage">
<property name="text">
<string>...</string>
</property>
<property name="icon">
<iconset resource="demo_r2.qrc">
<normaloff>:/images/images/First.png</normaloff>:/images/images/First.png</iconset>
</property>
<property name="iconSize">
<size>
<width>24</width>
<height>24</height>
</size>
</property>
<property name="autoRaise">
<bool>true</bool>
</property>
</widget>
</item>
<item>
<widget class="QToolButton" name="tbPrevPage">
<property name="text">
<string>...</string>
</property>
<property name="icon">
<iconset resource="demo_r2.qrc">
<normaloff>:/images/images/Prev.png</normaloff>:/images/images/Prev.png</iconset>
</property>
<property name="iconSize">
<size>
<width>24</width>
<height>24</height>
</size>
</property>
<property name="autoRaise">
<bool>true</bool>
</property>
</widget>
</item>
<item>
<widget class="QSpinBox" name="sbPageNavigator">
<property name="prefix">
<string>Page: </string>
</property>
<property name="maximum">
<number>10000000</number>
</property>
</widget>
</item>
<item>
<widget class="QToolButton" name="tbNextPage">
<property name="text">
<string>...</string>
</property>
<property name="icon">
<iconset resource="demo_r2.qrc">
<normaloff>:/images/images/Next.png</normaloff>:/images/images/Next.png</iconset>
</property>
<property name="iconSize">
<size>
<width>24</width>
<height>24</height>
</size>
</property>
<property name="autoRaise">
<bool>true</bool>
</property>
</widget>
</item>
<item>
<widget class="QToolButton" name="tbLastPage">
<property name="text">
<string>...</string>
</property>
<property name="icon">
<iconset resource="demo_r2.qrc">
<normaloff>:/images/images/Last.png</normaloff>:/images/images/Last.png</iconset>
</property>
<property name="iconSize">
<size>
<width>24</width>
<height>24</height>
</size>
</property>
<property name="autoRaise">
<bool>true</bool>
</property>
</widget>
</item>
<item>
<spacer name="horizontalSpacer">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>40</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
</layout>
</item>
</layout>
</widget>
</item>
</layout>
</layout>
</widget>
</widget>
</item>
</layout>
</widget>
<widget class="QStatusBar" name="statusBar"/>
<widget class="QToolBar" name="toolBar">
<property name="windowTitle">
<string>toolBar</string>
</property>
<attribute name="toolBarArea">
<enum>TopToolBarArea</enum>
</attribute>
<attribute name="toolBarBreak">
<bool>false</bool>
</attribute>
<addaction name="actionDesign_Report"/>
<addaction name="separator"/>
<addaction name="actionPrint_Report"/>
<addaction name="actionExport_to_PDF"/>
<addaction name="separator"/>
<addaction name="actionZoomIn"/>
<addaction name="actionZoom_Out"/>
<addaction name="actionOne_to_One"/>
<addaction name="actionFit_Width"/>
<addaction name="actionFit_Page"/>
<addaction name="separator"/>
<addaction name="actionFirst_Page"/>
<addaction name="actionPrior_Page"/>
<addaction name="actionNext_Page"/>
<addaction name="actionLast_Page"/>
</widget>
<action name="actionDesign_Report">
<property name="icon">
<iconset resource="demo_r2.qrc">
<normaloff>:/images/images/design.png</normaloff>:/images/images/design.png</iconset>
</property>
<property name="text">
<string>Design Report</string>
</property>
</action>
<action name="actionPrint_Report">
<property name="icon">
<iconset resource="demo_r2.qrc">
<normaloff>:/images/images/Print.png</normaloff>:/images/images/Print.png</iconset>
</property>
<property name="text">
<string>Print Report</string>
</property>
</action>
<action name="actionExport_to_PDF">
<property name="icon">
<iconset resource="demo_r2.qrc">
<normaloff>:/images/images/PDF.png</normaloff>:/images/images/PDF.png</iconset>
</property>
<property name="text">
<string>Export to PDF</string>
</property>
</action>
<action name="actionZoomIn">
<property name="icon">
<iconset resource="demo_r2.qrc">
<normaloff>:/images/images/ZoomIn.png</normaloff>:/images/images/ZoomIn.png</iconset>
</property>
<property name="text">
<string>Zoom In</string>
</property>
</action>
<action name="actionZoom_Out">
<property name="icon">
<iconset resource="demo_r2.qrc">
<normaloff>:/images/images/ZoomOut.png</normaloff>:/images/images/ZoomOut.png</iconset>
</property>
<property name="text">
<string>Zoom Out</string>
</property>
</action>
<action name="actionOne_to_One">
<property name="icon">
<iconset resource="demo_r2.qrc">
<normaloff>:/images/images/OneToOne.png</normaloff>:/images/images/OneToOne.png</iconset>
</property>
<property name="text">
<string>One to One</string>
</property>
</action>
<action name="actionFit_Width">
<property name="icon">
<iconset resource="demo_r2.qrc">
<normaloff>:/images/images/FitWidth.png</normaloff>:/images/images/FitWidth.png</iconset>
</property>
<property name="text">
<string>Fit Width</string>
</property>
</action>
<action name="actionFit_Page">
<property name="icon">
<iconset resource="demo_r2.qrc">
<normaloff>:/images/images/FitPage.png</normaloff>:/images/images/FitPage.png</iconset>
</property>
<property name="text">
<string>Fit Page</string>
</property>
</action>
<action name="actionFirst_Page">
<property name="icon">
<iconset resource="demo_r2.qrc">
<normaloff>:/images/images/First.png</normaloff>:/images/images/First.png</iconset>
</property>
<property name="text">
<string>First Page</string>
</property>
</action>
<action name="actionPrior_Page">
<property name="icon">
<iconset resource="demo_r2.qrc">
<normaloff>:/images/images/Prev.png</normaloff>:/images/images/Prev.png</iconset>
</property>
<property name="text">
<string>Prior Page</string>
</property>
</action>
<action name="actionNext_Page">
<property name="icon">
<iconset resource="demo_r2.qrc">
<normaloff>:/images/images/Next.png</normaloff>:/images/images/Next.png</iconset>
</property>
<property name="text">
<string>Next Page</string>
</property>
</action>
<action name="actionLast_Page">
<property name="icon">
<iconset resource="demo_r2.qrc">
<normaloff>:/images/images/Last.png</normaloff>:/images/images/Last.png</iconset>
</property>
<property name="text">
<string>Last Page</string>
</property>
</action>
</widget>
<layoutdefault spacing="6" margin="11"/>
<resources>