itom
Loading...
Searching...
No Matches
BrushCreatorButton Class Reference
Inheritance diagram for BrushCreatorButton:

Public Slots

void setBrush (const QBrush &brush)
 Set a new current pen without opening a dialog.
 
void setShowAlphaChannel (bool showAlphaChannel)
 

Public Member Functions

 BrushCreatorButton (QWidget *parent=0)
 
 BrushCreatorButton (QBrush brush, QWidget *parent=0)
 
QSize sizeHint () const
 
QBrush getBrush () const
 
bool getShowAlphaChannel () const
 

Protected Slots

void onToggled (bool change=true)
 

Protected Member Functions

virtual void paintEvent (QPaintEvent *event)
 
void changeBrush ()
 

Protected Attributes

QScopedPointer< BrushCreatorButtonPrivated_ptr
 

Properties

QBrush brush
 
bool showAlphaChannel
 

Private Member Functions

 Q_DECLARE_PRIVATE (BrushCreatorButton)
 
 Q_DISABLE_COPY (BrushCreatorButton)
 

The documentation for this class was generated from the following files: