以下成員源於類 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 ().