36 #include "ui_ChartPropertiesDialogForm.h" 39 #include <qwt_plot_seriesitem.h> 43 m_ui(new
Ui::ChartPropertiesDialogForm),
45 m_chartWidget(chartWidget)
65 std::vector<std::string> vec;
71 vec.push_back(it->first);
75 for(
size_t i = 0; i < vec.size(); i++)
77 m_ui->m_componentsListWidget->addItem(vec[i].c_str());
79 m_ui->m_componentsListWidget->setFocus();
80 m_ui->m_tabWidget->clear();
82 m_ui->m_tabWidget->addTab(
m_curComp, QString::fromUtf8(
"Chart Style"));
84 m_ui->m_componentsListWidget->setCurrentRow(0);
85 m_ui->m_helpPushButton->setPageReference(
"widgets/charts/style/style.html");
87 connect(
m_ui->m_componentsListWidget, SIGNAL(itemClicked(QListWidgetItem*)),
this, SLOT(
onItemClicked(QListWidgetItem*)));
98 std::string value = current->text().toUtf8().data();
103 m_ui->m_tabWidget->clear();
104 m_ui->m_tabWidget->addTab(
m_curComp, QString::fromUtf8(value.c_str()));
110 if(
m_ui->m_componentsListWidget->currentItem()->text() ==
"Chart Style")
A factory to build the timeSeries frame object.
static dictionary_type & getDictionary()
It returns a reference to the internal dictionary of concrete factories.
A factory to build the Chart frame object.
std::map< TFACTORYKEY, TFACTORY *, TKEYCOMPARE >::const_iterator const_iterator
static te::dt::DateTime d(2010, 8, 9, 15, 58, 39)
std::map< TFACTORYKEY, TFACTORY *, TKEYCOMPARE >::const_iterator end() const
It returns an iterator to the end of the container.
A factory to build the histogram frame object.
std::map< TFACTORYKEY, TFACTORY *, TKEYCOMPARE >::const_iterator begin() const
It returns an iterator to the first stored factory.
A dialog used to customize a graphic's parameters, weather it is about it's data or it's visual style...
A class to represent a chart display.
This class represents a dictionary of factories.
A factory to build the scatter frame object.