2 * Copyright Max Judin, Johannes Sixt
3 * This file is licensed under the GNU General Public License Version 2.
4 * See the file COPYING in the toplevel directory of the source directory.
15 class RegisterViewItem
;
16 class GroupingViewItem
;
17 class QContextMenuEvent
;
21 class RegisterView
: public QTreeWidget
25 RegisterView(QWidget
* parent
);
29 void contextMenuEvent(QContextMenuEvent
*);
32 void slotModeChange(QAction
*);
33 void updateRegisters(const std::list
<RegisterInfo
>&);
36 void paletteChange(const QPalette
& oldPal
);
37 void updateGroupVisibility();
38 GroupingViewItem
* findMatchingGroup(const QString
& regName
);
39 GroupingViewItem
* findGroup(const QString
& groupName
);
41 typedef std::map
<QString
,RegisterViewItem
*> RegMap
;
44 friend class RegisterViewItem
;