A print dialog page.
More...
#include <diagramprintpage.h>
A print dialog page.
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.
- Author
- Paul Hensgen phens.nosp@m.gen@.nosp@m.techi.nosp@m.e.co.nosp@m.m
- See also
- QPrinter Bugs and comments to umbre.nosp@m.llo-.nosp@m.devel.nosp@m.@kde.nosp@m..org or https://bugs.kde.org
Enumerator |
---|
Current |
|
All |
|
Select |
|
Type |
|
DiagramPrintPage::DiagramPrintPage |
( |
QWidget * |
parent, |
|
|
UMLDoc * |
doc |
|
) |
| |
Constructs the diagram print page.
- Parameters
-
parent | The parent to the page. |
doc | The UMLDoc class instance being used. |
DiagramPrintPage::~DiagramPrintPage |
( |
| ) |
|
bool DiagramPrintPage::isSelected |
( |
int |
index | ) |
|
|
private |
Check if item with given index is selected.
- Parameters
-
index | index of selected item |
- Returns
- flag whether item is selected
bool DiagramPrintPage::isValid |
( |
QString & |
msg | ) |
|
int DiagramPrintPage::printUmlCount |
( |
| ) |
|
Get selected print options.
- Returns
- number of selected items
QString DiagramPrintPage::printUmlDiagram |
( |
int |
sel | ) |
|
Return ID string of UML diagram.
- Parameters
-
sel | index of selected item |
- Returns
- ID as string or empty string
void DiagramPrintPage::slotActivated |
( |
int |
index | ) |
|
|
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) |
void DiagramPrintPage::slotClicked |
( |
| ) |
|
|
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.
UMLDoc* DiagramPrintPage::m_doc |
|
private |
list containing the IDs of diagrams to print
QRadioButton* DiagramPrintPage::m_pAllRB |
|
private |
QRadioButton* DiagramPrintPage::m_pCurrentRB |
|
private |
QGroupBox* DiagramPrintPage::m_pFilterGB |
|
private |
QGroupBox* DiagramPrintPage::m_pSelectGB |
|
private |
QListWidget* DiagramPrintPage::m_pSelectLW |
|
private |
QRadioButton* DiagramPrintPage::m_pSelectRB |
|
private |
KComboBox* DiagramPrintPage::m_pTypeCB |
|
private |
QRadioButton* DiagramPrintPage::m_pTypeRB |
|
private |
The documentation for this class was generated from the following files: