codeviewerdialog.h
00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019 #ifndef CODEVIEWERDIALOG_H
00020 #define CODEVIEWERDIALOG_H
00021
00022 #include <qcolor.h>
00023 #include <qmap.h>
00024 #include <qptrlist.h>
00025 #include <qstring.h>
00026 #include <qtextedit.h>
00027 #include "../codeviewerstate.h"
00028 #include "codeviewerdialogbase.h"
00029
00030 class CodeDocument;
00031 class QVBoxLayout;
00032 class QHBoxLayout;
00033 class QGridLayout;
00034 class QFrame;
00035
00036 class UMLObject;
00037
00042 class CodeViewerDialog : public CodeViewerDialogBase
00043 {
00044 Q_OBJECT
00045 public:
00046
00047 CodeViewerDialog ( QWidget* parent, CodeDocument * doc, Settings::CodeViewerState state,
00048 const char* name = 0, bool modal = false, WFlags fl = 0 );
00049 ~CodeViewerDialog ();
00050
00052 Settings::CodeViewerState getState( );
00053
00054 QString parentDocName;
00055
00059 void addCodeDocument( CodeDocument * doc);
00060
00061 protected:
00062
00063 bool close ( bool alsoDelete );
00064
00065 private:
00066
00067 Settings::CodeViewerState m_state;
00068
00069 void initGUI ( const char * name );
00070
00071 public slots:
00072
00073 protected slots:
00074
00075 virtual void languageChange();
00076
00077 };
00078
00079
00080 #endif // CODEVIEWERDIALOG_H
This file is part of the documentation for umbrello Version 3.1.0.