diff options
author | Gehad elrobey <gehadelrobey@gmail.com> | 2015-07-10 21:45:27 +0200 |
---|---|---|
committer | Lubomir I. Ivanov <neolit123@gmail.com> | 2015-07-20 15:28:03 +0300 |
commit | d4382c7c4b802b030bab5e64de4b1641f603d543 (patch) | |
tree | 335bf7e56a091c7b7f52a0fb9598f90fbc58523c /qt-ui/templateedit.ui | |
parent | 3a6963836682aa0e0e2825db4eaac7ea48a9939b (diff) | |
download | subsurface-d4382c7c4b802b030bab5e64de4b1641f603d543.tar.gz |
Printing: add preview to TemplateEdit dialog
Show QPixmap in QLabel, Use Printer class to render the Preview on
the QPixmap.
Signed-off-by: Gehad elrobey <gehadelrobey@gmail.com>
Signed-off-by: Lubomir I. Ivanov <neolit123@gmail.com>
Diffstat (limited to 'qt-ui/templateedit.ui')
-rw-r--r-- | qt-ui/templateedit.ui | 35 |
1 files changed, 13 insertions, 22 deletions
diff --git a/qt-ui/templateedit.ui b/qt-ui/templateedit.ui index 26fe15926..fa27eb324 100644 --- a/qt-ui/templateedit.ui +++ b/qt-ui/templateedit.ui @@ -188,21 +188,6 @@ </widget> </widget> </widget> - <widget class="QWebView" name="webView"> - <property name="geometry"> - <rect> - <x>20</x> - <y>60</y> - <width>251</width> - <height>311</height> - </rect> - </property> - <property name="url"> - <url> - <string>about:blank</string> - </url> - </property> - </widget> <widget class="QLabel" name="label_5"> <property name="geometry"> <rect> @@ -216,14 +201,20 @@ <string>Preview</string> </property> </widget> + <widget class="QLabel" name="label"> + <property name="geometry"> + <rect> + <x>50</x> + <y>70</y> + <width>211</width> + <height>291</height> + </rect> + </property> + <property name="text"> + <string/> + </property> + </widget> </widget> - <customwidgets> - <customwidget> - <class>QWebView</class> - <extends>QWidget</extends> - <header>QtWebKitWidgets/QWebView</header> - </customwidget> - </customwidgets> <resources/> <connections> <connection> |