00001 //LabPlot : SpreadsheetValuesDialog.h 00002 00003 #ifndef SPREADSHEETVALUESDIALOG_H 00004 #define SPREADSHEETVALUESDIALOG_H 00005 00006 #include <qfont.h> 00007 #include <qcheckbox.h> 00008 #include "Dialog.h" 00009 00010 class SpreadsheetValuesDialog: public Dialog 00011 { 00012 Q_OBJECT 00013 public: 00014 SpreadsheetValuesDialog(MainWin *mw, QTable *t, const char *name); 00015 void updateDialog(); 00016 public slots: 00017 void insertColumn(int i); 00018 void insertConstant(int i); 00019 void insertFunction(int i); 00020 private: 00021 QTable *table; 00022 KIntNumInput *ani, *bni; 00023 KComboBox *colcb, *concb, *selcb, *funcb; 00024 QLabel *columnlabel; 00025 private slots: 00026 void ok_clicked() { apply_clicked(); accept(); } 00027 void apply_clicked(); 00028 }; 00029 00030 #endif //SPREADSHEETVALUESDIALOG_H