##// END OF EJS Templates
Now plugins show their instance name in the dock widget tab.
jeandet -
r6:3120bace1c2e default
parent child
Show More
@@ -26,7 +26,6
26 ApbUartPlugin::ApbUartPlugin(QWidget *parent):socexplorerplugin(parent)
26 ApbUartPlugin::ApbUartPlugin(QWidget *parent):socexplorerplugin(parent)
27 {
27 {
28 this->UI = new ApbUartPluginUi();
28 this->UI = new ApbUartPluginUi();
29 this->setWindowTitle(tr("APBUART"));
30 this->setWidget((QWidget*)this->UI);
29 this->setWidget((QWidget*)this->UI);
31 this->useLoopBack = false;
30 this->useLoopBack = false;
32 connect(this->UI,SIGNAL(loopbackChkBxStateChanged(int)),this,SLOT(loopbackChangeState(int)));
31 connect(this->UI,SIGNAL(loopbackChkBxStateChanged(int)),this,SLOT(loopbackChangeState(int)));
@@ -39,7 +39,6 ahbuartplugin::ahbuartplugin(QWidget *pa
39 this->portMutex = new QMutex(QMutex::Recursive);
39 this->portMutex = new QMutex(QMutex::Recursive);
40 this->UI = new ahbUartPluginUI();
40 this->UI = new ahbUartPluginUI();
41 this->setWidget((QWidget*)this->UI);
41 this->setWidget((QWidget*)this->UI);
42 this->setWindowTitle(tr("AHB UART"));
43 QObject::connect(this,SIGNAL(activateSig(bool)),this->UI,SLOT(setConnected(bool)));
42 QObject::connect(this,SIGNAL(activateSig(bool)),this->UI,SLOT(setConnected(bool)));
44 QObject::connect(this->UI,SIGNAL(connectPortsig(QString,int)),this,SLOT(togglePort(QString,int)));
43 QObject::connect(this->UI,SIGNAL(connectPortsig(QString,int)),this,SLOT(togglePort(QString,int)));
45 this->pyObject = new ahbuartPywrapper(this);
44 this->pyObject = new ahbuartPywrapper(this);
@@ -25,7 +25,6
25 ambaplugin::ambaplugin(QWidget *parent):socexplorerplugin(parent,true)
25 ambaplugin::ambaplugin(QWidget *parent):socexplorerplugin(parent,true)
26 {
26 {
27 this->UI = new ambaPluginUI(this);
27 this->UI = new ambaPluginUI(this);
28 this->setWindowTitle(tr("AMBA Driver"));
29 this->setWidget((QWidget*)this->UI);
28 this->setWidget((QWidget*)this->UI);
30 connect(this->UI,SIGNAL(ReadSig(uint*,uint,uint)),this,SLOT(Read(uint*,uint,uint)));
29 connect(this->UI,SIGNAL(ReadSig(uint*,uint,uint)),this,SLOT(Read(uint*,uint,uint)));
31 connect(this->UI,SIGNAL(WriteSig(uint*,uint,uint)),this,SLOT(Write(uint*,uint,uint)));
30 connect(this->UI,SIGNAL(WriteSig(uint*,uint,uint)),this,SLOT(Write(uint*,uint,uint)));
@@ -28,7 +28,6
28 dsu3plugin::dsu3plugin(QWidget *parent):socexplorerplugin(parent,false)
28 dsu3plugin::dsu3plugin(QWidget *parent):socexplorerplugin(parent,false)
29 {
29 {
30 this->UI = new dsu3pluginui();
30 this->UI = new dsu3pluginui();
31 this->setWindowTitle(tr("DSU3 Driver"));
32 this->setWidget((QWidget*)this->UI);
31 this->setWidget((QWidget*)this->UI);
33 this->elfparserInst = new elfparser();
32 this->elfparserInst = new elfparser();
34 this->pyObject = new dsu3pluginPywrapper(this);
33 this->pyObject = new dsu3pluginPywrapper(this);
@@ -24,7 +24,6
24 genericrwplugin::genericrwplugin(QWidget *parent):socexplorerplugin(parent,false)
24 genericrwplugin::genericrwplugin(QWidget *parent):socexplorerplugin(parent,false)
25 {
25 {
26 this->UI = new genericrwpluginUi();
26 this->UI = new genericrwpluginUi();
27 this->setWindowTitle(tr("Generic Driver"));
28 this->setWidget((QWidget*)this->UI);
27 this->setWidget((QWidget*)this->UI);
29 connect(this->UI,SIGNAL(ReadSig(uint*,uint,uint)),this,SLOT(Read(uint*,uint,uint)));
28 connect(this->UI,SIGNAL(ReadSig(uint*,uint,uint)),this,SLOT(Read(uint*,uint,uint)));
30 connect(this->UI,SIGNAL(WriteSig(uint*,uint,uint)),this,SLOT(Write(uint*,uint,uint)));
29 connect(this->UI,SIGNAL(WriteSig(uint*,uint,uint)),this,SLOT(Write(uint*,uint,uint)));
@@ -25,7 +25,6
25 memctrlrplugin::memctrlrplugin(QWidget *parent):socexplorerplugin(parent,false)
25 memctrlrplugin::memctrlrplugin(QWidget *parent):socexplorerplugin(parent,false)
26 {
26 {
27 this->UI = new memctrlrPluginUi();
27 this->UI = new memctrlrPluginUi();
28 this->setWindowTitle(tr("Memctrlr Driver"));
29 this->setWidget((QWidget*)this->UI);
28 this->setWidget((QWidget*)this->UI);
30 connect(this->UI,SIGNAL(WriteSig(uint*,uint,uint)),this,SLOT(Write(uint*,uint,uint)));
29 connect(this->UI,SIGNAL(WriteSig(uint*,uint,uint)),this,SLOT(Write(uint*,uint,uint)));
31 connect(this->UI,SIGNAL(ReadSig(uint*,uint,uint)),this,SLOT(Read(uint*,uint,uint)));
30 connect(this->UI,SIGNAL(ReadSig(uint*,uint,uint)),this,SLOT(Read(uint*,uint,uint)));
@@ -26,7 +26,7
26 #include <QMenu>
26 #include <QMenu>
27 #include <QAction>
27 #include <QAction>
28 #include <QMainWindow>
28 #include <QMainWindow>
29
29 #include <socexplorerplugin.h>
30
30
31 #include <socexplorerplugin.h>
31 #include <socexplorerplugin.h>
32
32
@@ -10,8 +10,8
10 #include <QAction>
10 #include <QAction>
11 #include <QLayout>
11 #include <QLayout>
12
12
13 #include <abstractspwbridge.h>
13 #include <socexplorerplugin.h>
14 #include <socexplorerplugin.h>
14 #include <abstractspwbridge.h>
15
15
16
16
17 class spwplugin : public socexplorerplugin
17 class spwplugin : public socexplorerplugin
General Comments 0
You need to be logged in to leave comments. Login now