Use a fixed-width font in the register window.
[kdbg.git] / kdbg / regwnd.h
blobcba19c478388ca59bb10b56974bbd8bfcab9916b
1 // $Id$
3 // Copyright by Judin Max, Johannes Sixt
4 // This file is under GPL, the GNU General Public Licence
6 #ifndef REGWND_H
7 #define REGWND_H
9 #include <qlistview.h>
11 class QPopupMenu;
12 class RegisterViewItem;
13 struct RegisterInfo;
15 class RegisterView : public QListView
17 Q_OBJECT
18 public:
19 RegisterView(QWidget* parent, const char *name = 0L);
20 ~RegisterView();
22 protected slots:
23 void rightButtonClicked(QListViewItem*, const QPoint&, int);
24 void slotModeChange(int);
25 void updateRegisters(QList<RegisterInfo>&);
27 private:
28 void paletteChange(const QPalette& oldPal);
29 QListViewItem* m_lastItem;
30 QPopupMenu* m_modemenu;
31 int m_mode;
33 friend class RegisterViewItem;
36 #endif // REGWND_H