From 4356666101e0e7985e65a19f86bc4a74519e93f9 Mon Sep 17 00:00:00 2001 From: Amaury Pouly Date: Mon, 7 Apr 2014 11:28:04 +0200 Subject: regtools: completely rework qeditor, improve soc desc library and tools The graphical editor can now display and editor description files. The library has been improved to provide more useful function. The XML format has been slightly changed: only one soc is allowed per file (this is was already de facto the case since was the root tag). Also introduce a DTD to validate the files. Change-Id: If70ba35b6dc0242bdb87411cf4baee9597798aac --- utils/regtools/qeditor/std_analysers.cpp | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'utils/regtools/qeditor/std_analysers.cpp') diff --git a/utils/regtools/qeditor/std_analysers.cpp b/utils/regtools/qeditor/std_analysers.cpp index 2cc84cb488..5847e39f7d 100644 --- a/utils/regtools/qeditor/std_analysers.cpp +++ b/utils/regtools/qeditor/std_analysers.cpp @@ -23,6 +23,7 @@ ClockAnalyser::ClockAnalyser(const SocRef& soc, IoBackend *backend) ClockAnalyser::~ClockAnalyser() { + delete m_group; } QWidget *ClockAnalyser::GetWidget() @@ -287,9 +288,9 @@ void ClockAnalyser::FillTree() else AddClock(ref_xtal, "clk_rtc32k", INVALID); - (void) clk_x; - (void) clk_gpmi; - (void) clk_h; + Q_UNUSED(clk_x); + Q_UNUSED(clk_gpmi); + Q_UNUSED(clk_h); m_tree_widget->expandAll(); m_tree_widget->resizeColumnToContents(0); @@ -334,6 +335,7 @@ EmiAnalyser::EmiAnalyser(const SocRef& soc, IoBackend *backend) EmiAnalyser::~EmiAnalyser() { + delete m_group; } QWidget *EmiAnalyser::GetWidget() @@ -671,6 +673,7 @@ PinAnalyser::PinAnalyser(const SocRef& soc, IoBackend *backend) PinAnalyser::~PinAnalyser() { + delete m_group; } QWidget *PinAnalyser::GetWidget() -- cgit v1.2.3