summaryrefslogtreecommitdiff
path: root/vcl/uiconfig
diff options
context:
space:
mode:
authorArmin Le Grand <Armin.Le.Grand@cib.de>2016-08-25 16:50:41 +0200
committerThorsten Behrens <Thorsten.Behrens@CIB.de>2016-08-28 00:32:50 +0200
commitf9238c34f090adcc6a9da71349b776e7416ade91 (patch)
tree9fe512a6909c57608236d7263f5f613c21a51ed3 /vcl/uiconfig
parent25aa9f30489801b2ed51395d7dad20ec0a2b0473 (diff)
screenshot: develop interactive screenshot dialog
Implemented a first version of an interactive screenshot dialog that supports annotations, text excerpts for these and allows to create a screenshot file How to use: * enable experimental features in Tools->Options * open any random dialog * open context menu - there's now a 'Screenshot' entry * click that, screenshot dialog pops open, mouse over the grayed-out screenshot to highlight controls * click once to highlight, click a 2nd time to unselect Change-Id: I3bcd76b96ad023e11421e4fcfac866ebf4f5ff78
Diffstat (limited to 'vcl/uiconfig')
-rw-r--r--vcl/uiconfig/ui/screenshotannotationdialog.ui105
1 files changed, 105 insertions, 0 deletions
diff --git a/vcl/uiconfig/ui/screenshotannotationdialog.ui b/vcl/uiconfig/ui/screenshotannotationdialog.ui
new file mode 100644
index 000000000000..6ab343679118
--- /dev/null
+++ b/vcl/uiconfig/ui/screenshotannotationdialog.ui
@@ -0,0 +1,105 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!-- Generated with glade 3.16.1 -->
+<interface>
+ <requires lib="gtk+" version="3.0"/>
+ <object class="GtkDialog" id="ScreenshotAnnotationDialog">
+ <property name="can_focus">False</property>
+ <property name="border_width">6</property>
+ <property name="title" translatable="yes">Interactive Screenshot Annotation</property>
+ <property name="modal">True</property>
+ <property name="default_width">600</property>
+ <property name="default_height">460</property>
+ <property name="type_hint">normal</property>
+ <child internal-child="vbox">
+ <object class="GtkBox" id="dialog-vbox1">
+ <property name="can_focus">False</property>
+ <property name="orientation">vertical</property>
+ <property name="spacing">12</property>
+ <child>
+ <object class="GtkImage" id="picture">
+ <property name="name">picture</property>
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="stock">gtk-missing-image</property>
+ </object>
+ <packing>
+ <property name="expand">True</property>
+ <property name="fill">True</property>
+ <property name="position">0</property>
+ </packing>
+ </child>
+ <child internal-child="action_area">
+ <object class="GtkButtonBox" id="dialog-action_area1">
+ <property name="can_focus">False</property>
+ <property name="layout_style">end</property>
+ <child>
+ <object class="GtkButton" id="ok">
+ <property name="label">gtk-ok</property>
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="can_default">True</property>
+ <property name="has_default">True</property>
+ <property name="receives_default">True</property>
+ <property name="use_stock">True</property>
+ </object>
+ <packing>
+ <property name="expand">False</property>
+ <property name="fill">True</property>
+ <property name="position">0</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkButton" id="cancel">
+ <property name="label">gtk-cancel</property>
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="has_focus">True</property>
+ <property name="receives_default">True</property>
+ <property name="use_stock">True</property>
+ </object>
+ <packing>
+ <property name="expand">False</property>
+ <property name="fill">True</property>
+ <property name="position">1</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkButton" id="save">
+ <property name="label" translatable="yes">Save Screenshot...</property>
+ <property name="name">save</property>
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="receives_default">True</property>
+ </object>
+ <packing>
+ <property name="expand">False</property>
+ <property name="fill">True</property>
+ <property name="position">2</property>
+ <property name="secondary">True</property>
+ </packing>
+ </child>
+ </object>
+ <packing>
+ <property name="expand">False</property>
+ <property name="fill">True</property>
+ <property name="pack_type">end</property>
+ <property name="position">0</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkTextView" id="text">
+ <property name="name">text</property>
+ <property name="height_request">80</property>
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ </object>
+ <packing>
+ <property name="expand">False</property>
+ <property name="fill">True</property>
+ <property name="position">2</property>
+ </packing>
+ </child>
+ </object>
+ </child>
+ </object>
+</interface>