summaryrefslogtreecommitdiffstats
path: root/src/printsupport/widgets/qcupsjobwidget.ui
diff options
context:
space:
mode:
authorMartin Klapetek <mklapetek@kde.org>2013-09-06 18:32:41 +0200
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-09-10 16:11:15 +0200
commitad46d5b82b1bc4ce931b62907cd41356de294f5a (patch)
treee5a8fa3fd89e79cbf2087f38f72af97b5ee77b0a /src/printsupport/widgets/qcupsjobwidget.ui
parentf3b3b014604c070cd1836035e53fffae87f7adda (diff)
Add CUPS options widget to print support
This adds new tab 'Job Options' into Properties dialog in print dialog. In this tab it's possible to set some advanced printing job options such as print schedule, job priority or job billing. Patch also adds new utility methods into QCUPSSupport, which are used to set particular CUPS job options. [ChangeLog][QtPrintSupport][QPrintDialog] Added support for setting CUPS job options in the print dialog. Change-Id: If2640eedb3d83f50cbb20491f7ec50b325f54f22 Reviewed-by: John Layt <jlayt@kde.org>
Diffstat (limited to 'src/printsupport/widgets/qcupsjobwidget.ui')
-rw-r--r--src/printsupport/widgets/qcupsjobwidget.ui108
1 files changed, 108 insertions, 0 deletions
diff --git a/src/printsupport/widgets/qcupsjobwidget.ui b/src/printsupport/widgets/qcupsjobwidget.ui
new file mode 100644
index 0000000000..2c03ef843a
--- /dev/null
+++ b/src/printsupport/widgets/qcupsjobwidget.ui
@@ -0,0 +1,108 @@
+<ui version="4.0" >
+ <class>QCupsJobWidget</class>
+ <widget class="QWidget" name="QCupsJobWidget" >
+ <property name="geometry" >
+ <rect>
+ <x>0</x>
+ <y>0</y>
+ <width>400</width>
+ <height>294</height>
+ </rect>
+ </property>
+ <property name="windowTitle" >
+ <string>Job</string>
+ </property>
+ <layout class="QGridLayout" name="gridLayout_3" >
+ <item row="0" column="0" >
+ <widget class="QGroupBox" name="jobControlGroupBox" >
+ <property name="title" >
+ <string>Job Control</string>
+ </property>
+ <layout class="QGridLayout" name="gridLayout" >
+ <item row="0" column="0" >
+ <widget class="QLabel" name="jobHoldLabel" >
+ <property name="text" >
+ <string>Scheduled printing:</string>
+ </property>
+ </widget>
+ </item>
+ <item row="0" column="1" colspan="2" >
+ <widget class="QComboBox" name="jobHoldComboBox" />
+ </item>
+ <item row="0" column="3" >
+ <widget class="QTimeEdit" name="jobHoldTimeEdit" />
+ </item>
+ <item row="1" column="0" >
+ <widget class="QLabel" name="jobBillingLabel" >
+ <property name="text" >
+ <string>Billing information:</string>
+ </property>
+ </widget>
+ </item>
+ <item row="1" column="1" colspan="3" >
+ <widget class="QLineEdit" name="jobBillingLineEdit" />
+ </item>
+ <item row="2" column="0" >
+ <widget class="QLabel" name="jobPriorityLabel" >
+ <property name="text" >
+ <string>Job priority:</string>
+ </property>
+ </widget>
+ </item>
+ <item row="2" column="1" >
+ <widget class="QSpinBox" name="jobPrioritySpinBox" >
+ <property name="maximum" >
+ <number>100</number>
+ </property>
+ <property name="value" >
+ <number>50</number>
+ </property>
+ </widget>
+ </item>
+ <item row="2" column="2" colspan="2" >
+ <spacer name="horizontalSpacer" >
+ <property name="orientation" >
+ <enum>Qt::Horizontal</enum>
+ </property>
+ <property name="sizeHint" stdset="0" >
+ <size>
+ <width>180</width>
+ <height>20</height>
+ </size>
+ </property>
+ </spacer>
+ </item>
+ <item row="3" column="1" >
+ <spacer name="verticalSpacer" >
+ <property name="orientation" >
+ <enum>Qt::Vertical</enum>
+ </property>
+ <property name="sizeHint" stdset="0" >
+ <size>
+ <width>20</width>
+ <height>35</height>
+ </size>
+ </property>
+ </spacer>
+ </item>
+ </layout>
+ </widget>
+ </item>
+ <item row="2" column="0" >
+ <spacer name="verticalSpacer_3" >
+ <property name="orientation" >
+ <enum>Qt::Vertical</enum>
+ </property>
+ <property name="sizeHint" stdset="0" >
+ <size>
+ <width>20</width>
+ <height>13</height>
+ </size>
+ </property>
+ </spacer>
+ </item>
+ </layout>
+ </widget>
+ <resources/>
+ <connections/>
+</ui>