diff options
author | Caolán McNamara <caolanm@redhat.com> | 2018-04-09 08:55:27 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2018-04-09 21:47:28 +0200 |
commit | 0062b0b09b84fa275bbd921d0775eb1ae6d2ba64 (patch) | |
tree | 1ae937e90387ea2c4cc58acd6b766d61dc077e2b /vcl/uiconfig | |
parent | 829674fa46c8c07584022b84bbc8c3d877b895c2 (diff) |
weld RTSDialog and tab pages
Change-Id: I9bec5f8afe65a9d3b75efd4f860beb47f16ece05
Reviewed-on: https://gerrit.libreoffice.org/52629
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'vcl/uiconfig')
-rw-r--r-- | vcl/uiconfig/ui/printerdevicepage.ui | 128 | ||||
-rw-r--r-- | vcl/uiconfig/ui/printerpaperpage.ui | 2 | ||||
-rw-r--r-- | vcl/uiconfig/ui/printerpropertiesdialog.ui | 57 |
3 files changed, 139 insertions, 48 deletions
diff --git a/vcl/uiconfig/ui/printerdevicepage.ui b/vcl/uiconfig/ui/printerdevicepage.ui index ba2987b66d29..1dc801f78ea9 100644 --- a/vcl/uiconfig/ui/printerdevicepage.ui +++ b/vcl/uiconfig/ui/printerdevicepage.ui @@ -1,40 +1,22 @@ <?xml version="1.0" encoding="UTF-8"?> -<!-- Generated with glade 3.18.3 --> +<!-- Generated with glade 3.20.4 --> <interface domain="vcl"> <requires lib="gtk+" version="3.18"/> <object class="GtkListStore" id="liststore1"> <columns> - <!-- column-name gchararray1 --> + <!-- column-name text --> + <column type="gchararray"/> + <!-- column-name id --> + <column type="gchararray"/> + </columns> + </object> + <object class="GtkListStore" id="liststore2"> + <columns> + <!-- column-name text --> + <column type="gchararray"/> + <!-- column-name id --> <column type="gchararray"/> - <!-- column-name gint1 --> - <column type="gint"/> </columns> - <data> - <row> - <col id="0" translatable="yes" context="printerdevicepage|liststore1">Automatic : %s</col> - <col id="1">0</col> - </row> - <row> - <col id="0" translatable="yes" context="printerdevicepage|liststore1">PostScript (Level from driver)</col> - <col id="1">1</col> - </row> - <row> - <col id="0" translatable="yes" context="printerdevicepage|liststore1">PostScript Level 1</col> - <col id="1">2</col> - </row> - <row> - <col id="0" translatable="yes" context="printerdevicepage|liststore1">PostScript Level 2</col> - <col id="1">3</col> - </row> - <row> - <col id="0" translatable="yes" context="printerdevicepage|liststore1">PostScript Level 3</col> - <col id="1">4</col> - </row> - <row> - <col id="0" translatable="yes" context="printerdevicepage|liststore1">PDF</col> - <col id="1">10</col> - </row> - </data> </object> <object class="GtkGrid" id="PrinterDevicePage"> <property name="visible">True</property> @@ -49,10 +31,10 @@ <object class="GtkLabel" id="label7"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="xalign">0</property> <property name="label" translatable="yes" context="printerdevicepage|label7">_Option:</property> <property name="use_underline">True</property> - <property name="mnemonic_widget">options:border</property> + <property name="mnemonic_widget">options</property> + <property name="xalign">0</property> </object> <packing> <property name="left_attach">0</property> @@ -63,10 +45,10 @@ <object class="GtkLabel" id="label8"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="xalign">0</property> <property name="label" translatable="yes" context="printerdevicepage|label8">Current _value:</property> <property name="use_underline">True</property> - <property name="mnemonic_widget">values:border</property> + <property name="mnemonic_widget">values</property> + <property name="xalign">0</property> </object> <packing> <property name="left_attach">1</property> @@ -74,13 +56,37 @@ </packing> </child> <child> - <object class="GtkTreeView" id="options:border"> + <object class="GtkScrolledWindow"> <property name="visible">True</property> <property name="can_focus">True</property> <property name="hexpand">True</property> <property name="vexpand">True</property> - <child internal-child="selection"> - <object class="GtkTreeSelection" id="treeview-selection1"/> + <property name="shadow_type">in</property> + <child> + <object class="GtkTreeView" id="options"> + <property name="visible">True</property> + <property name="can_focus">True</property> + <property name="hexpand">True</property> + <property name="vexpand">True</property> + <property name="model">liststore1</property> + <property name="headers_visible">False</property> + <property name="headers_clickable">False</property> + <property name="search_column">0</property> + <property name="show_expanders">False</property> + <child internal-child="selection"> + <object class="GtkTreeSelection" id="treeview-selection1"/> + </child> + <child> + <object class="GtkTreeViewColumn" id="treeviewcolumn1"> + <child> + <object class="GtkCellRendererText" id="cellrenderertext1"/> + <attributes> + <attribute name="text">0</attribute> + </attributes> + </child> + </object> + </child> + </object> </child> </object> <packing> @@ -99,6 +105,7 @@ <object class="GtkEntry" id="custom"> <property name="can_focus">True</property> <property name="no_show_all">True</property> + <property name="activates_default">True</property> </object> <packing> <property name="left_attach">0</property> @@ -106,13 +113,37 @@ </packing> </child> <child> - <object class="GtkTreeView" id="values:border"> + <object class="GtkScrolledWindow"> <property name="visible">True</property> <property name="can_focus">True</property> <property name="hexpand">True</property> <property name="vexpand">True</property> - <child internal-child="selection"> - <object class="GtkTreeSelection" id="treeview-selection"/> + <property name="shadow_type">in</property> + <child> + <object class="GtkTreeView" id="values"> + <property name="visible">True</property> + <property name="can_focus">True</property> + <property name="hexpand">True</property> + <property name="vexpand">True</property> + <property name="model">liststore2</property> + <property name="headers_visible">False</property> + <property name="headers_clickable">False</property> + <property name="search_column">0</property> + <property name="show_expanders">False</property> + <child internal-child="selection"> + <object class="GtkTreeSelection" id="treeview-selection2"/> + </child> + <child> + <object class="GtkTreeViewColumn" id="treeviewcolumn2"> + <child> + <object class="GtkCellRendererText" id="cellrenderertext2"/> + <attributes> + <attribute name="text">0</attribute> + </attributes> + </child> + </object> + </child> + </object> </child> </object> <packing> @@ -136,10 +167,10 @@ <object class="GtkLabel" id="label11"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="xalign">1</property> <property name="label" translatable="yes" context="printerdevicepage|label11">Color _depth:</property> <property name="use_underline">True</property> <property name="mnemonic_widget">colordepth</property> + <property name="xalign">1</property> </object> <packing> <property name="left_attach">0</property> @@ -150,10 +181,10 @@ <object class="GtkLabel" id="label10"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="xalign">1</property> <property name="label" translatable="yes" context="printerdevicepage|label10">Co_lor:</property> <property name="use_underline">True</property> <property name="mnemonic_widget">colorspace</property> + <property name="xalign">1</property> </object> <packing> <property name="left_attach">0</property> @@ -164,10 +195,10 @@ <object class="GtkLabel" id="label9"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="xalign">1</property> <property name="label" translatable="yes" context="printerdevicepage|label9">Printer language _type:</property> <property name="use_underline">True</property> <property name="mnemonic_widget">level</property> + <property name="xalign">1</property> </object> <packing> <property name="left_attach">0</property> @@ -175,11 +206,18 @@ </packing> </child> <child> - <object class="GtkComboBox" id="level"> + <object class="GtkComboBoxText" id="level"> <property name="visible">True</property> <property name="can_focus">False</property> <property name="hexpand">True</property> - <property name="model">liststore1</property> + <items> + <item id="0" translatable="yes" context="printerdevicepage|liststore1">Automatic : %s</item> + <item id="1" translatable="yes" context="printerdevicepage|liststore1">PostScript (Level from driver)</item> + <item id="2" translatable="yes" context="printerdevicepage|liststore1">PostScript Level 1</item> + <item id="3" translatable="yes" context="printerdevicepage|liststore1">PostScript Level 2</item> + <item id="4" translatable="yes" context="printerdevicepage|liststore1">PostScript Level 3</item> + <item id="10" translatable="yes" context="printerdevicepage|liststore1">PDF</item> + </items> </object> <packing> <property name="left_attach">1</property> diff --git a/vcl/uiconfig/ui/printerpaperpage.ui b/vcl/uiconfig/ui/printerpaperpage.ui index 067762d27a74..6ba644163819 100644 --- a/vcl/uiconfig/ui/printerpaperpage.ui +++ b/vcl/uiconfig/ui/printerpaperpage.ui @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="UTF-8"?> -<!-- Generated with glade 3.20.0 --> +<!-- Generated with glade 3.20.4 --> <interface domain="vcl"> <requires lib="gtk+" version="3.18"/> <object class="GtkGrid" id="PrinterPaperPage"> diff --git a/vcl/uiconfig/ui/printerpropertiesdialog.ui b/vcl/uiconfig/ui/printerpropertiesdialog.ui index 5df6b116a5fc..bb6e09864435 100644 --- a/vcl/uiconfig/ui/printerpropertiesdialog.ui +++ b/vcl/uiconfig/ui/printerpropertiesdialog.ui @@ -1,12 +1,14 @@ <?xml version="1.0" encoding="UTF-8"?> -<!-- Generated with glade 3.20.0 --> +<!-- Generated with glade 3.20.4 --> <interface domain="vcl"> <requires lib="gtk+" version="3.18"/> <object class="GtkDialog" id="PrinterPropertiesDialog"> <property name="can_focus">False</property> <property name="border_width">6</property> <property name="title" translatable="yes" context="printerpropertiesdialog|PrinterPropertiesDialog">Properties of %s</property> - <property name="resizable">False</property> + <property name="modal">True</property> + <property name="default_width">0</property> + <property name="default_height">0</property> <property name="type_hint">dialog</property> <child internal-child="vbox"> <object class="GtkBox" id="dialog-vbox1"> @@ -68,6 +70,30 @@ <child> <placeholder/> </child> + <child> + <placeholder/> + </child> + <child> + <placeholder/> + </child> + <child> + <placeholder/> + </child> + <child> + <placeholder/> + </child> + <child> + <placeholder/> + </child> + <child> + <placeholder/> + </child> + <child> + <placeholder/> + </child> + <child> + <placeholder/> + </child> </object> </child> <child type="tab"> @@ -88,6 +114,30 @@ <child> <placeholder/> </child> + <child> + <placeholder/> + </child> + <child> + <placeholder/> + </child> + <child> + <placeholder/> + </child> + <child> + <placeholder/> + </child> + <child> + <placeholder/> + </child> + <child> + <placeholder/> + </child> + <child> + <placeholder/> + </child> + <child> + <placeholder/> + </child> </object> <packing> <property name="position">1</property> @@ -117,5 +167,8 @@ <action-widget response="-5">ok</action-widget> <action-widget response="-6">cancel</action-widget> </action-widgets> + <child> + <placeholder/> + </child> </object> </interface> |