Changeset 44737 in vbox for trunk/src/VBox/Frontends/VirtualBox/src/settings/global/UIGlobalSettingsInput.h
- Timestamp:
- Feb 18, 2013 2:08:20 PM (12 years ago)
- svn:sync-xref-src-repo-rev:
- 83840
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/settings/global/UIGlobalSettingsInput.h
r44662 r44737 29 29 #include "UIActionPool.h" 30 30 31 /* Forward declartions: */ 32 class QTabWidget; 33 class QLineEdit; 34 class UIHotKeyTableModel; 35 class UIHotKeyTable; 36 31 37 /* Global settings / Input page / Cache / Shortcut cache item: */ 32 38 struct UIShortcutCacheItem … … 103 109 struct UISettingsCacheGlobalInput 104 110 { 105 QString m_strHostCombo;111 UIShortcutCache m_shortcuts; 106 112 bool m_fAutoCapture; 107 113 }; … … 133 139 void saveFromCacheTo(QVariant &data); 134 140 141 /* Validation stuff: */ 142 void setValidator(QIWidgetValidator *pValidator); 143 bool revalidate(QString &strWarning, QString &strTitle); 144 135 145 /* Navigation stuff: */ 136 146 void setOrderAfter(QWidget *pWidget); … … 139 149 void retranslateUi(); 140 150 151 private slots: 152 153 /* Handler: Filtering stuff: */ 154 void sltHandleFilterTextChange(); 155 141 156 private: 142 157 143 158 /* Cache: */ 159 QIWidgetValidator *m_pValidator; 144 160 UISettingsCacheGlobalInput m_cache; 161 QTabWidget *m_pTabWidget; 162 QLineEdit *m_pFilterEditor; 163 UIHotKeyTableModel *m_pSelectorModel; 164 UIHotKeyTable *m_pSelectorTable; 165 UIHotKeyTableModel *m_pMachineModel; 166 UIHotKeyTable *m_pMachineTable; 167 }; 168 169 /* Hot-key table indexes: */ 170 enum UIHotKeyTableIndex 171 { 172 UIHotKeyTableIndex_Selector = 0, 173 UIHotKeyTableIndex_Machine = 1 145 174 }; 146 175
Note:
See TracChangeset
for help on using the changeset viewer.