00001
00002
00003
00004
00005
00006
00007 #ifndef BALL_VIEW_DIALOGS_EDITOPERATIONDIALOG_H
00008 #define BALL_VIEW_DIALOGS_EDITOPERATIONDIALOG_H
00009
00010 #ifndef BALL_COMMON_GLOBAL_H
00011 # include <BALL/COMMON/global.h>
00012 #endif
00013
00014 #ifdef BALL_COMPILER_MSVC
00015 # include <BALL/VIEW/UIC/ui_editOperationDialog.h>
00016 #else
00017 # include <BALL/VIEW/UIC/editOperationDialogData.h>
00018 #endif
00019
00020
00021 #ifndef BALL_VIEW_KERNEL_MODULARWIDGET_H
00022 # include <BALL/VIEW/KERNEL/modularWidget.h>
00023 #endif
00024
00025 #ifndef BALL_VIEW_WIDGETS_EDITABLESCENE_H
00026 # include <BALL/VIEW/WIDGETS/editableScene.h>
00027 #endif
00028
00029 namespace BALL
00030 {
00031 namespace VIEW
00032 {
00037 class BALL_VIEW_EXPORT EditOperationDialog
00038 : public QDialog,
00039 public Ui_EditOperationDialogData,
00040 public ModularWidget
00041 {
00042 Q_OBJECT
00043
00044 public:
00045
00046 BALL_EMBEDDABLE(EditOperationDialogData,ModularWidget)
00047
00048
00049 EditOperationDialog(QWidget* parent = 0, const char* name = "EditOperationDialog", Qt::WFlags fl = 0);
00050
00052 ~EditOperationDialog();
00053
00054
00055 public slots:
00056
00057 void undo(int number_of_undo_steps);
00058 void operationSelected(int operation);
00059 void addEditOperation(EditableScene::EditOperation& eo);
00060
00061 protected:
00062
00063 };
00064 }
00065 }
00066
00067 #endif