#include <qpui.h>
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 |
FontButton::FontButton | ( | QWidget * | parent = NULL , |
|
int | family = PL_FCI_SANS , |
|||
bool | italic = false , |
|||
bool | bold = false | |||
) |
FontButton::~FontButton | ( | ) |
void FontButton::checkBold | ( | ) | [slot] |
void FontButton::checkItalic | ( | ) | [slot] |
void FontButton::familyChanged | ( | int | ) | [signal] |
int FontButton::getFontIndex | ( | ) |
void FontButton::setBold | ( | bool | b | ) | [slot] |
void FontButton::setDecorativeFont | ( | ) | [slot] |
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] |
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] |