Print: add UI for a print dialog

PrintOptions is a QWidget class to be used as an
addition to a future print dialog (possibly based on
QPrintDialog). Currently only contains a couple of
radio buttons.

PrintDialog (printdialog.cpp/h) which is a basic QDialog
is currently added for testing only and it holds
an instance of PrintOptions.

Calling File->Print opens this test dialog for now.

Signed-off-by: Lubomir I. Ivanov <neolit123@gmail.com>
This commit is contained in:
Lubomir I. Ivanov 2013-07-09 15:37:53 +03:00
parent 35356e364d
commit 52534bfb68
6 changed files with 110 additions and 1 deletions

View file

@ -53,6 +53,8 @@ HEADERS = \
qt-ui/diveplanner.h \
qt-ui/about.h \
qt-ui/graphicsview-common.h \
qt-ui/printdialog.h \
qt-ui/printoptions.h \
SOURCES = \
@ -94,6 +96,8 @@ SOURCES = \
qt-ui/diveplanner.cpp \
qt-ui/about.cpp \
qt-ui/graphicsview-common.cpp \
qt-ui/printdialog.cpp \
qt-ui/printoptions.cpp \
$(RESFILE)