umbrello API Documentation

diagramprintpage.h

00001 /***************************************************************************
00002  *                                                                         *
00003  *   This program is free software; you can redistribute it and/or modify  *
00004  *   it under the terms of the GNU General Public License as published by  *
00005  *   the Free Software Foundation; either version 2 of the License, or     *
00006  *   (at your option) any later version.                                   *
00007  *                                                                         *
00008  *   copyright (C) 2002-2006                                               *
00009  *   Umbrello UML Modeller Authors <uml-devel@uml.sf.net>                  *
00010  ***************************************************************************/
00011 
00012 #ifndef DIAGRAMPRINTPAGE_H
00013 #define DIAGRAMPRINTPAGE_H
00014 
00015 class QListBox;
00016 class QRadioButton;
00017 class QComboBox;
00018 class QButtonGroup;
00019 class QGroupBox;
00020 
00021 #include <kdeprint/kprintdialogpage.h>
00022 
00023 #include "../umldoc.h"
00024 #include "../umlview.h"
00037 class DiagramPrintPage : public KPrintDialogPage {
00038     Q_OBJECT
00039 public:
00046     DiagramPrintPage(QWidget * parent, UMLDoc *doc);
00047 
00051     ~DiagramPrintPage();
00052 
00057     void getOptions(QMap<QString,QString>& opts, bool /* incldef=false */);
00058 
00062     void setOptions( const QMap<QString,QString>& /*opts*/ );
00063 
00067     bool isValid( QString& msg );
00068 
00069 private:
00070     QButtonGroup * m_pFilterBG;
00071     QGroupBox * m_pSelectGB;
00072     QListBox * m_pSelectLB;
00073     QRadioButton * m_pAllRB, * m_pCurrentRB, * m_pSelectRB, * m_pTypeRB;
00074     QComboBox * m_pTypeCB;
00075 
00076     UMLDoc * m_pDoc;
00077     Uml::Diagram_Type m_ViewType;
00078 
00082     QValueList<Uml::IDType> m_nIdList;
00083 
00084     enum FilterType{Current = 0, All, Select, Type};
00085 public slots:
00086 
00092     void slotClicked(int id);
00093 
00098     void slotActivated(const QString & text);
00099 };
00100 
00101 #endif
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:07:56 2007 by doxygen 1.4.1 written by Dimitri van Heesch, © 1997-2003