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