![]() |
wwWidgets Home · All Namespaces · All Classes · Main Classes · Grouped Classes · Modules · Functions |
![]() |
The QwwColorButton class provides a color chooser in form of a button with a popup list More...
#include <QwwColorButton>
The QwwColorButton class provides a color chooser in form of a button with a popup list
This widget provides a push button that can be used to choose a color from either a predefined set or a custom one using a QColorDialog.
Active color can be changed either by clicking the button and choosing a different entry or by dropping a color from another widget or another application.
Colors can be added to the button with addColor(), setColors() or setStandardColors().
This property holds list of colors known to the button.
Access functions:
See also currentColor.
This property holds returns the currently chosen color.
Access functions:
This property holds this property holds whether the button starts a drag if the user presses and moves the mouse away from the button.
Dragging is disabled by default.
Access functions:
This property holds this property holds whether the color name should be displayed on the button.
Access functions:
Constructs a colour button with a specified parent.
Adds a color with a name to the list of colors to choose from color color to add name name to associate with the color
Clears the color list
This signal is emitted when color is picked and displayed on the button.
Sets standard Qt colors as the list of colors to choose from
Copyright © 2007-2009 Witold Wysota | Trademarks | wwWidgets 0.9.6 |