QTidy::QTidyConfigTable Class Reference
[QtGui Implementation]

#include <QTidyConfigTable.h>

List of all members.


Public Slots

void selectRowWithParam (const QString &param, int column=0)
 Find row with searchstring and ordered Column.
void selectRowWithValue (const QString &value, int begin=0)
 Find row with value and begin at row.

Signals

void ParamClicked (const QModelIndex &index)
 ModelIndex from clicked Parameter Cell.
void ValueClicked (const QModelIndex &index)
 ModelIndex from clicked Value Cell.

Public Member Functions

 QTidyConfigTable (QTidySettings *cfg=0, QWidget *parent=0)
 ~QTidyConfigTable ()

Detailed Description

This Class Provides QTableView and Model it contains QTidy::QTidySettings->getTableModel()

 QTidy::QTidySettings *cfg = new QTidy::QTidySettings ( "~./tidyrc" );
 QTidy::QTidyConfigTable *cfgTable = new QTidy::QTidyConfigTable ( cfg, this );
 connect ( cfgTable, SIGNAL ( ParamClicked ( const QModelIndex & ) ),
           this, SLOT ( displayHelp ( const QModelIndex & ) ) );
 cfgTable->setObjectName ( "my_tidyconfigtable" );
 layout->addWidget ( cfgTable );

Constructor & Destructor Documentation

QTidy::QTidyConfigTable::QTidyConfigTable ( QTidySettings cfg = 0,
QWidget *  parent = 0 
)

QTidy::QTidyConfigTable::~QTidyConfigTable (  ) 


Member Function Documentation

void QTidy::QTidyConfigTable::selectRowWithParam ( const QString &  param,
int  column = 0 
) [slot]

Find row with searchstring and ordered Column.

Search row in ModelIndex list with given Searchstring and make selection with QTableView::selectRow();

Parameters:
param Search String
column Column to Search Default 0

void QTidy::QTidyConfigTable::selectRowWithValue ( const QString &  value,
int  begin = 0 
) [slot]

Find row with value and begin at row.

Parameters:
value Search Value
begin Start search at this row

void QTidy::QTidyConfigTable::ParamClicked ( const QModelIndex &  index  )  [signal]

ModelIndex from clicked Parameter Cell.

void QTidy::QTidyConfigTable::ValueClicked ( const QModelIndex &  index  )  [signal]

ModelIndex from clicked Value Cell.


Generated with doxygen