00001 //LabPlot : LegendDialog.h 00002 00003 #ifndef LEGENDDIALOG_H 00004 #define LEGENDDIALOG_H 00005 00006 #include <qfont.h> 00007 #include <qcheckbox.h> 00008 #include "Worksheet.h" 00009 #include "Dialog.h" 00010 00011 class LegendDialog: public Dialog 00012 { 00013 Q_OBJECT 00014 public: 00015 LegendDialog(MainWin *mw, const char *name); 00016 public slots: 00017 void selectFont(); 00018 void ok_clicked() { apply_clicked(); accept(); } 00019 void apply_clicked(); 00020 private: 00021 QCheckBox *cb, *cb2; 00022 KLineEdit *xle, *yle, *fontle; 00023 QFont lf; 00024 KComboBox *orientcb; 00025 Legend *legend; 00026 }; 00027 00028 #endif //LEGENDDIALOG_H