59 RolePlotItemPtr = Qt::UserRole + 1
66 void setPlot(QwtPlot* plot);
67 QwtPlot* getPlot()
const;
71 void setCurrentPlotItem(QwtPlotItem* item);
72 QwtPlotItem* getCurrentPlotItem()
const;
78 void showSettingWidget(SettingWidgetType widType);
79 void showPlotSetting();
80 void showCanvasSetting();
81 void showScaleYLeftSetting();
82 void showScaleYRightSetting();
83 void showScaleXBottomSetting();
84 void showScaleXTopSetting();
85 void showPlotItemSetting(QwtPlotItem* item);
94 void changeEvent(QEvent* e);
96 int findComboBoxIndexFromPlotItem(
const QwtPlotItem* item)
const;
98 void appendPlotItemToComboBox(
const QwtPlotItem* item);
100 QwtPlotItem* getPlotItemFromComboBox(
int index)
const;
102 void removePlotItemFromComboBox(
const QwtPlotItem* item);
104 void onComboBoxItemIndexChanged(
int index);
106 void onItemAttached(QwtPlotItem* plotItem,
bool on);
108 void resetComboBox();
111 Ui::DAChartSettingWidget* ui;