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