umbrello API Documentation

assocpropdlg.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 ASSOCPROPDLG_H
00013 #define ASSOCPROPDLG_H
00014 
00015 //kde class includes
00016 #include <kdialogbase.h>
00017 #include <kfontdialog.h>
00018 #include "../associationwidget.h"
00019 
00020 class AssocRolePage;
00021 class AssocGenPage;
00022 class UMLDoc;
00023 // class ObjectWidget;
00024 // class UMLObject;
00025 // class UMLWidget;
00026 
00032 class AssocPropDlg : public KDialogBase {
00033     Q_OBJECT
00034 public:
00035 
00043     AssocPropDlg(QWidget *parent, AssociationWidget *a, int pageNum = 0);
00044 
00048     ~AssocPropDlg();
00049 
00050     enum Page { page_gen = 0, page_role, page_font };
00051 
00052 protected:
00053     void setupPages(AssociationWidget * assocWidget);
00054     void setupFontPage();
00055     void init();
00056 
00057 protected slots:
00058     void slotOk();
00059     void slotApply();
00060 
00061 private:
00062     AssocGenPage *m_pGenPage;
00063     AssocRolePage *m_pRolePage;
00064     KFontChooser * m_pChooser;
00065     AssociationWidget *m_pAssoc;
00066 
00067     UMLDoc *m_pDoc; // is this needed??
00068 
00069 };
00070 
00071 #endif /* ASSOCPROPDLG_H */
00072 
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:54 2007 by doxygen 1.4.1 written by Dimitri van Heesch, © 1997-2003