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

Public Slots

void setPen (const QPen &pen)
 Set a new current pen without opening a dialog.
 
void setColorState (const bool &val)
 

Signals

void colorStateChanged (bool state)
 

Public Member Functions

 PenCreatorButton (QWidget *parent=0)
 
 PenCreatorButton (QPen pen, QWidget *parent=0)
 
QSize sizeHint () const
 
QPen getPen () const
 
bool getColorState () const
 

Protected Slots

void onToggled (bool change=true)
 

Protected Member Functions

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

Protected Attributes

QScopedPointer< PenCreatorButtonPrivated_ptr
 

Properties

QPen pen
 
bool editableColor
 

Private Member Functions

 Q_DECLARE_PRIVATE (PenCreatorButton)
 
 Q_DISABLE_COPY (PenCreatorButton)
 

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