QT中QWidget类参考!(4)
2023-06-03 来源:旧番剧
virtual void setErasePixmap ( const QPixmap & pixmap )
const QColorGroup & colorGroup () const
const QPalette & palette () const
bool ownPalette () const
virtual void setPalette ( const QPalette & )
void unsetPalette ()
const QColor & paletteForegroundColor () const
void setPaletteForegroundColor ( const QColor & )
const QColor & paletteBackgroundColor () const
virtual void setPaletteBackgroundColor ( const QColor & )
const QPixmap * paletteBackgroundPixmap () const
virtual void setPaletteBackgroundPixmap ( const QPixmap & )
const QBrush & backgroundBrush () const
QFont font () const
bool ownFont () const
virtual void setFont ( const QFont & )
void unsetFont ()
QFontMetrics fontMetrics () const
QFontInfo fontInfo () const
const QCursor & cursor () const
bool ownCursor () const
virtual void setCursor ( const QCursor & )
virtual void unsetCursor ()