umbrello API Documentation

DiagramPrintPage Class Reference

This is a page on the print dialog to select what diagram(s) you wish to print. A print dialog page. More...

#include <diagramprintpage.h>

List of all members.

Public Slots

void slotClicked (int id)
 Gets called when the users chooses to print all diagrams, the current diagram, a selection of diagrams or diagrams by type.
void slotActivated (const QString &text)
 Gets called when the user chooses another diagram type.

Public Member Functions

 DiagramPrintPage (QWidget *parent, UMLDoc *doc)
 Constructs the diagram print page.
 ~DiagramPrintPage ()
 Stnadard deconstructor.
void getOptions (QMap< QString, QString > &opts, bool)
 Overriden method.
void setOptions (const QMap< QString, QString > &)
 Overriden method.
bool isValid (QString &msg)
 Overriden method.


Detailed Description

This is a page on the print dialog to select what diagram(s) you wish to print. A print dialog page.

You add it to the KPrinter instance.

You will then need to get the options as shown in KPrinter.

Author:
Paul Hensgen <phensgen@techie.com>
See also:
KPrinter Bugs and comments to uml-devel@lists.sf.net or http://bugs.kde.org

Definition at line 37 of file diagramprintpage.h.


Constructor & Destructor Documentation

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.

Definition at line 33 of file diagramprintpage.cpp.

References slotActivated(), and slotClicked().

DiagramPrintPage::~DiagramPrintPage  ) 
 

Stnadard deconstructor.

Definition at line 101 of file diagramprintpage.cpp.

References slotActivated(), and slotClicked().


Member Function Documentation

void DiagramPrintPage::getOptions QMap< QString, QString > &  opts,
bool 
 

Overriden method.

It builds a list with the diagram name and the diagram IDs.

Definition at line 107 of file diagramprintpage.cpp.

void DiagramPrintPage::setOptions const QMap< QString, QString > &   ) 
 

Overriden method.

Definition at line 124 of file diagramprintpage.cpp.

bool DiagramPrintPage::isValid QString &  msg  ) 
 

Overriden method.

Definition at line 126 of file diagramprintpage.cpp.

void DiagramPrintPage::slotClicked int  id  )  [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 139 of file diagramprintpage.cpp.

Referenced by DiagramPrintPage(), and ~DiagramPrintPage().

void DiagramPrintPage::slotActivated const QString &  text  )  [slot]
 

Gets called when the user chooses another diagram type.

Only diagrams of this type will be shown in the diagram box.

Definition at line 194 of file diagramprintpage.cpp.

Referenced by DiagramPrintPage(), and ~DiagramPrintPage().


The documentation for this class was generated from the following files:
KDE Logo
This file is part of the documentation for umbrello Version 3.1.0.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Tue Jun 26 08:08:04 2007 by doxygen 1.4.1 written by Dimitri van Heesch, © 1997-2003