00001 /* 00002 For general Sqliteman copyright and licensing information please refer 00003 to the COPYING file provided with the program. Following this notice may exist 00004 a copyright and/or license notice that predates the release of Sqliteman 00005 for which a new license (GPL+exception) is in place. 00006 */ 00007 #ifndef POPULATORCOLUMNWIDGET_H 00008 #define POPULATORCOLUMNWIDGET_H 00009 00010 #include <QWidget> 00011 00012 #include "ui_populatorcolumnwidget.h" 00013 00014 #include "populatorstructs.h" 00015 00016 00023 class PopulatorColumnWidget : 00024 public QWidget, 00025 public Ui::PopulatorColumnWidget 00026 { 00027 Q_OBJECT 00028 00029 public: 00030 PopulatorColumnWidget(Populator::PopColumn column, 00031 QWidget * parent = 0); 00032 00033 Populator::PopColumn column() { return m_column; }; 00034 00035 signals: 00038 void actionTypeChanged(); 00039 00040 private: 00041 Populator::PopColumn m_column; 00043 int defaultSuggestion(); 00044 00045 private slots: 00046 void actionCombo_currentIndexChanged(int); 00047 void specEdit_textChanged(const QString &); 00048 }; 00049 00050 00051 #endif
1.5.5