umbrello/umbrello
#include <diagramprintpage.h>
Public Slots | |
void | slotActivated (int index) |
void | slotClicked () |
Public Member Functions | |
DiagramPrintPage (QWidget *parent, UMLDoc *doc) | |
~DiagramPrintPage () | |
bool | isValid (QString &msg) |
int | printUmlCount () |
QString | printUmlDiagram (int sel) |
Detailed Description
This is a page on the print dialog to select what diagram(s) you wish to print.
You add it to the QPrinter instance.
You will then need to get the options as shown in QPrinter.
A print dialog page.
- See also
- KPrinter Bugs and comments to umbre or llo- devel @kde .orghttp://bugs.kde.org
Definition at line 36 of file diagramprintpage.h.
Constructor & Destructor Documentation
Constructs the diagram print page.
- Parameters
-
parent The parent to the page. doc The UMLDoc class instance being used.
Definition at line 39 of file diagramprintpage.cpp.
DiagramPrintPage::~DiagramPrintPage | ( | ) |
Standard destructor.
Definition at line 111 of file diagramprintpage.cpp.
Member Function Documentation
bool DiagramPrintPage::isValid | ( | QString & | msg | ) |
Overridden method.
Definition at line 150 of file diagramprintpage.cpp.
int DiagramPrintPage::printUmlCount | ( | ) |
Get selected print options.
- Returns
- number of selected items
Definition at line 119 of file diagramprintpage.cpp.
QString DiagramPrintPage::printUmlDiagram | ( | int | sel | ) |
Return ID string of UML diagram.
- Parameters
-
sel index of selected item
- Returns
- ID as string or empty string
Definition at line 130 of file diagramprintpage.cpp.
|
slot |
Gets called when the user chooses another diagram type.
Only diagrams of this type will be shown in the diagram box.
- Parameters
-
index diagram type (combo box index)
Definition at line 244 of file diagramprintpage.cpp.
|
slot |
Gets called when the users chooses to print all diagrams, the current diagram, a selection of diagrams or diagrams by type.
It will change the listed diagrams in the diagram box.
Definition at line 186 of file diagramprintpage.cpp.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 23:06:02 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.