summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorisanae <14251494+isanae@users.noreply.github.com>2019-10-31 05:58:41 -0400
committerisanae <14251494+isanae@users.noreply.github.com>2019-11-06 07:45:01 -0500
commit72dd230cdc60e74446caceb5cfb4c6d32e4f6f68 (patch)
tree00544a8dccc5b6862eeab41aff652855fa48befa
parent719a2f20b4bb6b722097b63df8468d073d67e65f (diff)
removed unused files
fixed handle leak when starting steam
-rw-r--r--src/CMakeLists.txt17
-rw-r--r--src/ilockedwaitingforprocess.h14
-rw-r--r--src/iuserinterface.h1
-rw-r--r--src/lockeddialog.cpp71
-rw-r--r--src/lockeddialog.h57
-rw-r--r--src/lockeddialog.ui98
-rw-r--r--src/lockeddialogbase.cpp78
-rw-r--r--src/lockeddialogbase.h64
-rw-r--r--src/mainwindow.cpp1
-rw-r--r--src/organizercore.cpp1
-rw-r--r--src/spawn.cpp3
-rw-r--r--src/spawn.h2
-rw-r--r--src/waitingonclosedialog.cpp71
-rw-r--r--src/waitingonclosedialog.h56
-rw-r--r--src/waitingonclosedialog.ui119
15 files changed, 2 insertions, 651 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 168b79dc..06f2cd1e 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -82,9 +82,6 @@ SET(organizer_SRCS
main.cpp
loghighlighter.cpp
loglist.cpp
- lockeddialogbase.cpp
- lockeddialog.cpp
- waitingonclosedialog.cpp
loadmechanism.cpp
installationmanager.cpp
filedialogmemory.cpp
@@ -206,9 +203,6 @@ SET(organizer_HDRS
mainwindow.h
loghighlighter.h
loglist.h
- lockeddialogbase.h
- lockeddialog.h
- waitingonclosedialog.h
loadmechanism.h
installationmanager.h
filedialogmemory.h
@@ -246,7 +240,6 @@ SET(organizer_HDRS
viewmarkingscrollbar.h
plugincontainer.h
organizercore.h
- ilockedwaitingforprocess.h
iuserinterface.h
instancemanager.h
usvfsconnector.h
@@ -293,8 +286,6 @@ SET(organizer_UIS
modinfodialog.ui
messagedialog.ui
mainwindow.ui
- lockeddialog.ui
- waitingonclosedialog.ui
editexecutablesdialog.ui
credentialsdialog.ui
categoriesdialog.ui
@@ -397,12 +388,6 @@ set(executables
editexecutablesdialog
)
-set(locking
- ilockedwaitingforprocess
- lockeddialog
- lockeddialogbase
-)
-
set(modinfo
modinfo
modinfobackup
@@ -500,7 +485,7 @@ set(widgets
)
set(src_filters
- application core browser dialogs downloads env executables locking modinfo
+ application core browser dialogs downloads env executables modinfo
modinfo\\dialog modlist plugins previews profiles settings settingsdialog
utilities widgets
)
diff --git a/src/ilockedwaitingforprocess.h b/src/ilockedwaitingforprocess.h
deleted file mode 100644
index 4d1e786f..00000000
--- a/src/ilockedwaitingforprocess.h
+++ /dev/null
@@ -1,14 +0,0 @@
-#ifndef ILOCKEDWAITINGFORPROCESS_H
-#define ILOCKEDWAITINGFORPROCESS_H
-
-class QString;
-
-class ILockedWaitingForProcess
-{
-public:
- virtual bool unlockForced() const = 0;
- virtual void setProcessName(QString const &) = 0;
- virtual void setProcessInformation(DWORD pid, const QString& name) = 0;
-};
-
-#endif // ILOCKEDWAITINGFORPROCESS_H
diff --git a/src/iuserinterface.h b/src/iuserinterface.h
index e5755f03..99caceb1 100644
--- a/src/iuserinterface.h
+++ b/src/iuserinterface.h
@@ -3,7 +3,6 @@
#include "modinfodialogfwd.h"
-#include "ilockedwaitingforprocess.h"
#include "lockwidget.h"
#include <iplugintool.h>
#include <ipluginmodpage.h>
diff --git a/src/lockeddialog.cpp b/src/lockeddialog.cpp
deleted file mode 100644
index 143d5838..00000000
--- a/src/lockeddialog.cpp
+++ /dev/null
@@ -1,71 +0,0 @@
-/*
-Copyright (C) 2012 Sebastian Herbord. All rights reserved.
-
-This file is part of Mod Organizer.
-
-Mod Organizer is free software: you can redistribute it and/or modify
-it under the terms of the GNU General Public License as published by
-the Free Software Foundation, either version 3 of the License, or
-(at your option) any later version.
-
-Mod Organizer is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU General Public License for more details.
-
-You should have received a copy of the GNU General Public License
-along with Mod Organizer. If not, see <http://www.gnu.org/licenses/>.
-*/
-
-#include "lockeddialog.h"
-#include "ui_lockeddialog.h"
-
-#include <QPoint>
-#include <QResizeEvent>
-#include <QWidget>
-#include <Qt> // for Qt::FramelessWindowHint, etc
-
-LockedDialog::LockedDialog(QWidget *parent, bool unlockByButton)
- : LockedDialogBase(parent, !unlockByButton)
- , ui(new Ui::LockedDialog)
-{
- ui->setupUi(this);
-
- // Supposedly the Qt::CustomizeWindowHint should use a customized window
- // allowing us to select if there is a close button. In practice this doesn't
- // seem to work. We will ignore pressing the close button if unlockByButton == true
- Qt::WindowFlags flags =
- this->windowFlags() | Qt::CustomizeWindowHint | Qt::WindowTitleHint | Qt::WindowMinimizeButtonHint;
- if (m_allowClose)
- flags |= Qt::WindowCloseButtonHint;
- this->setWindowFlags(flags);
-
- if (!unlockByButton)
- {
- ui->unlockButton->hide();
- ui->verticalLayout->addItem(
- new QSpacerItem(20, 40, QSizePolicy::Minimum, QSizePolicy::Expanding));
- }
-}
-
-LockedDialog::~LockedDialog()
-{
- delete ui;
-}
-
-
-void LockedDialog::setProcessName(const QString &name)
-{
- ui->processLabel->setText(name);
-}
-
-void LockedDialog::on_unlockButton_clicked()
-{
- unlock();
-}
-
-void LockedDialog::unlock() {
- LockedDialogBase::unlock();
- ui->label->setText("unlocking may take a few seconds");
- ui->unlockButton->setEnabled(false);
-}
diff --git a/src/lockeddialog.h b/src/lockeddialog.h
deleted file mode 100644
index 36c16429..00000000
--- a/src/lockeddialog.h
+++ /dev/null
@@ -1,57 +0,0 @@
-/*
-Copyright (C) 2012 Sebastian Herbord. All rights reserved.
-
-This file is part of Mod Organizer.
-
-Mod Organizer is free software: you can redistribute it and/or modify
-it under the terms of the GNU General Public License as published by
-the Free Software Foundation, either version 3 of the License, or
-(at your option) any later version.
-
-Mod Organizer is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU General Public License for more details.
-
-You should have received a copy of the GNU General Public License
-along with Mod Organizer. If not, see <http://www.gnu.org/licenses/>.
-*/
-
-#pragma once
-
-#include "lockeddialogbase.h"
-
-namespace Ui {
- class LockedDialog;
-}
-
-/**
- * a small borderless dialog displayed while the Mod Organizer UI is locked
- * The dialog contains only a label and a button to force the UI to be unlocked
- *
- * The UI gets locked while running external applications since they may modify the
- * data on which Mod Organizer works. After the UI is unlocked (manually or after the
- * external application closed) MO will refresh all of its data sources
- **/
-class LockedDialog : public LockedDialogBase
-{
- Q_OBJECT
-
-public:
- explicit LockedDialog(QWidget *parent = 0, bool unlockByButton = false);
- ~LockedDialog();
-
- void setProcessName(const QString &name) override;
-
-protected:
-
- void unlock() override;
-
-private slots:
-
- void on_unlockButton_clicked();
-
-private:
-
- Ui::LockedDialog *ui;
-};
diff --git a/src/lockeddialog.ui b/src/lockeddialog.ui
deleted file mode 100644
index 0ec2e467..00000000
--- a/src/lockeddialog.ui
+++ /dev/null
@@ -1,98 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<ui version="4.0">
- <class>LockedDialog</class>
- <widget class="QDialog" name="LockedDialog">
- <property name="geometry">
- <rect>
- <x>0</x>
- <y>0</y>
- <width>317</width>
- <height>151</height>
- </rect>
- </property>
- <property name="windowTitle">
- <string>Running virtualized processes</string>
- </property>
- <layout class="QVBoxLayout" name="verticalLayout" stretch="1,0,0">
- <item>
- <widget class="QLabel" name="label">
- <property name="toolTip">
- <string>This dialog should disappear automatically if the application/game is done. Click unlock if it didn't.</string>
- </property>
- <property name="text">
- <string>MO is locked while the executable is running.</string>
- </property>
- <property name="alignment">
- <set>Qt::AlignCenter</set>
- </property>
- <property name="wordWrap">
- <bool>true</bool>
- </property>
- </widget>
- </item>
- <item>
- <spacer name="verticalSpacer1">
- <property name="orientation">
- <enum>Qt::Vertical</enum>
- </property>
- <property name="sizeHint" stdset="0">
- <size>
- <height>10</height>
- </size>
- </property>
- </spacer>
- </item>
- <item>
- <widget class="QLabel" name="processLabel">
- <property name="font">
- <font>
- <italic>true</italic>
- </font>
- </property>
- <property name="styleSheet">
- <string notr="true">color: grey;</string>
- </property>
- <property name="text">
- <string/>
- </property>
- <property name="alignment">
- <set>Qt::AlignCenter</set>
- </property>
- </widget>
- </item>
- <item>
- <spacer name="verticalSpacer2">
- <property name="orientation">
- <enum>Qt::Vertical</enum>
- </property>
- <property name="sizeHint" stdset="0">
- <size>
- <height>10</height>
- </size>
- </property>
- </spacer>
- </item>
- <item>
- <widget class="QPushButton" name="unlockButton">
- <property name="text">
- <string>Unlock</string>
- </property>
- </widget>
- </item>
- <item>
- <spacer name="verticalSpacer3">
- <property name="orientation">
- <enum>Qt::Vertical</enum>
- </property>
- <property name="sizeHint" stdset="0">
- <size>
- <height>10</height>
- </size>
- </property>
- </spacer>
- </item>
- </layout>
- </widget>
- <resources/>
- <connections/>
-</ui>
diff --git a/src/lockeddialogbase.cpp b/src/lockeddialogbase.cpp
deleted file mode 100644
index 0876a511..00000000
--- a/src/lockeddialogbase.cpp
+++ /dev/null
@@ -1,78 +0,0 @@
-/*
-Copyright (C) 2012 Sebastian Herbord. All rights reserved.
-
-This file is part of Mod Organizer.
-
-Mod Organizer is free software: you can redistribute it and/or modify
-it under the terms of the GNU General Public License as published by
-the Free Software Foundation, either version 3 of the License, or
-(at your option) any later version.
-
-Mod Organizer is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU General Public License for more details.
-
-You should have received a copy of the GNU General Public License
-along with Mod Organizer. If not, see <http://www.gnu.org/licenses/>.
-*/
-
-#include "lockeddialogbase.h"
-#include "envmodule.h"
-#include <QPoint>
-#include <QResizeEvent>
-#include <QWidget>
-#include <Qt> // for Qt::FramelessWindowHint, etc
-
-LockedDialogBase::LockedDialogBase(QWidget *parent, bool allowClose)
- : QDialog(parent)
- , m_Unlocked(false)
- , m_Canceled(false)
- , m_allowClose(allowClose)
-{
- if (parent != nullptr) {
- QPoint position = parent->mapToGlobal(QPoint(parent->width() / 2, parent->height() / 2));
- position.rx() -= this->width() / 2;
- position.ry() -= this->height() / 2;
- move(position);
- }
-}
-
-void LockedDialogBase::resizeEvent(QResizeEvent *event)
-{
- QWidget *par = parentWidget();
- if (par != nullptr) {
- QPoint position = par->mapToGlobal(QPoint(par->width() / 2, par->height() / 2));
- position.rx() -= event->size().width() / 2;
- position.ry() -= event->size().height() / 2;
- move(position);
- }
-}
-
-void LockedDialogBase::reject()
-{
- if (m_allowClose)
- unlock();
-}
-
-bool LockedDialogBase::unlockForced() const {
- return m_Unlocked;
-}
-
-bool LockedDialogBase::canceled() const {
- return m_Canceled;
-}
-
-void LockedDialogBase::setProcessInformation(DWORD pid, const QString& name)
-{
- setProcessName(QString("%1 (%2)").arg(name).arg(pid));
-}
-
-void LockedDialogBase::unlock() {
- m_Unlocked = true;
-}
-
-void LockedDialogBase::cancel() {
- m_Canceled = true;
-}
-
diff --git a/src/lockeddialogbase.h b/src/lockeddialogbase.h
deleted file mode 100644
index 4ebad4c7..00000000
--- a/src/lockeddialogbase.h
+++ /dev/null
@@ -1,64 +0,0 @@
-/*
-Copyright (C) 2012 Sebastian Herbord. All rights reserved.
-
-This file is part of Mod Organizer.
-
-Mod Organizer is free software: you can redistribute it and/or modify
-it under the terms of the GNU General Public License as published by
-the Free Software Foundation, either version 3 of the License, or
-(at your option) any later version.
-
-Mod Organizer is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU General Public License for more details.
-
-You should have received a copy of the GNU General Public License
-along with Mod Organizer. If not, see <http://www.gnu.org/licenses/>.
-*/
-
-#pragma once
-
-#include "ilockedwaitingforprocess.h"
-#include <QDialog> // for QDialog
-#include <QObject> // for Q_OBJECT, slots
-#include <QString> // for QString
-
-class QResizeEvent;
-class QWidget;
-
-/**
- * a small borderless dialog displayed while the Mod Organizer UI is locked
- * The dialog contains only a label and a button to force the UI to be unlocked
- *
- * The UI gets locked while running external applications since they may modify the
- * data on which Mod Organizer works. After the UI is unlocked (manually or after the
- * external application closed) MO will refresh all of its data sources
- **/
-class LockedDialogBase : public QDialog, public ILockedWaitingForProcess
-{
- Q_OBJECT
-
-public:
- explicit LockedDialogBase(QWidget *parent, bool allowClose);
-
- bool unlockForced() const override;
-
- virtual bool canceled() const;
-
- void setProcessInformation(DWORD pid, const QString& name) override;
-
-protected:
-
- virtual void resizeEvent(QResizeEvent *event);
-
- virtual void reject();
-
- virtual void unlock();
-
- virtual void cancel();
-
- bool m_Unlocked;
- bool m_Canceled;
- bool m_allowClose;
-};
diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp
index 631a31d8..9453f07c 100644
--- a/src/mainwindow.cpp
+++ b/src/mainwindow.cpp
@@ -57,7 +57,6 @@ along with Mod Organizer. If not, see <http://www.gnu.org/licenses/>.
#include "downloadlistwidget.h"
#include "messagedialog.h"
#include "installationmanager.h"
-#include "waitingonclosedialog.h"
#include "downloadlistsortproxy.h"
#include "motddialog.h"
#include "filedialogmemory.h"
diff --git a/src/organizercore.cpp b/src/organizercore.cpp
index 3c535868..dda60f76 100644
--- a/src/organizercore.cpp
+++ b/src/organizercore.cpp
@@ -29,7 +29,6 @@
#include "appconfig.h"
#include <report.h>
#include <questionboxmemory.h>
-#include "lockeddialog.h"
#include "instancemanager.h"
#include <scriptextender.h>
#include "previewdialog.h"
diff --git a/src/spawn.cpp b/src/spawn.cpp
index b331db01..62745542 100644
--- a/src/spawn.cpp
+++ b/src/spawn.cpp
@@ -27,8 +27,6 @@ along with Mod Organizer. If not, see <http://www.gnu.org/licenses/>.
#include "envmodule.h"
#include "settings.h"
#include "settingsdialogworkarounds.h"
-#include <iplugingame.h>
-#include <ilockedwaitingforprocess.h>
#include <errorcodes.h>
#include <report.h>
#include <log.h>
@@ -645,6 +643,7 @@ bool startSteam(QWidget* parent)
HANDLE ph = INVALID_HANDLE_VALUE;
const auto e = spawn(sp, ph);
+ ::CloseHandle(ph);
if (e != ERROR_SUCCESS) {
// make sure username and passwords are not shown
diff --git a/src/spawn.h b/src/spawn.h
index 0464ffd6..9fb346b0 100644
--- a/src/spawn.h
+++ b/src/spawn.h
@@ -28,8 +28,6 @@ along with Mod Organizer. If not, see <http://www.gnu.org/licenses/>.
class Settings;
-namespace MOBase { class IPluginGame; }
-
namespace spawn
{
diff --git a/src/waitingonclosedialog.cpp b/src/waitingonclosedialog.cpp
deleted file mode 100644
index 565d0a36..00000000
--- a/src/waitingonclosedialog.cpp
+++ /dev/null
@@ -1,71 +0,0 @@
-/*
-Copyright (C) 2012 Sebastian Herbord. All rights reserved.
-
-This file is part of Mod Organizer.
-
-Mod Organizer is free software: you can redistribute it and/or modify
-it under the terms of the GNU General Public License as published by
-the Free Software Foundation, either version 3 of the License, or
-(at your option) any later version.
-
-Mod Organizer is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU General Public License for more details.
-
-You should have received a copy of the GNU General Public License
-along with Mod Organizer. If not, see <http://www.gnu.org/licenses/>.
-*/
-
-#include "waitingonclosedialog.h"
-#include "ui_waitingonclosedialog.h"
-
-#include <QPoint>
-#include <QResizeEvent>
-#include <QWidget>
-#include <Qt> // for Qt::FramelessWindowHint, etc
-
-WaitingOnCloseDialog::WaitingOnCloseDialog(QWidget *parent)
- : LockedDialogBase(parent,true)
- , ui(new Ui::WaitingOnCloseDialog)
-{
- ui->setupUi(this);
-
- // Supposedly the Qt::CustomizeWindowHint should use a customized window
- // allowing us to select if there is a close button. In practice this doesn't
- // seem to work. We will ignore pressing the close button if unlockByButton == true
- Qt::WindowFlags flags =
- this->windowFlags() | Qt::CustomizeWindowHint | Qt::WindowTitleHint | Qt::WindowMinimizeButtonHint;
- if (m_allowClose)
- flags |= Qt::WindowCloseButtonHint;
- this->setWindowFlags(flags);
-}
-
-WaitingOnCloseDialog::~WaitingOnCloseDialog()
-{
- delete ui;
-}
-
-
-void WaitingOnCloseDialog::setProcessName(const QString &name)
-{
- ui->processLabel->setText(name);
-}
-
-void WaitingOnCloseDialog::on_closeButton_clicked()
-{
- unlock();
-}
-
-void WaitingOnCloseDialog::on_cancelButton_clicked()
-{
- cancel();
- unlock();
-}
-
-void WaitingOnCloseDialog::unlock() {
- LockedDialogBase::unlock();
- ui->label->setText("unlocking may take a few seconds");
- ui->closeButton->setEnabled(false);
- ui->cancelButton->setEnabled(false);
-}
diff --git a/src/waitingonclosedialog.h b/src/waitingonclosedialog.h
deleted file mode 100644
index 6650c390..00000000
--- a/src/waitingonclosedialog.h
+++ /dev/null
@@ -1,56 +0,0 @@
-/*
-Copyright (C) 2012 Sebastian Herbord. All rights reserved.
-
-This file is part of Mod Organizer.
-
-Mod Organizer is free software: you can redistribute it and/or modify
-it under the terms of the GNU General Public License as published by
-the Free Software Foundation, either version 3 of the License, or
-(at your option) any later version.
-
-Mod Organizer is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU General Public License for more details.
-
-You should have received a copy of the GNU General Public License
-along with Mod Organizer. If not, see <http://www.gnu.org/licenses/>.
-*/
-
-#pragma once
-
-#include "lockeddialogbase.h"
-
-namespace Ui {
- class WaitingOnCloseDialog;
-}
-
-/**
- * Similar to the LockedDialog but used for waiting on running process during
- * a process close request which requries a slightly different dialog.
- **/
-class WaitingOnCloseDialog : public LockedDialogBase
-{
- Q_OBJECT
-
-public:
- explicit WaitingOnCloseDialog(QWidget *parent = 0);
- ~WaitingOnCloseDialog();
-
- bool canceled() const { return m_Canceled; }
-
- void setProcessName(const QString &name) override;
-
-protected:
-
- void unlock() override;
-
-private slots:
-
- void on_closeButton_clicked();
- void on_cancelButton_clicked();
-
-private:
-
- Ui::WaitingOnCloseDialog *ui;
-};
diff --git a/src/waitingonclosedialog.ui b/src/waitingonclosedialog.ui
deleted file mode 100644
index 9c7818e0..00000000
--- a/src/waitingonclosedialog.ui
+++ /dev/null
@@ -1,119 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<ui version="4.0">
- <class>WaitingOnCloseDialog</class>
- <widget class="QDialog" name="WaitingOnCloseDialog">
- <property name="geometry">
- <rect>
- <x>0</x>
- <y>0</y>
- <width>317</width>
- <height>151</height>
- </rect>
- </property>
- <property name="windowTitle">
- <string>Waiting for virtualized processes</string>
- </property>
- <layout class="QVBoxLayout" name="verticalLayout" stretch="1,0,0">
- <item>
- <widget class="QLabel" name="label">
- <property name="toolTip">
- <string>This dialog should disappear automatically if the application/game is done.</string>
- </property>
- <property name="text">
- <string>Virtualized processes are still running, it is prefered to keep MO running until they are finished.</string>
- </property>
- <property name="wordWrap">
- <bool>true</bool>
- </property>
- </widget>
- </item>
- <item>
- <spacer name="verticalSpacer1">
- <property name="orientation">
- <enum>Qt::Vertical</enum>
- </property>
- <property name="sizeHint" stdset="0">
- <size>
- <height>10</height>
- </size>
- </property>
- </spacer>
- </item>
- <item>
- <widget class="QLabel" name="processLabel">
- <property name="font">
- <font>
- <italic>true</italic>
- </font>
- </property>
- <property name="styleSheet">
- <string notr="true">color: grey;</string>
- </property>
- <property name="text">
- <string/>
- </property>
- <property name="alignment">
- <set>Qt::AlignCenter</set>
- </property>
- </widget>
- </item>
- <item>
- <spacer name="verticalSpacer2">
- <property name="orientation">
- <enum>Qt::Vertical</enum>
- </property>
- <property name="sizeHint" stdset="0">
- <size>
- <height>10</height>
- </size>
- </property>
- </spacer>
- </item>
- <item>
- <layout class="QHBoxLayout" name="horizontalLayout" stretch="1,0,0">
- <item>
- <widget class="QPushButton" name="closeButton">
- <property name="text">
- <string>Close Now</string>
- </property>
- </widget>
- </item>
- <item>
- <spacer name="horizontalSpacer_6">
- <property name="orientation">
- <enum>Qt::Horizontal</enum>
- </property>
- <property name="sizeHint" stdset="0">
- <size>
- <width>40</width>
- <height>20</height>
- </size>
- </property>
- </spacer>
- </item>
- <item>
- <widget class="QPushButton" name="cancelButton">
- <property name="text">
- <string>Cancel</string>
- </property>
- </widget>
- </item>
- </layout>
- </item>
- <item>
- <spacer name="verticalSpacer3">
- <property name="orientation">
- <enum>Qt::Vertical</enum>
- </property>
- <property name="sizeHint" stdset="0">
- <size>
- <height>10</height>
- </size>
- </property>
- </spacer>
- </item>
- </layout>
- </widget>
- <resources/>
- <connections/>
-</ui>