Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

KDChart::DatasetSelectorWidget Class Reference

#include <KDChartDatasetSelector.h>

Inheritance diagram for KDChart::DatasetSelectorWidget:

[legend]
Collaboration diagram for KDChart::DatasetSelectorWidget:
[legend]
List of all members.

Public Member Functions

 DatasetSelectorWidget (QWidget *parent=0)
void mappingDisabled ()
void on_cbReverseColumns_stateChanged (int)
void on_cbReverseRows_stateChanged (int)
void on_groupBox_toggled (bool)
void on_sbColumnCount_valueChanged (int)
void on_sbRowCount_valueChanged (int)
void on_sbStartRow_valueChanged (int)
void setSourceColumnCount (const int &columnCount)

Public Attributes

Q_SIGNALS __pad0__: void configureDatasetProxyModel ( const DatasetDescriptionVector& rowConfig
Q_SIGNALS const DatasetDescriptionVectorcolumnConfig
private Q_SLOTS: void on_sbStartColumn_valueChanged ( int )
public Q_SLOTS: void setSourceRowCount ( const int& rowCount )

Constructor & Destructor Documentation

DatasetSelectorWidget::DatasetSelectorWidget QWidget parent = 0  )  [explicit]
 

Definition at line 36 of file KDChartDatasetSelector.cpp.

00037     : QFrame ( parent )
00038     , mUi ( new Ui::DatasetSelector () )
00039     , mSourceRowCount ( 0 )
00040     , mSourceColumnCount ( 0 )
00041 {
00042     qWarning("For DatasetSelectorWidget to become useful, it has to be connected to the proxy model it configures!");
00043 
00044     mUi->setupUi ( this );
00045     setMinimumSize ( minimumSizeHint() );
00046 }


Member Function Documentation

void KDChart::DatasetSelectorWidget::mappingDisabled  ) 
 

Referenced by on_groupBox_toggled().

void DatasetSelectorWidget::on_cbReverseColumns_stateChanged int   ) 
 

Definition at line 73 of file KDChartDatasetSelector.cpp.

00074 {
00075     calculateMapping();
00076 }

void DatasetSelectorWidget::on_cbReverseRows_stateChanged int   ) 
 

Definition at line 68 of file KDChartDatasetSelector.cpp.

00069 {
00070     calculateMapping();
00071 }

void DatasetSelectorWidget::on_groupBox_toggled bool   ) 
 

Definition at line 78 of file KDChartDatasetSelector.cpp.

References mappingDisabled().

00079 {
00080     if ( state )
00081     {
00082         calculateMapping();
00083     } else {
00084         emit mappingDisabled();
00085     }
00086 }

void DatasetSelectorWidget::on_sbColumnCount_valueChanged int   ) 
 

Definition at line 58 of file KDChartDatasetSelector.cpp.

00059 {
00060     calculateMapping();
00061 }

void DatasetSelectorWidget::on_sbRowCount_valueChanged int   ) 
 

Definition at line 63 of file KDChartDatasetSelector.cpp.

00064 {
00065     calculateMapping();
00066 }

void DatasetSelectorWidget::on_sbStartRow_valueChanged int   ) 
 

Definition at line 53 of file KDChartDatasetSelector.cpp.

00054 {
00055     calculateMapping();
00056 }

void DatasetSelectorWidget::setSourceColumnCount const int &  columnCount  ) 
 

Definition at line 98 of file KDChartDatasetSelector.cpp.

00099 {
00100     if ( columnCount != mSourceColumnCount )
00101     {
00102         mSourceColumnCount = columnCount;
00103         resetDisplayValues();
00104     }
00105 }


Member Data Documentation

Q_SIGNALS KDChart::DatasetSelectorWidget::__pad0__
 

Definition at line 61 of file KDChartDatasetSelector.h.

Q_SIGNALS const DatasetDescriptionVector& KDChart::DatasetSelectorWidget::columnConfig
 

Definition at line 61 of file KDChartDatasetSelector.h.

private KDChart::DatasetSelectorWidget::Q_SLOTS
 

Definition at line 67 of file KDChartDatasetSelector.h.

public KDChart::DatasetSelectorWidget::Q_SLOTS
 

Definition at line 56 of file KDChartDatasetSelector.h.


The documentation for this class was generated from the following files:
Generated on Thu May 10 11:06:32 2007 for KD Chart 2 by doxygen 1.3.6