tilde~
Puredata Qt-based GUI
|
#include <color_list_widget.hpp>
Classes | |
class | Private |
Public Slots | |
void | setWheelFlags (Color_Wheel::Display_Flags flags) |
Public Slots inherited from Abstract_Widget_List | |
void | remove (int i) |
Remove row i. More... | |
Signals | |
void | colorsChanged (const QList< QColor > &) |
void | wheelFlagsChanged (Color_Wheel::Display_Flags flags) |
Signals inherited from Abstract_Widget_List | |
void | removed (int i) |
Public Member Functions | |
Color_List_Widget (QWidget *parent=0) | |
~Color_List_Widget () | |
QList< QColor > | colors () const |
void | setColors (const QList< QColor > &colors) |
void | swap (int a, int b) |
Swap row a and row b. More... | |
void | append () |
append a default row More... | |
Color_Wheel::Display_Flags | wheelFlags () const |
Public Member Functions inherited from Abstract_Widget_List | |
Abstract_Widget_List (QWidget *parent=0) | |
~Abstract_Widget_List () | |
int | count () const |
Get the number of items. More... | |
bool | isValidRow (int i) const |
Whether the given row index is valid. More... | |
void | setRowHeight (int row, int height) |
Properties | |
QList< QColor > | colors |
Color_Wheel::Display_Flags | wheelFlags |
Additional Inherited Members | |
Protected Member Functions inherited from Abstract_Widget_List | |
void | appendWidget (QWidget *w) |
Create a new row with the given widget. More... | |
QWidget * | widget (int i) |
get the widget found at the given row More... | |
template<class T > | |
T * | widget_cast (int i) |
get the widget found at the given row More... | |
void | clear () |
clear all rows without emitting signals More... | |
|
explicit |
Color_List_Widget::~Color_List_Widget | ( | ) |
|
virtual |
append a default row
Implements Abstract_Widget_List.
QList<QColor> Color_List_Widget::colors | ( | ) | const |
|
signal |
void Color_List_Widget::setColors | ( | const QList< QColor > & | colors | ) |
|
slot |
|
virtual |
Swap row a and row b.
Implements Abstract_Widget_List.
Color_Wheel::Display_Flags Color_List_Widget::wheelFlags | ( | ) | const |
|
signal |
|
readwrite |
|
readwrite |