summaryrefslogtreecommitdiff
path: root/utils/regtools/qeditor/regdisplaypanel.h
diff options
context:
space:
mode:
authorAmaury Pouly <amaury.pouly@gmail.com>2014-08-09 18:39:45 +0200
committerAmaury Pouly <amaury.pouly@gmail.com>2014-09-07 17:46:42 +0200
commitef0299c62ee31d0c6cb3bc755457bf37647123ba (patch)
tree1fd295f035214756c595c972ee2e488b3ab25088 /utils/regtools/qeditor/regdisplaypanel.h
parent3daa6d64f6337ce47bed7a30c3591c144a278f98 (diff)
downloadrockbox-ef0299c62ee31d0c6cb3bc755457bf37647123ba.tar.gz
rockbox-ef0299c62ee31d0c6cb3bc755457bf37647123ba.zip
qeditor: add soc panel, to display soc information
Change-Id: Ie442b82d96fb150c7466f1a274240f9b111fd91e
Diffstat (limited to 'utils/regtools/qeditor/regdisplaypanel.h')
-rw-r--r--utils/regtools/qeditor/regdisplaypanel.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/utils/regtools/qeditor/regdisplaypanel.h b/utils/regtools/qeditor/regdisplaypanel.h
index a000fa5611..ce6f108350 100644
--- a/utils/regtools/qeditor/regdisplaypanel.h
+++ b/utils/regtools/qeditor/regdisplaypanel.h
@@ -23,6 +23,23 @@ public:
23 virtual QByteArray valuePropertyName () const; 23 virtual QByteArray valuePropertyName () const;
24}; 24};
25 25
26class SocDisplayPanel : public QGroupBox, public RegTabPanel
27{
28 Q_OBJECT
29public:
30 SocDisplayPanel(QWidget *parent, const SocRef& reg);
31 void Reload();
32 void AllowWrite(bool en);
33 QWidget *GetWidget();
34 bool Quit();
35
36protected:
37
38 const SocRef& m_soc;
39 QLabel *m_name;
40 QLabel *m_desc;
41};
42
26class DevDisplayPanel : public QGroupBox, public RegTabPanel 43class DevDisplayPanel : public QGroupBox, public RegTabPanel
27{ 44{
28 Q_OBJECT 45 Q_OBJECT