以下成员源于类 QWorkspace are part of the Qt compatibility layer. We advise against using them in new code.
| QWorkspace (QWidget * parent , const char * name ) | |
| void | setPaletteBackgroundColor (const QColor & c ) |
| void | setPaletteBackgroundPixmap (const QPixmap & pm ) |
Use one of the constructors that doesn't take the name argument and then use setObjectName () 代替。
Sets the background color to c 。使用 setBackground () 代替。
Sets the background pixmap to pm 。使用 setBackground () 代替。