• Skip to content
  • Skip to link menu
KDE 4.2 API Reference
  • KDE API Reference
  • kdesdk
  • Sitemap
  • Contact Us
 

umbrello/umbrello

activitydialog.h

Go to the documentation of this file.
00001 /***************************************************************************
00002  *   This program is free software; you can redistribute it and/or modify  *
00003  *   it under the terms of the GNU General Public License as published by  *
00004  *   the Free Software Foundation; either version 2 of the License, or     *
00005  *   (at your option) any later version.                                   *
00006  *                                                                         *
00007  *   copyright (C) 2002-2008                                               *
00008  *   Umbrello UML Modeller Authors <uml-devel@uml.sf.net>                  *
00009  ***************************************************************************/
00010 
00011 #ifndef ACTIVITYDIALOG_H
00012 #define ACTIVITYDIALOG_H
00013 
00014 //local class includes
00015 #include "umlwidgetcolorpage.h"
00016 
00017 //kde class includes
00018 #include <klineedit.h>
00019 #include <kpagedialog.h>
00020 #include <kfontdialog.h>
00021 #include <ktextedit.h>
00022 
00023 //forward declarations
00024 class UMLView;
00025 class ActivityWidget;
00026 class QLabel;
00027 class QGroupBox;
00028 class QRadioButton;
00029 
00036 class ActivityDialog : public KPageDialog
00037 {
00038     Q_OBJECT
00039 
00040 public:
00044     ActivityDialog( UMLView * pView, ActivityWidget * pWidget );
00045 
00049     bool getChangesMade() {
00050         return m_bChangesMade;
00051     }
00052 
00053 protected slots:
00054 
00058     void slotOk();
00059 
00063     void slotApply();
00064 
00065     void slotShowActivityParameter();
00066     void slotHideActivityParameter();
00067 
00068 protected:
00069 
00073     void setupPages();
00074 
00078     void setupGeneralPage();
00079 
00083     void setupColorPage();
00084 
00088     void setupFontPage();
00089 
00093     void showParameterActivity();
00094 
00098     void applyPage( KPageWidgetItem * );
00099 
00103     KFontChooser * m_pChooser;
00104 
00108     UMLWidgetColorPage * m_pColorPage;
00109 
00113     ActivityWidget * m_pActivityWidget;
00114 
00118     UMLView * m_pView;
00119 
00123     bool m_bChangesMade;
00124 
00125     struct GeneralPageWidgets {
00126         QLabel * nameL, * typeL , * preL , * postL;
00127         KLineEdit * nameLE, * typeLE , * preLE , * postLE;
00128         KTextEdit * docTE;
00129         QRadioButton * NormalRB, * ParamRB, * InvokRB; // this is to implement the parameter node activity or an invok action
00130         QGroupBox * docGB, * generalGB;
00131     }
00132     m_GenPageWidgets;
00133     KPageWidgetItem *pageItemGeneral,*pageItemFont,*pageItemColor;
00134 };
00135 
00136 #endif

umbrello/umbrello

Skip menu "umbrello/umbrello"
  • Main Page
  • Modules
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members
  • Related Pages

kdesdk

Skip menu "kdesdk"
  • kapptemplate
  • kate
  •     kate
  • kbugbuster
  • kcachegrind
  • kompare
  • lokalize
  • umbrello
  •   umbrello
Generated for kdesdk by doxygen 1.5.7
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal