Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028 #ifndef LEGENDFORMATPROPERTIES_H
00029 #define LEGENDFORMATPROPERTIES_H
00030
00031 #include <QGpGuiTools.h>
00032 #include "ui_LegendFormatProperties.h"
00033
00034 namespace SciFigs {
00035
00036 class LegendWidget;
00037
00038 class LegendFormatProperties : public PropertyWidget, private Ui::LegendFormatProperties
00039 {
00040 Q_OBJECT
00041 public:
00042 LegendFormatProperties(QWidget * parent=0);
00043
00044 enum Properties {Title, Font, LineSize, AdjustBox};
00045 private:
00046 virtual int determineCustomWidgetType(int pid, QWidget * w, QWidget * label);
00047 virtual bool connectCustomWidget(PropertyValue & );
00048 virtual bool setCustomWidget(PropertyValue & p);
00049 virtual QVariant customWidgetValue(PropertyValue & p);
00050 private slots:
00051 void on_fontBut_clicked();
00052 };
00053
00054
00055 }
00056
00057 #endif // LEGENDFORMATPROPERTIES_H