FontButton Class Reference

#include <qpui.h>

List of all members.

Public Slots

void setSansFont ()
void setSerifFont ()
void setMonotypeFont ()
void setDecorativeFont ()
void setItalic (bool i)
void checkItalic ()
void setBold (bool b)
void checkBold ()
void setRomanFont ()
void setNormalFont ()
void setItalicFont ()

Signals

void familyChanged (int)
void styleChanged (bool)
void weightChanged (bool)

Public Member Functions

 FontButton (QWidget *parent=NULL, int family=PL_FCI_SANS, bool italic=false, bool bold=false)
 ~FontButton ()
void getFontParams (PLINT &family, PLINT &style, PLINT &weight)
void setFontParams (PLINT family, PLINT style, PLINT weight)
int getFontIndex ()

Protected Member Functions

void update ()

Protected Attributes

int family
bool italic
bool bold
QMenu * menu
QAction * sansAction
QAction * serifAction
QAction * monotypeAction
QAction * decorativeAction
QAction * italicAction
QAction * boldAction
QAction * normalFontAction
QAction * romanFontAction
QAction * italicFontAction


Constructor & Destructor Documentation

FontButton::FontButton ( QWidget *  parent = NULL,
int  family = PL_FCI_SANS,
bool  italic = false,
bool  bold = false 
)

FontButton::~FontButton (  ) 


Member Function Documentation

void FontButton::checkBold (  )  [slot]

void FontButton::checkItalic (  )  [slot]

void FontButton::familyChanged ( int   )  [signal]

int FontButton::getFontIndex (  ) 

void FontButton::getFontParams ( PLINT family,
PLINT style,
PLINT weight 
)

void FontButton::setBold ( bool  b  )  [slot]

void FontButton::setDecorativeFont (  )  [slot]

void FontButton::setFontParams ( PLINT  family,
PLINT  style,
PLINT  weight 
)

void FontButton::setItalic ( bool  i  )  [slot]

void FontButton::setItalicFont (  )  [slot]

void FontButton::setMonotypeFont (  )  [slot]

void FontButton::setNormalFont (  )  [slot]

void FontButton::setRomanFont (  )  [slot]

void FontButton::setSansFont (  )  [slot]

void FontButton::setSerifFont (  )  [slot]

void FontButton::styleChanged ( bool   )  [signal]

void FontButton::update (  )  [protected]

void FontButton::weightChanged ( bool   )  [signal]


Member Data Documentation

bool FontButton::bold [protected]

QAction* FontButton::boldAction [protected]

QAction* FontButton::decorativeAction [protected]

int FontButton::family [protected]

bool FontButton::italic [protected]

QAction* FontButton::italicAction [protected]

QAction* FontButton::italicFontAction [protected]

QMenu* FontButton::menu [protected]

QAction* FontButton::monotypeAction [protected]

QAction* FontButton::normalFontAction [protected]

QAction* FontButton::romanFontAction [protected]

QAction* FontButton::sansAction [protected]

QAction* FontButton::serifAction [protected]


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

Generated on Fri Jan 8 12:51:27 2010 for QSAS by  doxygen 1.5.7