Merge pull request #161 from SubaruDieselCrew/own
add setWindowFlags(Qt::Window) to improve window management
This commit is contained in:
@@ -13,6 +13,7 @@ BisectWindow::BisectWindow(const QVector<CANFrame> *frames, QWidget *parent) :
|
|||||||
ui(new Ui::BisectWindow)
|
ui(new Ui::BisectWindow)
|
||||||
{
|
{
|
||||||
ui->setupUi(this);
|
ui->setupUi(this);
|
||||||
|
setWindowFlags(Qt::Window);
|
||||||
|
|
||||||
modelFrames = frames;
|
modelFrames = frames;
|
||||||
|
|
||||||
|
|||||||
@@ -14,6 +14,7 @@ ConnectionWindow::ConnectionWindow(QWidget *parent) :
|
|||||||
ui(new Ui::ConnectionWindow)
|
ui(new Ui::ConnectionWindow)
|
||||||
{
|
{
|
||||||
ui->setupUi(this);
|
ui->setupUi(this);
|
||||||
|
setWindowFlags(Qt::Window);
|
||||||
|
|
||||||
QSettings settings;
|
QSettings settings;
|
||||||
|
|
||||||
|
|||||||
@@ -7,6 +7,7 @@ DBCLoadSaveWindow::DBCLoadSaveWindow(const QVector<CANFrame> *frames, QWidget *p
|
|||||||
QDialog(parent),
|
QDialog(parent),
|
||||||
ui(new Ui::DBCLoadSaveWindow)
|
ui(new Ui::DBCLoadSaveWindow)
|
||||||
{
|
{
|
||||||
|
setWindowFlags(Qt::Window);
|
||||||
|
|
||||||
dbcHandler = DBCHandler::getReference();
|
dbcHandler = DBCHandler::getReference();
|
||||||
referenceFrames = frames;
|
referenceFrames = frames;
|
||||||
|
|||||||
@@ -9,6 +9,7 @@ FirmwareUploaderWindow::FirmwareUploaderWindow(const QVector<CANFrame> *frames,
|
|||||||
ui(new Ui::FirmwareUploaderWindow)
|
ui(new Ui::FirmwareUploaderWindow)
|
||||||
{
|
{
|
||||||
ui->setupUi(this);
|
ui->setupUi(this);
|
||||||
|
setWindowFlags(Qt::Window);
|
||||||
|
|
||||||
transferInProgress = false;
|
transferInProgress = false;
|
||||||
startedProcess = false;
|
startedProcess = false;
|
||||||
|
|||||||
@@ -25,7 +25,7 @@ FramePlaybackWindow::FramePlaybackWindow(const QVector<CANFrame> *frames, QWidge
|
|||||||
ui(new Ui::FramePlaybackWindow)
|
ui(new Ui::FramePlaybackWindow)
|
||||||
{
|
{
|
||||||
ui->setupUi(this);
|
ui->setupUi(this);
|
||||||
|
setWindowFlags(Qt::Window);
|
||||||
|
|
||||||
int numBuses = CANConManager::getInstance()->getNumBuses();
|
int numBuses = CANConManager::getInstance()->getNumBuses();
|
||||||
for (int n = 0; n < numBuses; n++) ui->comboCANBus->addItem(QString::number(n));
|
for (int n = 0; n < numBuses; n++) ui->comboCANBus->addItem(QString::number(n));
|
||||||
|
|||||||
@@ -20,6 +20,7 @@ FrameSenderWindow::FrameSenderWindow(const QVector<CANFrame> *frames, QWidget *p
|
|||||||
ui(new Ui::FrameSenderWindow)
|
ui(new Ui::FrameSenderWindow)
|
||||||
{
|
{
|
||||||
ui->setupUi(this);
|
ui->setupUi(this);
|
||||||
|
setWindowFlags(Qt::Window);
|
||||||
|
|
||||||
modelFrames = frames;
|
modelFrames = frames;
|
||||||
|
|
||||||
|
|||||||
@@ -9,6 +9,7 @@ HelpWindow::HelpWindow(QWidget *parent) :
|
|||||||
ui(new Ui::HelpWindow)
|
ui(new Ui::HelpWindow)
|
||||||
{
|
{
|
||||||
ui->setupUi(this);
|
ui->setupUi(this);
|
||||||
|
setWindowFlags(Qt::Window);
|
||||||
|
|
||||||
m_helpEngine = new QHelpEngineCore(QApplication::applicationDirPath() +"/SavvyCAN.qhc", this);
|
m_helpEngine = new QHelpEngineCore(QApplication::applicationDirPath() +"/SavvyCAN.qhc", this);
|
||||||
if (!m_helpEngine->setupData()) {
|
if (!m_helpEngine->setupData()) {
|
||||||
|
|||||||
@@ -9,6 +9,7 @@ MotorControllerConfigWindow::MotorControllerConfigWindow(const QVector<CANFrame>
|
|||||||
ui(new Ui::MotorControllerConfigWindow)
|
ui(new Ui::MotorControllerConfigWindow)
|
||||||
{
|
{
|
||||||
ui->setupUi(this);
|
ui->setupUi(this);
|
||||||
|
setWindowFlags(Qt::Window);
|
||||||
|
|
||||||
modelFrames = frames;
|
modelFrames = frames;
|
||||||
|
|
||||||
|
|||||||
@@ -8,6 +8,7 @@ DiscreteStateWindow::DiscreteStateWindow(const QVector<CANFrame> *frames, QWidge
|
|||||||
ui(new Ui::DiscreteStateWindow)
|
ui(new Ui::DiscreteStateWindow)
|
||||||
{
|
{
|
||||||
ui->setupUi(this);
|
ui->setupUi(this);
|
||||||
|
setWindowFlags(Qt::Window);
|
||||||
|
|
||||||
modelFrames = frames;
|
modelFrames = frames;
|
||||||
operatingState = DWStates::IDLE;
|
operatingState = DWStates::IDLE;
|
||||||
|
|||||||
@@ -8,6 +8,7 @@ FileComparatorWindow::FileComparatorWindow(QWidget *parent) :
|
|||||||
ui(new Ui::FileComparatorWindow)
|
ui(new Ui::FileComparatorWindow)
|
||||||
{
|
{
|
||||||
ui->setupUi(this);
|
ui->setupUi(this);
|
||||||
|
setWindowFlags(Qt::Window);
|
||||||
|
|
||||||
connect(ui->btnInterestedFile, SIGNAL(clicked(bool)), this, SLOT(loadInterestedFile()));
|
connect(ui->btnInterestedFile, SIGNAL(clicked(bool)), this, SLOT(loadInterestedFile()));
|
||||||
connect(ui->btnLoadRefFile, SIGNAL(clicked(bool)), this, SLOT(loadReferenceFile()));
|
connect(ui->btnLoadRefFile, SIGNAL(clicked(bool)), this, SLOT(loadReferenceFile()));
|
||||||
|
|||||||
@@ -12,6 +12,7 @@ FlowViewWindow::FlowViewWindow(const QVector<CANFrame> *frames, QWidget *parent)
|
|||||||
ui(new Ui::FlowViewWindow)
|
ui(new Ui::FlowViewWindow)
|
||||||
{
|
{
|
||||||
ui->setupUi(this);
|
ui->setupUi(this);
|
||||||
|
setWindowFlags(Qt::Window);
|
||||||
|
|
||||||
readSettings();
|
readSettings();
|
||||||
|
|
||||||
|
|||||||
@@ -9,6 +9,7 @@ FrameInfoWindow::FrameInfoWindow(const QVector<CANFrame> *frames, QWidget *paren
|
|||||||
ui(new Ui::FrameInfoWindow)
|
ui(new Ui::FrameInfoWindow)
|
||||||
{
|
{
|
||||||
ui->setupUi(this);
|
ui->setupUi(this);
|
||||||
|
setWindowFlags(Qt::Window);
|
||||||
|
|
||||||
readSettings();
|
readSettings();
|
||||||
|
|
||||||
|
|||||||
@@ -11,6 +11,7 @@ FuzzingWindow::FuzzingWindow(const QVector<CANFrame> *frames, QWidget *parent) :
|
|||||||
ui(new Ui::FuzzingWindow)
|
ui(new Ui::FuzzingWindow)
|
||||||
{
|
{
|
||||||
ui->setupUi(this);
|
ui->setupUi(this);
|
||||||
|
setWindowFlags(Qt::Window);
|
||||||
|
|
||||||
modelFrames = frames;
|
modelFrames = frames;
|
||||||
|
|
||||||
|
|||||||
@@ -10,6 +10,7 @@ GraphingWindow::GraphingWindow(const QVector<CANFrame> *frames, QWidget *parent)
|
|||||||
ui(new Ui::GraphingWindow)
|
ui(new Ui::GraphingWindow)
|
||||||
{
|
{
|
||||||
ui->setupUi(this);
|
ui->setupUi(this);
|
||||||
|
setWindowFlags(Qt::Window);
|
||||||
|
|
||||||
readSettings();
|
readSettings();
|
||||||
|
|
||||||
|
|||||||
@@ -8,6 +8,7 @@ ISOTP_InterpreterWindow::ISOTP_InterpreterWindow(const QVector<CANFrame> *frames
|
|||||||
ui(new Ui::ISOTP_InterpreterWindow)
|
ui(new Ui::ISOTP_InterpreterWindow)
|
||||||
{
|
{
|
||||||
ui->setupUi(this);
|
ui->setupUi(this);
|
||||||
|
setWindowFlags(Qt::Window);
|
||||||
modelFrames = frames;
|
modelFrames = frames;
|
||||||
|
|
||||||
decoder = new ISOTP_HANDLER;
|
decoder = new ISOTP_HANDLER;
|
||||||
|
|||||||
@@ -9,6 +9,7 @@ RangeStateWindow::RangeStateWindow(const QVector<CANFrame> *frames, QWidget *par
|
|||||||
ui(new Ui::RangeStateWindow)
|
ui(new Ui::RangeStateWindow)
|
||||||
{
|
{
|
||||||
ui->setupUi(this);
|
ui->setupUi(this);
|
||||||
|
setWindowFlags(Qt::Window);
|
||||||
|
|
||||||
modelFrames = frames;
|
modelFrames = frames;
|
||||||
|
|
||||||
|
|||||||
@@ -13,6 +13,7 @@ SnifferWindow::SnifferWindow(QWidget *parent) :
|
|||||||
mFilter(false)
|
mFilter(false)
|
||||||
{
|
{
|
||||||
ui->setupUi(this);
|
ui->setupUi(this);
|
||||||
|
setWindowFlags(Qt::Window);
|
||||||
ui->treeView->setModel(&mModel);
|
ui->treeView->setModel(&mModel);
|
||||||
|
|
||||||
/* set column width */
|
/* set column width */
|
||||||
|
|||||||
@@ -11,6 +11,7 @@ UDSScanWindow::UDSScanWindow(const QVector<CANFrame> *frames, QWidget *parent) :
|
|||||||
ui(new Ui::UDSScanWindow)
|
ui(new Ui::UDSScanWindow)
|
||||||
{
|
{
|
||||||
ui->setupUi(this);
|
ui->setupUi(this);
|
||||||
|
setWindowFlags(Qt::Window);
|
||||||
|
|
||||||
modelFrames = frames;
|
modelFrames = frames;
|
||||||
|
|
||||||
|
|||||||
@@ -13,6 +13,7 @@ ScriptingWindow::ScriptingWindow(const QVector<CANFrame> *frames, QWidget *paren
|
|||||||
ui(new Ui::ScriptingWindow)
|
ui(new Ui::ScriptingWindow)
|
||||||
{
|
{
|
||||||
ui->setupUi(this);
|
ui->setupUi(this);
|
||||||
|
setWindowFlags(Qt::Window);
|
||||||
|
|
||||||
editor = new JSEdit();
|
editor = new JSEdit();
|
||||||
editor->setFrameShape(JSEdit::NoFrame);
|
editor->setFrameShape(JSEdit::NoFrame);
|
||||||
|
|||||||
@@ -7,6 +7,7 @@ SignalViewerWindow::SignalViewerWindow(QWidget *parent) :
|
|||||||
ui(new Ui::SignalViewerWindow)
|
ui(new Ui::SignalViewerWindow)
|
||||||
{
|
{
|
||||||
ui->setupUi(this);
|
ui->setupUi(this);
|
||||||
|
setWindowFlags(Qt::Window);
|
||||||
|
|
||||||
QStringList headers;
|
QStringList headers;
|
||||||
headers << "Signal" << "Value";
|
headers << "Signal" << "Value";
|
||||||
|
|||||||
Reference in New Issue
Block a user