00001 // -*- Mode: C++; tab-width: 2; -*- 00002 // vi: set ts=2: 00003 // 00004 00005 #ifndef BALL_VIEW_DIALOGS_SETCLIPPINGPLANE_H 00006 #define BALL_VIEW_DIALOGS_SETCLIPPINGPLANE_H 00007 00008 #ifndef BALL_COMMON_GLOBAL_H 00009 # include <BALL/COMMON/global.h> 00010 #endif 00011 00012 #ifndef BALL_VIEW_KERNEL_CLIPPING_PLANE_H 00013 # include <BALL/VIEW/KERNEL/clippingPlane.h> 00014 #endif 00015 00016 #include <BALL/VIEW/UIC/ui_setClippingPlane.h> 00017 00018 #include <QtGui/QDialog> 00019 00020 namespace BALL 00021 { 00022 namespace VIEW 00023 { 00027 class BALL_VIEW_EXPORT SetClippingPlane 00028 : public QDialog, 00029 public Ui_SetClippingData 00030 { 00031 Q_OBJECT 00032 00033 public: 00034 SetClippingPlane( QWidget* parent = 0, const char* name = "SetClippingPlane", ClippingPlane* plane = 0); 00035 ~SetClippingPlane(); 00036 00037 ClippingPlane* plane_; 00038 00039 public slots: 00040 void okPressed(); 00041 }; 00042 00043 } } // namespaces 00044 #endif