lib

TKSelectColorAction Class Reference

Inheritance diagram for TKSelectColorAction:

TKAction KAction List of all members.

Detailed Description

Definition at line 43 of file tkcoloractions.h.


Public Types

enum  Type { TextColor, LineColor, FillColor, Color }

Public Slots

void setCurrentColor (const QColor &)
void setActiveColor (const QColor &)
virtual void activate ()

Signals

void colorSelected (const QColor &)

Public Member Functions

 TKSelectColorAction (const QString &text, Type type, QObject *parent, const char *name, bool menuDefaultColor=false)
 TKSelectColorAction (const QString &text, Type type, QObject *receiver, const char *slot, QObject *parent, const char *name, bool menuDefaultColor=false)
virtual ~TKSelectColorAction ()
QColor color () const
KPopupMenupopupMenu () const
void setDefaultColor (const QColor &_col)

Protected Slots

void selectColorDialog ()
void panelColorSelected (const QColor &)
void panelReject ()
virtual void slotActivated ()
void defaultColor ()

Protected Member Functions

void init ()
virtual void initToolBarButton (TKToolBarButton *)
void updatePixmap ()
void updatePixmap (TKToolBarButton *)

Protected Attributes

TKColorPopupMenum_pMenu
TKColorPanelm_pStandardColor
TKColorPanelm_pRecentColor
int m_type
QColor m_pCurrentColor

The documentation for this class was generated from the following files:
KDE Home | KDE Accessibility Home | Description of Access Keys