UIParamTable.h 1.13 KB
Newer Older
1
2
3
4
5
6
7
8
9
10
11
/*
 *	(c) LSIIT, UMR CNRS/UdS
 *	Authors: F. Larue.
 *
 *	See licence.txt for additional information.
 */


#ifndef UIPARAMTABLE_H
#define UIPARAMTABLE_H

12
13
14



15
16
17
18
19
20
#include "UIParam.h"


class UIParamTable : public UIParam
{
public:
21
22
23
24
25
26
27
28
29
                                UIParamTable( const QString& id,
                                              const QString& name,
                                              const QString& description,
                                              const QStringList& labels = QStringList(),
                                              const QStringList& values = QStringList() );

    inline const QTableWidget*  Widget() const                  { return (QTableWidget*) m_Widget; }
    inline QTableWidget*        Widget()                        { return (QTableWidget*) m_Widget; }

30
    inline void                 ArrangeInLayout( QGridLayout *l );
31
    inline void                 ConnectModificationSignal()     {}
32
33
34

    inline virtual QString      ValueString() const { return QString(); }
    inline virtual bool         SetValueString( const QString &valueString ) { return true; }
35
36
37
};


38
39


40
#endif // UIPARAMTABLE_H