[PULL REQUEST] Initial print dialog options widget

Dirk Hohndel dirk at hohndel.org
Wed Jul 10 01:57:43 PDT 2013


Thanks Lubomir. This is looking pretty nice. There is a minor rendering
issue on my screen:



See the Sizing heights block?
ofile height  -- and the 55%

Anyway, I'm sure this can be fine tuned.

Pushed

/D

On Wed, 2013-07-10 at 11:46 +0300, Lubomir I. Ivanov wrote:

> i followed the advise of Tomaz and did a separate widget in printoptions.h/cpp
> (PrintOptions) which holds all the same-as-GTK print tab controls.
> 
> currently there is also a printdialog.h/cpp which will be using when
> testing the actual print layout logic. later it can be replaced with the
> forked QPrintDialog and have the PrintOptions widget in a tab, as discussed.
> 
> this is pretty much the dialog part only which modifies values in a
> 'struct options' (display.h) on each user interaction. i'm thinking of
> creating another class (e.g. PrintLayout), which will handle the page
> layouts based on the options struct and printer settings.
> 
> if you have any comments please go ahead.
> 
> -------
> The following changes since commit 35356e364d2f0765c04c6d8838ff403743d20ae3:
> 
>   Calculate deco stops, TTS and NDL (2013-07-05 22:29:36 -0700)
> 
> are available in the git repository at:
> 
>   git at github.com:neolit123/subsurface.git print
> 
> for you to fetch changes up to 74f989bc46a06c124283fa851a06dd093f817c96:
> 
>   Print: connect all the options widgets to slots (2013-07-10 11:06:01 +0300)
> 
> ----------------------------------------------------------------
> Lubomir I. Ivanov (6):
>       Print: add UI for a print dialog
>       Print: add all controls to the print options widget
>       Print: further adjust the print options widget UI
>       Print: label update on height slider move
>       Print: correct tab order in the options widget
>       Print: connect all the options widgets to slots
> 
>  Makefile               |   4 +
>  qt-ui/mainwindow.cpp   |   3 +-
>  qt-ui/printdialog.cpp  |  43 ++++++
>  qt-ui/printdialog.h    |  25 +++
>  qt-ui/printoptions.cpp | 132 ++++++++++++++++
>  qt-ui/printoptions.h   |  42 +++++
>  qt-ui/printoptions.ui  | 411 +++++++++++++++++++++++++++++++++++++++++++++++++
>  7 files changed, 659 insertions(+), 1 deletion(-)
>  create mode 100644 qt-ui/printdialog.cpp
>  create mode 100644 qt-ui/printdialog.h
>  create mode 100644 qt-ui/printoptions.cpp
>  create mode 100644 qt-ui/printoptions.h
>  create mode 100644 qt-ui/printoptions.ui
> _______________________________________________
> subsurface mailing list
> subsurface at hohndel.org
> http://lists.hohndel.org/cgi-bin/mailman/listinfo/subsurface


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.hohndel.org/pipermail/subsurface/attachments/20130710/70d3b474/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: unknown-D4D0ZW
Type: image/png
Size: 55092 bytes
Desc: not available
URL: <http://lists.hohndel.org/pipermail/subsurface/attachments/20130710/70d3b474/attachment-0001.png>


More information about the subsurface mailing list