Changeset 63730 in vbox for trunk/src/VBox/Frontends/VirtualBox
- Timestamp:
- Sep 5, 2016 4:44:31 PM (9 years ago)
- svn:sync-xref-src-repo-rev:
- 110506
- Location:
- trunk/src/VBox/Frontends/VirtualBox/src/selector/graphics/details
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/selector/graphics/details/UIGDetailsElement.cpp
r62493 r63730 193 193 } 194 194 195 QString UIGDetailsElement::name() const 196 { 197 return m_strName; 198 } 199 200 QString UIGDetailsElement::description() const 201 { 202 return tr("Details"); 203 } 204 195 205 QVariant UIGDetailsElement::data(int iKey) const 196 206 { -
trunk/src/VBox/Frontends/VirtualBox/src/selector/graphics/details/UIGDetailsElement.h
r62493 r63730 114 114 /** This event handler is delivered after the widget has been resized. */ 115 115 void resizeEvent(QGraphicsSceneResizeEvent *pEvent); 116 117 /** Returns the name of the item. */ 118 virtual QString name() const /* override */; 119 /** Returns the description of the item. */ 120 virtual QString description() const /* override */; 116 121 117 122 /* Data provider: */ -
trunk/src/VBox/Frontends/VirtualBox/src/selector/graphics/details/UIGDetailsGroup.h
r62493 r63730 68 68 }; 69 69 70 /** Returns the name of the item. */ 71 virtual QString name() const /* override */ { return QString(); } 72 /** Returns the description of the item. */ 73 virtual QString description() const /* override */ { return QString(); } 74 70 75 /* Data provider: */ 71 76 QVariant data(int iKey) const; -
trunk/src/VBox/Frontends/VirtualBox/src/selector/graphics/details/UIGDetailsItem.h
r62493 r63730 69 69 UIGDetailsItem* parentItem() const; 70 70 71 /** Returns the name of the item. */ 72 virtual QString name() const = 0; 73 /** Returns the description of the item. */ 74 virtual QString description() const = 0; 75 71 76 /* API: Children stuff: */ 72 77 virtual void addItem(UIGDetailsItem *pItem) = 0; -
trunk/src/VBox/Frontends/VirtualBox/src/selector/graphics/details/UIGDetailsSet.cpp
r63322 r63730 219 219 /* Update appearance: */ 220 220 rebuildSet(); 221 } 222 223 QString UIGDetailsSet::name() const 224 { 225 return QString(); 226 } 227 228 QString UIGDetailsSet::description() const 229 { 230 return tr("Contains details set of Virtual Machine '%1'").arg(m_pMachineItem->name()); 221 231 } 222 232 -
trunk/src/VBox/Frontends/VirtualBox/src/selector/graphics/details/UIGDetailsSet.h
r62493 r63730 82 82 }; 83 83 84 /** Returns the name of the item. */ 85 virtual QString name() const /* override */; 86 /** Returns the description of the item. */ 87 virtual QString description() const /* override */; 88 84 89 /* Data provider: */ 85 90 QVariant data(int iKey) const;
Note:
See TracChangeset
for help on using the changeset viewer.