00001 #ifndef _SETTINGSTABLE_H_ 00002 #define _SETTINGSTABLE_H_ 00003 00004 #include <QTableWidget> 00005 00006 class QResizeEvent; 00007 00008 class SettingsTable : public QTableWidget 00009 { 00010 public: 00011 SettingsTable(QWidget *parent = 0); 00012 ~SettingsTable(); 00013 void appendRow(const QString &key, const QString &value); 00014 void removeAllRows(); 00015 QString key(unsigned int row) const; 00016 QString value(unsigned int row) const; 00017 00018 protected: 00019 void resizeEvent(QResizeEvent *); 00020 }; 00021 00022 #endif // _SETTINGSTABLE_H_ 00023