editOperationDialog.h

Go to the documentation of this file.
00001 // -*- Mode: C++; tab-width: 2; -*-
00002 // vi: set ts=2:
00003 //
00004 
00005 #ifndef BALL_VIEW_DIALOGS_EDITOPERATIONDIALOG_H
00006 #define BALL_VIEW_DIALOGS_EDITOPERATIONDIALOG_H
00007 
00008 #ifndef BALL_COMMON_GLOBAL_H
00009 # include <BALL/COMMON/global.h>
00010 #endif
00011 
00012 #ifndef BALL_VIEW_KERNEL_MODULARWIDGET_H
00013 # include <BALL/VIEW/KERNEL/modularWidget.h>
00014 #endif
00015 
00016 #ifndef BALL_VIEW_WIDGETS_EDITABLESCENE_H
00017 # include <BALL/VIEW/WIDGETS/editableScene.h>
00018 #endif
00019 
00020 #include <BALL/VIEW/UIC/ui_editOperationDialog.h>
00021 
00022 namespace BALL
00023 {
00024   namespace VIEW
00025   {
00030     class BALL_VIEW_EXPORT EditOperationDialog
00031       : public QDialog,
00032         public Ui_EditOperationDialogData,
00033         public ModularWidget
00034     {
00035       Q_OBJECT
00036 
00037       public:
00038       
00039       BALL_EMBEDDABLE(EditOperationDialogData,ModularWidget)
00040 
00041       
00042       EditOperationDialog(QWidget* parent = 0, const char* name = "EditOperationDialog", Qt::WFlags fl = 0);
00043 
00045       ~EditOperationDialog();
00046      
00047     
00048       public slots:
00049         
00050         void undo(int number_of_undo_steps);
00051         void operationSelected(int operation);
00052         void addEditOperation(EditableScene::EditOperation& eo);
00053         
00054       protected:
00055 
00056     };
00057   }
00058 }
00059 
00060 #endif