00001 // -*- Mode: C++; tab-width: 2; -*- 00002 // vi: set ts=2: 00003 // 00004 00005 #ifndef BALL_VIEW_WIDGETS_EDITFUNCTIONS_H 00006 #define BALL_VIEW_WIDGETS_EDITFUNCTIONS_H 00007 00008 #ifndef BALL_VIEW_WIDGETS_DOCKWIDGET_H 00009 # include <BALL/VIEW/WIDGETS/dockWidget.h> 00010 #endif 00011 00012 #ifndef BALL_VIEW_DIALOGS_PTEDIALOG_H 00013 # include <BALL/VIEW/DIALOGS/PTEDialog.h> 00014 #endif 00015 00016 #ifndef BALL_VIEW_DIALOGS_EDITOPERATIONDIALOG_H 00017 # include <BALL/VIEW/DIALOGS/editOperationDialog.h> 00018 #endif 00019 00020 #include <QtGui/QTabWidget> 00021 namespace BALL 00022 { 00023 namespace VIEW 00024 { 00030 class BALL_VIEW_EXPORT EditFunctions 00031 : public DockWidget 00032 { 00033 Q_OBJECT 00034 00035 public: 00036 00037 // BALL_EMBEDDABLE(DockWidget) 00038 00039 BALL_EMBEDDABLE(EditFunctions, DockWidget) 00040 00041 EditFunctions(QWidget* parent = 0, const char *name = 0); 00042 00043 ~EditFunctions(); 00044 00047 virtual void initializeWidget(MainControl& main_control); 00048 00051 virtual void finalizeWidget(MainControl& main_control); 00052 00053 protected: 00054 PTEDialog pte_; 00055 EditOperationDialog edit_operations_; 00056 QTabWidget tab_; 00057 }; 00058 } 00059 } 00060 00061 #endif