27 #ifndef ABSTRACT_WIDGET_LIST_HPP
28 #define ABSTRACT_WIDGET_LIST_HPP
32 #include <QSignalMapper>
33 #include <QTableWidget>
50 virtual void swap(
int a,
int b) = 0;
54 bool isValidRow(
int i)
const {
return i >= 0 && i < count(); }
56 void setRowHeight(
int row,
int height);
68 virtual void append() = 0;
80 void appendWidget(QWidget* w);
85 QWidget* widget(
int i);
102 void remove_clicked(QWidget* w);
103 void up_clicked(QWidget* w);
104 void down_clicked(QWidget* w);
110 QWidget* create_button(QWidget* data, QSignalMapper*mapper,
111 QString icon_name, QString text,
112 QString tooltip = QString())
const;
115 #endif // ABSTRACT_WIDGET_LIST_HPP
#define QCP_EXPORT
Definition: colorpicker_global.hpp:9