Opened 19 years ago
Closed 19 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 by , 19 years ago
Status: | new → assigned |
---|
comment:2 by , 19 years ago
Milestone: | → qt-os2-3.3.1-rc07 |
---|
comment:3 by , 19 years ago
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: