Opened 18 years ago
Closed 18 years ago
#7 closed enhancement (fixed)
Implement QWidget::setIcon()
Reported by: | dmik | Owned by: | dmik |
---|---|---|---|
Priority: | normal | Milestone: | qt-os2-3.3.1-rc07 |
Component: | kernel | Version: | |
Severity: | normal | Keywords: | icon setIcon |
Cc: |
Description
We need to implement setting the widget's icon and ensure it works both for top-level widgets (i.e. a correct icon appears in the PM window title) and for self-drawn MDI widgets.
Change History (3)
comment:1 Changed 18 years ago by
Status: | new → assigned |
---|
comment:2 Changed 18 years ago by
Milestone: | → qt-os2-3.3.1-rc07 |
---|
comment:3 Changed 18 years ago by
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Note: See
TracTickets for help on using
tickets.
QWidget::setIcon() has been implemented.
Since this method accepts only one pixmap (and also because of a bug in
WinCreatePointerIndirect
, causing it to ignorehbmMiniPointer
andhbmMiniColor
fields of thePOINTERINFO
structure), the specified pixmap is scaled to match the actual (system defined) size either of the normal icon or mini icon, as follows: