| 1 |
- Vertical tabs and titles of dockwidgets are broken |
| 2 |
Vertical tabs are drawn as yellow rectangle (unfilled) without title |
| 3 |
Vertical titles of dockwidgets are not rotated |
| 4 |
|
| 5 |
drawComplexControl: |
| 6 |
CC_SpinBox: |
| 7 |
Needs to honor stepEnabled |
| 8 |
|
| 9 |
CC_ComboBox: |
| 10 |
Interaction with some of the style option flags (frameless, non-editable, etc.) seems missing. |
| 11 |
Frameless implemented via subControlRect, but probably best to honor in draw as well. |
| 12 |
Need to check frame w/designer, at least. Not clear how editable interacts with the SC flags --- |
| 13 |
might still pass SC_All? |
| 14 |
|
| 15 |
CC_ScrollBar: |
| 16 |
Fallback to QCommonStyle. Should be OK... |
| 17 |
|
| 18 |
CC_Slider: |
| 19 |
Looks fine... |
| 20 |
|
| 21 |
CC_ToolButton: |
| 22 |
Needs to handle the QStyleOptionToolButton::Arrow feature, though perhaps in CE_ToolButtonLabel? |
| 23 |
|
| 24 |
CC_TitleBar: |
| 25 |
Looks OK |
| 26 |
|
| 27 |
CC_Q3ListView: |
| 28 |
Looks OK |
| 29 |
|
| 30 |
CC_GroupBox: |
| 31 |
No handling (Qt 4.1) |
| 32 |
|
| 33 |
QCommonStyle breaks it up into PE_IndicatorCheckBox, PE_FrameGroupBox, and PE_FrameFocusRect, |
| 34 |
along with drawItem text. Need to check with Oxy folks on what their goals are. Probably need at |
| 35 |
least a nice placeholder WT for the frame PE, not sure the rest can probably be pushed back to |
| 36 |
4.1 or 4.0.x |
| 37 |
|
| 38 |
Also, need to file a Qt docs bug that drawComplexControl docs don't mention QStyleOptionGroupBox for CC_GroupBox |
| 39 |
|
| 40 |
CC_Dial: |
| 41 |
QCommonStyle does something reasonable. No need to style this, I think, it's (thankfully) hardly ever used. |
| 42 |
|
| 43 |
CC_MdiControls: |
| 44 |
No handling (Qt 4.3) |
| 45 |
Should probably integrate with CC_TitleBar handling somehow, but may need a flag or something to distinguish them, perhaps |
| 46 |
some sort of bevel/bevelless mode in ButtonKOpt? Definitely a lot of overlap.. |
| 47 |
Side note: only passes in QStyleOptionComplex |
| 48 |
|
| 49 |
drawControl |
| 50 |
CE_PushButton |
| 51 |
QStyleOptionButton::Flat not taken into account (thus the frame is always drawn). |
| 52 |
|
| 53 |
CE_HeaderSection |
| 54 |
The sort indicator is the same for both ascending and descending directions. |
| 55 |
|
| 56 |
sizeFromContents: |
| 57 |
CT_CheckBox: OK |
| 58 |
CT_ComboBox: |
| 59 |
Missing! Should compute space much like subControlRect computations do |
| 60 |
|
| 61 |
CT_Q3DockWindow: Missing, along with other Q3DockWindow primitives. Need to test in |
| 62 |
designer to see if it's drawn OK. |
| 63 |
|
| 64 |
CT_HeaderSection: Hardcodes icon size instead of using PM_SmallIconSize. |
| 65 |
Probably should not apply the icon - text margin when there is no icon.. |
| 66 |
|
| 67 |
CT_LineEdit: should probably add it, especially if Oxygen needs it; |
| 68 |
unfortunately the QLineEdit internals seem to do some pretty weird stuff, |
| 69 |
hardcoding some margins and anything. But, well, a uniform margin model |
| 70 |
for this would be nice.. |
| 71 |
see also SE_LineEditContents.. |
| 72 |
|
| 73 |
CT_Menu: OK |
| 74 |
|
| 75 |
CT_Q3Header: |
| 76 |
Missing. Probably share code with CT_HeaderSection, or OK as-is? |
| 77 |
|
| 78 |
CT_MenuBar, CT_MenuItem: CT_MenuBarItem: OK |
| 79 |
|
| 80 |
|
| 81 |
|