1
0
mirror of https://git.code.sf.net/p/zint/code synced 2026-01-10 05:26:00 +00:00

Structural changes and updates from tgotic

This commit is contained in:
hooper114
2009-11-17 22:36:04 +00:00
parent 7fa4b32c1d
commit 1695eae7dd
17 changed files with 671 additions and 439 deletions

View File

@@ -2,6 +2,9 @@
<ui version="4.0">
<class>mainWindow</class>
<widget class="QWidget" name="mainWindow">
<property name="windowModality">
<enum>Qt::NonModal</enum>
</property>
<property name="geometry">
<rect>
<x>0</x>
@@ -10,10 +13,16 @@
<height>711</height>
</rect>
</property>
<property name="minimumSize">
<size>
<width>749</width>
<height>711</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>800</width>
<height>800</height>
<width>749</width>
<height>711</height>
</size>
</property>
<property name="windowTitle">
@@ -21,10 +30,10 @@
</property>
<property name="windowIcon">
<iconset resource="resources.qrc">
<normaloff>:/zico.png</normaloff>:/zico.png</iconset>
<normaloff>:/images/zico.png</normaloff>:/images/zico.png</iconset>
</property>
<property name="styleSheet">
<string notr="true">background-image: url(:/blueback.png);</string>
<property name="locale">
<locale language="English" country="UnitedStates"/>
</property>
<layout class="QVBoxLayout" name="verticalLayout_7">
<item>
@@ -50,7 +59,19 @@
</widget>
</item>
<item row="0" column="3">
<widget class="QToolButton" name="toolButton_5">
<widget class="QToolButton" name="btnZoomOut">
<property name="minimumSize">
<size>
<width>28</width>
<height>28</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>28</width>
<height>28</height>
</size>
</property>
<property name="toolTip">
<string>Zoom out</string>
</property>
@@ -59,7 +80,7 @@
</property>
<property name="icon">
<iconset resource="resources.qrc">
<normaloff>:/zoomout.png</normaloff>:/zoomout.png</iconset>
<normaloff>:/images/zoomout.png</normaloff>:/images/zoomout.png</iconset>
</property>
<property name="iconSize">
<size>
@@ -74,6 +95,9 @@
<property name="toolTip">
<string>Adjust zoom</string>
</property>
<property name="locale">
<locale language="English" country="UnitedStates"/>
</property>
<property name="minimum">
<number>50</number>
</property>
@@ -95,13 +119,25 @@
</widget>
</item>
<item row="2" column="3">
<widget class="QToolButton" name="toolButton_4">
<widget class="QToolButton" name="btnZoomIn">
<property name="minimumSize">
<size>
<width>28</width>
<height>28</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>28</width>
<height>28</height>
</size>
</property>
<property name="toolTip">
<string>Zoom in</string>
</property>
<property name="icon">
<iconset resource="resources.qrc">
<normaloff>:/zoomin.png</normaloff>:/zoomin.png</iconset>
<normaloff>:/images/zoomin.png</normaloff>:/images/zoomin.png</iconset>
</property>
<property name="iconSize">
<size>
@@ -112,13 +148,28 @@
</widget>
</item>
<item row="4" column="0">
<widget class="QToolButton" name="toolButton">
<widget class="QToolButton" name="btnRotateLeft">
<property name="minimumSize">
<size>
<width>28</width>
<height>28</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>28</width>
<height>28</height>
</size>
</property>
<property name="toolTip">
<string>Rotate anti-clockwise</string>
</property>
<property name="locale">
<locale language="English" country="UnitedStates"/>
</property>
<property name="icon">
<iconset resource="resources.qrc">
<normaloff>:/rotateleft.png</normaloff>:/rotateleft.png</iconset>
<normaloff>:/images/rotateleft.png</normaloff>:/images/rotateleft.png</iconset>
</property>
<property name="iconSize">
<size>
@@ -133,22 +184,46 @@
<property name="toolTip">
<string>Adjust Rotation</string>
</property>
<property name="locale">
<locale language="English" country="UnitedStates"/>
</property>
<property name="maximum">
<number>360</number>
</property>
<property name="pageStep">
<number>15</number>
</property>
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="tickPosition">
<enum>QSlider::TicksBelow</enum>
</property>
<property name="tickInterval">
<number>90</number>
</property>
</widget>
</item>
<item row="4" column="2">
<widget class="QToolButton" name="toolButton_2">
<widget class="QToolButton" name="btnRotatRight">
<property name="minimumSize">
<size>
<width>28</width>
<height>28</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>28</width>
<height>28</height>
</size>
</property>
<property name="toolTip">
<string>Rotate clockwise</string>
</property>
<property name="icon">
<iconset resource="resources.qrc">
<normaloff>:/rotateright.png</normaloff>:/rotateright.png</iconset>
<normaloff>:/images/rotateright.png</normaloff>:/images/rotateright.png</iconset>
</property>
<property name="iconSize">
<size>
@@ -391,7 +466,7 @@
<string>&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.0//EN&quot; &quot;http://www.w3.org/TR/REC-html40/strict.dtd&quot;&gt;
&lt;html&gt;&lt;head&gt;&lt;meta name=&quot;qrichtext&quot; content=&quot;1&quot; /&gt;&lt;style type=&quot;text/css&quot;&gt;
p, li { white-space: pre-wrap; }
&lt;/style&gt;&lt;/head&gt;&lt;body style=&quot; font-family:'DejaVu Sans'; font-size:8pt; font-weight:400; font-style:normal;&quot;&gt;
&lt;/style&gt;&lt;/head&gt;&lt;body style=&quot; font-family:'MS Shell Dlg 2'; font-size:8.25pt; font-weight:400; font-style:normal;&quot;&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-family:'Sans Serif'; font-size:9pt;&quot;&gt;Your Data Here!&lt;/span&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
</property>
<property name="acceptRichText">
@@ -704,80 +779,15 @@ p, li { white-space: pre-wrap; }
<tabstop>btnSave</tabstop>
<tabstop>btnExit</tabstop>
<tabstop>view</tabstop>
<tabstop>toolButton_5</tabstop>
<tabstop>btnZoomOut</tabstop>
<tabstop>scaleSlider</tabstop>
<tabstop>toolButton_4</tabstop>
<tabstop>toolButton</tabstop>
<tabstop>btnZoomIn</tabstop>
<tabstop>btnRotateLeft</tabstop>
<tabstop>rotateSlider</tabstop>
<tabstop>toolButton_2</tabstop>
<tabstop>btnRotatRight</tabstop>
</tabstops>
<resources>
<include location="resources.qrc"/>
</resources>
<connections>
<connection>
<sender>toolButton</sender>
<signal>clicked()</signal>
<receiver>rotateSlider</receiver>
<slot>subtractStep()</slot>
<hints>
<hint type="sourcelabel">
<x>29</x>
<y>265</y>
</hint>
<hint type="destinationlabel">
<x>76</x>
<y>265</y>
</hint>
</hints>
</connection>
<connection>
<sender>toolButton_2</sender>
<signal>clicked()</signal>
<receiver>rotateSlider</receiver>
<slot>addStep()</slot>
<hints>
<hint type="sourcelabel">
<x>491</x>
<y>260</y>
</hint>
<hint type="destinationlabel">
<x>431</x>
<y>260</y>
</hint>
</hints>
</connection>
<connection>
<sender>toolButton_4</sender>
<signal>clicked()</signal>
<receiver>scaleSlider</receiver>
<slot>addStep()</slot>
<hints>
<hint type="sourcelabel">
<x>532</x>
<y>231</y>
</hint>
<hint type="destinationlabel">
<x>528</x>
<y>191</y>
</hint>
</hints>
</connection>
<connection>
<sender>toolButton_5</sender>
<signal>clicked()</signal>
<receiver>scaleSlider</receiver>
<slot>subtractStep()</slot>
<hints>
<hint type="sourcelabel">
<x>530</x>
<y>56</y>
</hint>
<hint type="destinationlabel">
<x>530</x>
<y>94</y>
</hint>
</hints>
</connection>
</connections>
<connections/>
</ui>