- Timestamp:
- Sep 8, 2016 1:05:43 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/selector/graphics/chooser/UIGChooserItem.cpp
r63731 r63763 162 162 AssertPtrReturn(item(), QAccessible::State()); 163 163 164 /* Compose /returnthe state: */164 /* Compose the state: */ 165 165 QAccessible::State state; 166 166 state.focusable = true; 167 167 state.selectable = true; 168 169 /* Compose the state of current item: */ 168 170 if (item() && item() == item()->model()->currentItem()) 169 171 { … … 172 174 state.selected = true; 173 175 } 176 177 /* Compose the state of group: */ 178 if (item()->type() == UIGChooserItemType_Group) 179 { 180 state.expandable = true; 181 if (!item()->toGroupItem()->isClosed()) 182 state.expanded = true; 183 } 184 185 /* Return the state: */ 174 186 return state; 175 187 }
Note:
See TracChangeset
for help on using the changeset viewer.