umbrello API Documentation

classoptionspage.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 
00013 #ifndef CLASSOPTIONSPAGE_H
00014 #define CLASSOPTIONSPAGE_H
00015 
00016 #include <qwidget.h>
00017 #include <qgroupbox.h>
00018 #include <qcheckbox.h>
00019 
00020 #include "../optionstate.h"
00021 
00022 class ClassifierWidget;
00023 
00034 class ClassOptionsPage : public QWidget {
00035 public:
00039     ClassOptionsPage(QWidget* pParent, ClassifierWidget* pWidget);
00040 
00044     ClassOptionsPage(QWidget* pParent, Settings::OptionState *options );
00045 
00049     virtual ~ClassOptionsPage();
00050 
00054     void updateUMLWidget();
00055 
00060     void setWidget( ClassifierWidget * pWidget ) {
00061         m_pWidget = pWidget;
00062     }
00063 
00064 protected:
00068     void init();
00069 
00073     void setupPage();
00074 
00078     void setupClassPageOption();
00079 
00083     void updateWidget();
00084 
00088     void updateOptionState();
00089 
00090     //GUI widgets
00091     QGroupBox * m_pVisibilityGB;
00092     QCheckBox * m_pShowVisibilityCB, * m_pShowAttSigCB;
00093     QCheckBox * m_pShowOpSigCB, * m_pShowAttsCB, * m_pShowOpsCB;
00094     QCheckBox * m_pShowStereotypeCB, * m_pShowPackageCB;
00095     QCheckBox* m_pDrawAsCircleCB;
00096 
00100     ClassifierWidget* m_pWidget;
00104     Settings::OptionState *m_options;
00105 };
00106 #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:55 2007 by doxygen 1.4.1 written by Dimitri van Heesch, © 1997-2003