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.
10 #include <q3listview.h>
11 #include <Q3PopupMenu>
16 class RegisterViewItem
;
17 class GroupingViewItem
;
21 class RegisterView
: public Q3ListView
25 RegisterView(QWidget
* parent
);
29 void rightButtonClicked(Q3ListViewItem
*, const QPoint
&, int);
30 void slotModeChange(int);
31 void updateRegisters(const std::list
<RegisterInfo
>&);
34 void paletteChange(const QPalette
& oldPal
);
35 void updateGroupVisibility();
36 GroupingViewItem
* findMatchingGroup(const QString
& regName
);
37 GroupingViewItem
* findGroup(const QString
& groupName
);
38 Q3PopupMenu
* m_modemenu
;
39 typedef std::map
<QString
,RegisterViewItem
*> RegMap
;
42 friend class RegisterViewItem
;