|
tilde~
Puredata Qt-based GUI
|
#include <bound_color_selector.hpp>
Public Member Functions | |
| Bound_Color_Selector (QColor *reference, QWidget *parent=0) | |
Public Member Functions inherited from Color_Selector | |
| Color_Selector (QWidget *parent=0) | |
| ~Color_Selector () | |
| void | setUpdateMode (Update_Mode m) |
| Update_Mode | updateMode () const |
| Qt::WindowModality | dialogModality () const |
| void | setDialogModality (Qt::WindowModality m) |
| Color_Wheel::Display_Flags | wheelFlags () const |
Public Member Functions inherited from Color_Preview | |
| Color_Preview (QWidget *parent=0) | |
| ~Color_Preview () | |
| QBrush | background () const |
| Get the background visible under transparent colors. More... | |
| void | setBackground (const QBrush &bk) |
| Change the background visible under transparent colors. More... | |
| Display_Mode | displayMode () const |
| Get color display mode. More... | |
| void | setDisplayMode (Display_Mode dm) |
| Set how transparent colors are handled. More... | |
| QColor | color () const |
| Get current color. More... | |
| QColor | comparisonColor () const |
| Get the comparison color. More... | |
| QSize | sizeHint () const |
| void | paint (QPainter &painter, QRect rect) const |
Additional Inherited Members | |
Public Types inherited from Color_Selector | |
| enum | Update_Mode { Confirm, Continuous } |
Public Types inherited from Color_Preview | |
| enum | Display_Mode { NoAlpha, AllAlpha, SplitAlpha, SplitColor } |
Public Slots inherited from Color_Selector | |
| void | showDialog () |
| void | setWheelFlags (Color_Wheel::Display_Flags flags) |
Public Slots inherited from Color_Preview | |
| void | setColor (const QColor &c) |
| Set current color. More... | |
| void | setComparisonColor (const QColor &c) |
| Set the comparison color. More... | |
Signals inherited from Color_Selector | |
| void | wheelFlagsChanged (Color_Wheel::Display_Flags flags) |
Signals inherited from Color_Preview | |
| void | clicked () |
| Emitted when the user clicks on the widget. More... | |
| void | colorChanged (QColor) |
| Emitted on setColor. More... | |
Protected Member Functions inherited from Color_Selector | |
| void | dragEnterEvent (QDragEnterEvent *event) |
| void | dropEvent (QDropEvent *event) |
Protected Member Functions inherited from Color_Preview | |
| void | paintEvent (QPaintEvent *) |
| void | resizeEvent (QResizeEvent *) |
| void | mouseReleaseEvent (QMouseEvent *ev) |
| void | mouseMoveEvent (QMouseEvent *ev) |
Properties inherited from Color_Selector | |
| Update_Mode | updateMode |
| Qt::WindowModality | dialogModality |
| Color_Wheel::Display_Flags | wheelFlags |
Properties inherited from Color_Preview | |
| QColor | color |
| QColor | comparisonColor |
| Display_Mode | display_mode |
| QBrush | background |
A color selector bound to a color reference
|
explicit |
1.8.6