#include <PlotPropertiesDialog.h>
List of all members.
Constructor & Destructor Documentation
: QDialog(parent), m_plotProperties(plotProperties)
{
setupUi( this );
m_lineStyleGroupBox->setEnabled(false);
if ( m_plotProperties == NULL ) return;
if ( m_plotProperties->lineStyle() == PlotProperties::Lines )
{
m_lineStyleLinesRadioButton->setChecked( true );
}
else if ( m_plotProperties->lineStyle() == PlotProperties::ThinLines )
{
m_lineStyleThinLinesRadioButton->setChecked( true );
}
else if ( m_plotProperties->lineStyle() == PlotProperties::Dots )
{
m_lineStyleDotsRadioButton->setChecked( true );
}
else if ( m_plotProperties->lineStyle() == PlotProperties::DotsLines )
{
m_lineStyleDotsLinesRadioButton->setChecked( true );
}
else
{
m_lineStyleThinLinesRadioButton->setChecked( true );
}
m_enableGridCheckBox->setChecked( m_plotProperties->isGridEnabled() );
m_xAxisAutoscaleCheckBox->setChecked( m_plotProperties->xAxisAutoscale() );
m_xAxisMinimumDateEdit->setDate(m_plotProperties->xAxisMinimum());
m_xAxisMaximumDateEdit->setDate(m_plotProperties->xAxisMaximum());
m_yAxisAutoscaleCheckBox->setChecked( m_plotProperties->yAxisAutoscale() );
m_yAxisMinimumLineEdit->setText(QString::number(m_plotProperties->yAxisMinimum()));
m_yAxisMaximumLineEdit->setText(QString::number(m_plotProperties->yAxisMaximum()));
updateAxesCheckBoxes();
connect( this, SIGNAL( accepted() ), this, SLOT( write() ) );
connect( m_xAxisAutoscaleCheckBox, SIGNAL( clicked() ), this, SLOT( updateAxesCheckBoxes() ) );
connect( m_yAxisAutoscaleCheckBox, SIGNAL( clicked() ), this, SLOT( updateAxesCheckBoxes() ) );
connect( m_xAxisMinimumDateEdit, SIGNAL(dateChanged(QDate)), this, SLOT(xAxisValueChanged()), Qt::QueuedConnection );
connect( m_xAxisMaximumDateEdit, SIGNAL(dateChanged(QDate)), this, SLOT(xAxisValueChanged()), Qt::QueuedConnection );
}
PlotPropertiesDialog::~PlotPropertiesDialog |
( |
|
) |
[virtual] |
The documentation for this class was generated from the following files: