00001 //LabPlot : VTKDialog.h 00002 00003 #ifndef VTKDIALOG_H 00004 #define VTKDIALOG_H 00005 00006 #include <qtoolbutton.h> 00007 #include <qcheckbox.h> 00008 #include <qcolor.h> 00009 #include "Dialog.h" 00010 #include "Worksheet.h" 00011 00012 class VTKDialog: public Dialog 00013 { 00014 Q_OBJECT 00015 public: 00016 VTKDialog(Worksheet *p, const char *name,int item); 00017 private slots : 00018 int agree(); 00019 void ok_clicked() { if (!agree()) accept(); } 00020 private: 00021 int type; 00022 Plot *plot; 00023 Graph *graph; 00024 KComboBox *objectcb; 00025 KColorButton *colorbutton; 00026 QCheckBox *boxedcb; 00027 }; 00028 #endif //VTKDIALOG_H