Opened 10 years ago

Last modified 9 years ago

#35 new task

Finish QColormap

Reported by: dmik Owned by:
Priority: minor Milestone: Qt Enhanced
Component: QtGui Version: 4.5.1 Beta 1
Severity: low Keywords:


Provide the OS/2 version of the QPaintDevice and QColormap classes.

Change History (4)

comment:1 Changed 10 years ago by dmik

  • Milestone changed from QtGui Beta to Qt GA

No time (not too important).

comment:2 Changed 10 years ago by dmik

  • Milestone changed from Qt GA to Qt Enhanced

The platform-dependent part QPaintDevice is actually very slim and doesn't need any porting in case of OS/2. On Win32, they add the getDC() and releaseDC() methods to QPaintDevice similar to getPS() and releasePS we provide for QWidget on OS/2. If other derivants of QPaintDevice besides QWisget will need this functionality too I'll move these methods to QPaintDevice as well.

Therefore, it's just QColormap. Basically, this class is about setting up the palette for 256 color modes. Not really relevant for modern hardware, therefore, I'm moving it outside the GA milestone.

comment:3 Changed 9 years ago by dmik

  • Severity set to low
  • Summary changed from Port QPaintDevice and QColormap to Finish QColormap

Just for clarity, this task is narrowed down to implementing HPAL QColormap::hPal() method that will create a HPAL object that will be a GPI representation of the QColormap, and then using this HPAL object when creating presentation spaces (basically, for the needs of QPixmap) and when realizing the palette in response to the WM_REALIZEPALETTE message. Not really important unless we got a user with a 256 color display which is not satisfied with the current Qt4 behavior.

comment:4 Changed 9 years ago by dmik

  • Priority changed from major to minor
Note: See TracTickets for help on using tickets.