umbrello API Documentation

umlwidgetcolorpage.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 UMLWIDGETCOLORPAGE_H
00013 #define UMLWIDGETCOLORPAGE_H
00014 
00015 #include <qwidget.h>
00016 #include "../optionstate.h"
00017 
00022 class UMLWidget;
00023 class UMLView;
00024 class KColorButton;
00025 class QLabel;
00026 class QPushButton;
00027 class QCheckBox;
00028 class QGroupBox;
00029 
00030 class UMLWidgetColorPage : public QWidget {
00031     Q_OBJECT
00032 public:
00033 
00037     UMLWidgetColorPage( QWidget * pParent, UMLWidget * pWidget );
00038 
00042     UMLWidgetColorPage( QWidget * pParent, Settings::OptionState *options );
00043 
00047     virtual ~UMLWidgetColorPage();
00048 
00052     void updateUMLWidget();
00053 
00054 public slots:
00059     void slotLineButtonClicked();
00060 
00065     void slotFillButtonClicked();
00066 
00067 protected:
00071     UMLWidget * m_pUMLWidget;
00072 
00073     Settings::OptionState *m_options;
00074 
00075     //GUI widgets
00076     QGroupBox * m_pColorGB;
00077     QLabel * m_pLineColorL, * m_pFillColorL;
00078     QCheckBox * m_pUseFillColorCB;
00079     QPushButton * m_pLineDefaultB, * m_pFillDefaultB;
00080     KColorButton * m_pLineColorB, * m_pFillColorB;
00081 private:
00082     void init();
00083 
00084 };
00085 
00086 #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:08:02 2007 by doxygen 1.4.1 written by Dimitri van Heesch, © 1997-2003