diagramprintpage.h
00001
00002
00003
00004
00005
00006
00007
00008
00009
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 );
00058
00062 void setOptions( const QMap<QString,QString>& );
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
This file is part of the documentation for umbrello Version 3.1.0.