以下成员源于类 QToolButton 已过时。 提供它们是为使旧源代码能继续工作。强烈建议不要在新代码中使用它们。
(obsolete)
QIcon
|
iconSet (bool on ) const |
(obsolete)
void
|
setIconSet (const QIcon & set , bool on ) |
(obsolete)
void
|
setOffIconSet (const QIcon & set ) |
(obsolete)
void
|
setOnIconSet (const QIcon & set ) |
这是重载函数。
Since Qt 3.0, QIcon contains both the On and Off icons.
For ease of porting, this function ignores the on parameter and returns the icon property. If you relied on the on parameter, you probably want to update your code to use the QIcon On/Off mechanism.
这是重载函数。
Since Qt 3.0, QIcon contains both the On and Off icons.
For ease of porting, this function ignores the on parameter and sets the icon property. If you relied on the on parameter, you probably want to update your code to use the QIcon On/Off mechanism.
另请参阅 icon and QIcon::State .
使用 setIcon () 代替。
另请参阅 offIconSet ().
使用 setIcon () 代替。
另请参阅 onIconSet ().