2014-02-20 11:39:23 +00:00
|
|
|
/*
|
2020-08-02 22:22:19 +00:00
|
|
|
SPDX-FileCopyrightText: 2014 Martin Gräßlin <mgraesslin@kde.org>
|
|
|
|
|
|
|
|
SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL
|
2014-02-20 11:39:23 +00:00
|
|
|
*/
|
2022-01-13 13:54:03 +00:00
|
|
|
#include "utils/xcbutils.h"
|
2021-02-09 18:18:36 +00:00
|
|
|
|
2014-02-20 11:39:23 +00:00
|
|
|
#include <QApplication>
|
2022-03-23 10:13:38 +00:00
|
|
|
#include <QCheckBox>
|
2014-02-20 11:39:23 +00:00
|
|
|
#include <QHBoxLayout>
|
|
|
|
#include <QMenu>
|
2016-10-17 09:17:48 +00:00
|
|
|
#include <QPlatformSurfaceEvent>
|
2014-02-20 11:39:23 +00:00
|
|
|
#include <QPushButton>
|
|
|
|
#include <QScreen>
|
|
|
|
#include <QTimer>
|
|
|
|
#include <QToolButton>
|
|
|
|
#include <QWidget>
|
2022-03-23 10:13:38 +00:00
|
|
|
#include <QWindow>
|
2022-03-09 16:25:44 +00:00
|
|
|
#include <private/qtx11extras_p.h>
|
2014-02-20 11:39:23 +00:00
|
|
|
|
2016-10-17 09:17:48 +00:00
|
|
|
#include <KWindowSystem>
|
|
|
|
|
|
|
|
#include <KWayland/Client/connection_thread.h>
|
|
|
|
#include <KWayland/Client/plasmashell.h>
|
2022-03-23 10:13:38 +00:00
|
|
|
#include <KWayland/Client/registry.h>
|
2016-10-17 09:17:48 +00:00
|
|
|
#include <KWayland/Client/surface.h>
|
|
|
|
|
|
|
|
class ScreenEdgeHelper : public QObject
|
|
|
|
{
|
|
|
|
Q_OBJECT
|
|
|
|
protected:
|
|
|
|
ScreenEdgeHelper(QWidget *widget, QObject *parent = nullptr);
|
|
|
|
|
2022-03-23 10:13:38 +00:00
|
|
|
QWindow *window() const
|
|
|
|
{
|
2016-10-17 09:17:48 +00:00
|
|
|
return m_widget->windowHandle();
|
|
|
|
}
|
|
|
|
|
|
|
|
virtual void restore() = 0;
|
|
|
|
|
|
|
|
public:
|
Run clang-tidy with modernize-use-override check
Summary:
Currently code base of kwin can be viewed as two pieces. One is very
ancient, and the other one is more modern, which uses new C++ features.
The main problem with the ancient code is that it was written before
C++11 era. So, no override or final keywords, lambdas, etc.
Quite recently, KDE compiler settings were changed to show a warning if
a virtual method has missing override keyword. As you might have already
guessed, this fired back at us because of that ancient code. We had
about 500 new compiler warnings.
A "solution" was proposed to that problem - disable -Wno-suggest-override
and the other similar warning for clang. It's hard to call a solution
because those warnings are disabled not only for the old code, but also
for new. This is not what we want!
The main argument for not actually fixing the problem was that git
history will be screwed as well because of human factor. While good git
history is a very important thing, we should not go crazy about it and
block every change that somehow alters git history. git blame allows to
specify starting revision for a reason.
The other argument (human factor) can be easily solved by using tools
such as clang-tidy. clang-tidy is a clang-based linter for C++. It can
be used for various things, e.g. fixing coding style(e.g. add missing
braces to if statements, readability-braces-around-statements check),
or in our case add missing override keywords.
Test Plan: Compiles.
Reviewers: #kwin, davidedmundson
Reviewed By: #kwin, davidedmundson
Subscribers: davidedmundson, apol, romangg, kwin
Tags: #kwin
Differential Revision: https://phabricator.kde.org/D22371
2019-07-22 16:52:26 +00:00
|
|
|
~ScreenEdgeHelper() override;
|
2016-10-17 09:17:48 +00:00
|
|
|
|
|
|
|
virtual void hide() = 0;
|
|
|
|
virtual void raiseOrShow(bool raise) = 0;
|
2022-03-23 10:13:38 +00:00
|
|
|
virtual void init(){};
|
2016-10-17 09:17:48 +00:00
|
|
|
|
|
|
|
virtual void moveToTop();
|
|
|
|
virtual void moveToRight();
|
|
|
|
virtual void moveToBottom();
|
|
|
|
virtual void moveToLeft();
|
|
|
|
virtual void moveToFloating();
|
|
|
|
|
2022-03-23 10:13:38 +00:00
|
|
|
void hideAndRestore()
|
|
|
|
{
|
2016-10-17 09:17:48 +00:00
|
|
|
hide();
|
|
|
|
m_timer->start(10000);
|
|
|
|
}
|
|
|
|
|
|
|
|
private:
|
|
|
|
QWidget *m_widget;
|
|
|
|
QTimer *m_timer;
|
|
|
|
};
|
|
|
|
|
|
|
|
class ScreenEdgeHelperX11 : public ScreenEdgeHelper
|
|
|
|
{
|
|
|
|
Q_OBJECT
|
|
|
|
public:
|
|
|
|
ScreenEdgeHelperX11(QWidget *widget, QObject *parent = nullptr);
|
Run clang-tidy with modernize-use-override check
Summary:
Currently code base of kwin can be viewed as two pieces. One is very
ancient, and the other one is more modern, which uses new C++ features.
The main problem with the ancient code is that it was written before
C++11 era. So, no override or final keywords, lambdas, etc.
Quite recently, KDE compiler settings were changed to show a warning if
a virtual method has missing override keyword. As you might have already
guessed, this fired back at us because of that ancient code. We had
about 500 new compiler warnings.
A "solution" was proposed to that problem - disable -Wno-suggest-override
and the other similar warning for clang. It's hard to call a solution
because those warnings are disabled not only for the old code, but also
for new. This is not what we want!
The main argument for not actually fixing the problem was that git
history will be screwed as well because of human factor. While good git
history is a very important thing, we should not go crazy about it and
block every change that somehow alters git history. git blame allows to
specify starting revision for a reason.
The other argument (human factor) can be easily solved by using tools
such as clang-tidy. clang-tidy is a clang-based linter for C++. It can
be used for various things, e.g. fixing coding style(e.g. add missing
braces to if statements, readability-braces-around-statements check),
or in our case add missing override keywords.
Test Plan: Compiles.
Reviewers: #kwin, davidedmundson
Reviewed By: #kwin, davidedmundson
Subscribers: davidedmundson, apol, romangg, kwin
Tags: #kwin
Differential Revision: https://phabricator.kde.org/D22371
2019-07-22 16:52:26 +00:00
|
|
|
~ScreenEdgeHelperX11() override = default;
|
2016-10-17 09:17:48 +00:00
|
|
|
|
|
|
|
void hide() override;
|
|
|
|
void raiseOrShow(bool raise) override;
|
|
|
|
|
|
|
|
void moveToTop() override;
|
|
|
|
void moveToRight() override;
|
|
|
|
void moveToBottom() override;
|
|
|
|
void moveToLeft() override;
|
|
|
|
void moveToFloating() override;
|
|
|
|
|
|
|
|
protected:
|
|
|
|
void restore() override;
|
|
|
|
|
|
|
|
private:
|
|
|
|
uint32_t m_locationValue = 2;
|
|
|
|
uint32_t m_actionValue = 0;
|
|
|
|
KWin::Xcb::Atom m_atom;
|
|
|
|
};
|
|
|
|
|
|
|
|
class ScreenEdgeHelperWayland : public ScreenEdgeHelper
|
|
|
|
{
|
|
|
|
Q_OBJECT
|
|
|
|
public:
|
|
|
|
ScreenEdgeHelperWayland(QWidget *widget, QObject *parent = nullptr);
|
Run clang-tidy with modernize-use-override check
Summary:
Currently code base of kwin can be viewed as two pieces. One is very
ancient, and the other one is more modern, which uses new C++ features.
The main problem with the ancient code is that it was written before
C++11 era. So, no override or final keywords, lambdas, etc.
Quite recently, KDE compiler settings were changed to show a warning if
a virtual method has missing override keyword. As you might have already
guessed, this fired back at us because of that ancient code. We had
about 500 new compiler warnings.
A "solution" was proposed to that problem - disable -Wno-suggest-override
and the other similar warning for clang. It's hard to call a solution
because those warnings are disabled not only for the old code, but also
for new. This is not what we want!
The main argument for not actually fixing the problem was that git
history will be screwed as well because of human factor. While good git
history is a very important thing, we should not go crazy about it and
block every change that somehow alters git history. git blame allows to
specify starting revision for a reason.
The other argument (human factor) can be easily solved by using tools
such as clang-tidy. clang-tidy is a clang-based linter for C++. It can
be used for various things, e.g. fixing coding style(e.g. add missing
braces to if statements, readability-braces-around-statements check),
or in our case add missing override keywords.
Test Plan: Compiles.
Reviewers: #kwin, davidedmundson
Reviewed By: #kwin, davidedmundson
Subscribers: davidedmundson, apol, romangg, kwin
Tags: #kwin
Differential Revision: https://phabricator.kde.org/D22371
2019-07-22 16:52:26 +00:00
|
|
|
~ScreenEdgeHelperWayland() override = default;
|
2016-10-17 09:17:48 +00:00
|
|
|
|
|
|
|
void hide() override;
|
|
|
|
void raiseOrShow(bool raise) override;
|
|
|
|
void init() override;
|
|
|
|
|
2022-03-23 10:13:38 +00:00
|
|
|
bool eventFilter(QObject *watched, QEvent *event) override;
|
2016-10-17 09:17:48 +00:00
|
|
|
|
|
|
|
protected:
|
|
|
|
void restore() override;
|
|
|
|
|
|
|
|
private:
|
|
|
|
void setupSurface();
|
|
|
|
KWayland::Client::PlasmaShell *m_shell = nullptr;
|
|
|
|
KWayland::Client::PlasmaShellSurface *m_shellSurface = nullptr;
|
|
|
|
bool m_autoHide = true;
|
|
|
|
};
|
|
|
|
|
|
|
|
ScreenEdgeHelper::ScreenEdgeHelper(QWidget *widget, QObject *parent)
|
|
|
|
: QObject(parent)
|
|
|
|
, m_widget(widget)
|
|
|
|
, m_timer(new QTimer(this))
|
|
|
|
{
|
|
|
|
m_timer->setSingleShot(true);
|
|
|
|
connect(m_timer, &QTimer::timeout, this, &ScreenEdgeHelper::restore);
|
|
|
|
}
|
|
|
|
|
|
|
|
ScreenEdgeHelper::~ScreenEdgeHelper() = default;
|
|
|
|
|
|
|
|
void ScreenEdgeHelper::moveToTop()
|
|
|
|
{
|
|
|
|
const QRect geo = QGuiApplication::primaryScreen()->geometry();
|
|
|
|
m_widget->setGeometry(geo.x(), geo.y(), geo.width(), 100);
|
|
|
|
}
|
|
|
|
|
|
|
|
void ScreenEdgeHelper::moveToRight()
|
|
|
|
{
|
|
|
|
const QRect geo = QGuiApplication::primaryScreen()->geometry();
|
|
|
|
m_widget->setGeometry(geo.x(), geo.y(), geo.width(), 100);
|
|
|
|
}
|
|
|
|
|
|
|
|
void ScreenEdgeHelper::moveToBottom()
|
|
|
|
{
|
|
|
|
const QRect geo = QGuiApplication::primaryScreen()->geometry();
|
|
|
|
m_widget->setGeometry(geo.x(), geo.y() + geo.height() - 100, geo.width(), 100);
|
|
|
|
}
|
|
|
|
|
|
|
|
void ScreenEdgeHelper::moveToLeft()
|
|
|
|
{
|
|
|
|
const QRect geo = QGuiApplication::primaryScreen()->geometry();
|
|
|
|
m_widget->setGeometry(geo.x(), geo.y(), 100, geo.height());
|
|
|
|
}
|
|
|
|
|
|
|
|
void ScreenEdgeHelper::moveToFloating()
|
|
|
|
{
|
|
|
|
const QRect geo = QGuiApplication::primaryScreen()->geometry();
|
|
|
|
m_widget->setGeometry(QRect(geo.center(), QSize(100, 100)));
|
|
|
|
}
|
|
|
|
|
|
|
|
ScreenEdgeHelperX11::ScreenEdgeHelperX11(QWidget *widget, QObject *parent)
|
|
|
|
: ScreenEdgeHelper(widget, parent)
|
|
|
|
, m_atom(QByteArrayLiteral("_KDE_NET_WM_SCREEN_EDGE_SHOW"))
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
void ScreenEdgeHelperX11::hide()
|
|
|
|
{
|
|
|
|
uint32_t value = m_locationValue | (m_actionValue << 8);
|
|
|
|
xcb_change_property(QX11Info::connection(), XCB_PROP_MODE_REPLACE, window()->winId(), m_atom, XCB_ATOM_CARDINAL, 32, 1, &value);
|
|
|
|
}
|
|
|
|
|
|
|
|
void ScreenEdgeHelperX11::restore()
|
|
|
|
{
|
|
|
|
xcb_delete_property(QX11Info::connection(), window()->winId(), m_atom);
|
|
|
|
}
|
|
|
|
|
|
|
|
void ScreenEdgeHelperX11::raiseOrShow(bool raise)
|
|
|
|
{
|
2022-03-23 10:13:38 +00:00
|
|
|
m_actionValue = raise ? 1 : 0;
|
2016-10-17 09:17:48 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
void ScreenEdgeHelperX11::moveToBottom()
|
|
|
|
{
|
|
|
|
ScreenEdgeHelper::moveToBottom();
|
|
|
|
m_locationValue = 2;
|
|
|
|
}
|
|
|
|
|
|
|
|
void ScreenEdgeHelperX11::moveToFloating()
|
|
|
|
{
|
|
|
|
ScreenEdgeHelper::moveToFloating();
|
|
|
|
m_locationValue = 4;
|
|
|
|
}
|
|
|
|
|
|
|
|
void ScreenEdgeHelperX11::moveToLeft()
|
|
|
|
{
|
|
|
|
ScreenEdgeHelper::moveToLeft();
|
|
|
|
m_locationValue = 3;
|
|
|
|
}
|
|
|
|
|
|
|
|
void ScreenEdgeHelperX11::moveToRight()
|
|
|
|
{
|
|
|
|
ScreenEdgeHelper::moveToRight();
|
|
|
|
m_locationValue = 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
void ScreenEdgeHelperX11::moveToTop()
|
|
|
|
{
|
|
|
|
ScreenEdgeHelper::moveToTop();
|
|
|
|
m_locationValue = 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
using namespace KWayland::Client;
|
|
|
|
|
|
|
|
ScreenEdgeHelperWayland::ScreenEdgeHelperWayland(QWidget *widget, QObject *parent)
|
|
|
|
: ScreenEdgeHelper(widget, parent)
|
|
|
|
{
|
|
|
|
ConnectionThread *connection = ConnectionThread::fromApplication(this);
|
|
|
|
Registry *registry = new Registry(connection);
|
|
|
|
registry->create(connection);
|
|
|
|
|
|
|
|
connect(registry, &Registry::interfacesAnnounced, this,
|
2022-03-23 10:13:38 +00:00
|
|
|
[registry, this] {
|
|
|
|
const auto interface = registry->interface(Registry::Interface::PlasmaShell);
|
|
|
|
if (interface.name == 0) {
|
|
|
|
return;
|
|
|
|
}
|
|
|
|
m_shell = registry->createPlasmaShell(interface.name, interface.version);
|
|
|
|
});
|
2016-10-17 09:17:48 +00:00
|
|
|
|
|
|
|
registry->setup();
|
|
|
|
connection->roundtrip();
|
|
|
|
}
|
|
|
|
|
|
|
|
void ScreenEdgeHelperWayland::init()
|
|
|
|
{
|
|
|
|
window()->installEventFilter(this);
|
|
|
|
setupSurface();
|
|
|
|
}
|
|
|
|
|
|
|
|
void ScreenEdgeHelperWayland::setupSurface()
|
|
|
|
{
|
|
|
|
if (!m_shell) {
|
|
|
|
return;
|
|
|
|
}
|
|
|
|
if (auto s = Surface::fromWindow(window())) {
|
|
|
|
m_shellSurface = m_shell->createSurface(s, window());
|
|
|
|
m_shellSurface->setRole(PlasmaShellSurface::Role::Panel);
|
|
|
|
m_shellSurface->setPanelBehavior(PlasmaShellSurface::PanelBehavior::AutoHide);
|
|
|
|
m_shellSurface->setPosition(window()->position());
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
void ScreenEdgeHelperWayland::hide()
|
|
|
|
{
|
|
|
|
if (m_shellSurface && m_autoHide) {
|
|
|
|
m_shellSurface->requestHideAutoHidingPanel();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
void ScreenEdgeHelperWayland::restore()
|
|
|
|
{
|
|
|
|
if (m_shellSurface && m_autoHide) {
|
|
|
|
m_shellSurface->requestShowAutoHidingPanel();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
void ScreenEdgeHelperWayland::raiseOrShow(bool raise)
|
|
|
|
{
|
|
|
|
m_autoHide = !raise;
|
|
|
|
if (m_shellSurface) {
|
|
|
|
if (raise) {
|
|
|
|
m_shellSurface->setPanelBehavior(PlasmaShellSurface::PanelBehavior::WindowsCanCover);
|
|
|
|
} else {
|
|
|
|
m_shellSurface->setPanelBehavior(PlasmaShellSurface::PanelBehavior::AutoHide);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
bool ScreenEdgeHelperWayland::eventFilter(QObject *watched, QEvent *event)
|
|
|
|
{
|
|
|
|
if (watched != window() || !m_shell) {
|
|
|
|
return false;
|
|
|
|
}
|
|
|
|
if (event->type() == QEvent::PlatformSurface) {
|
2022-03-23 10:13:38 +00:00
|
|
|
QPlatformSurfaceEvent *pe = static_cast<QPlatformSurfaceEvent *>(event);
|
2016-10-17 09:17:48 +00:00
|
|
|
if (pe->surfaceEventType() == QPlatformSurfaceEvent::SurfaceCreated) {
|
|
|
|
setupSurface();
|
|
|
|
} else {
|
|
|
|
delete m_shellSurface;
|
|
|
|
m_shellSurface = nullptr;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if (event->type() == QEvent::Move) {
|
|
|
|
if (m_shellSurface) {
|
|
|
|
m_shellSurface->setPosition(window()->position());
|
|
|
|
}
|
|
|
|
}
|
|
|
|
return false;
|
|
|
|
}
|
|
|
|
|
2014-02-20 11:39:23 +00:00
|
|
|
int main(int argc, char **argv)
|
|
|
|
{
|
|
|
|
QApplication app(argc, argv);
|
|
|
|
QApplication::setApplicationDisplayName(QStringLiteral("Screen Edge Show Test App"));
|
2016-10-17 09:17:48 +00:00
|
|
|
ScreenEdgeHelper *helper = nullptr;
|
2022-08-01 21:29:02 +00:00
|
|
|
std::unique_ptr<QWidget> widget(new QWidget(nullptr, Qt::FramelessWindowHint));
|
2016-10-17 09:17:48 +00:00
|
|
|
if (KWindowSystem::isPlatformX11()) {
|
2022-03-23 10:13:38 +00:00
|
|
|
app.setProperty("x11Connection", QVariant::fromValue<void *>(QX11Info::connection()));
|
2022-08-01 21:29:02 +00:00
|
|
|
helper = new ScreenEdgeHelperX11(widget.get(), &app);
|
2016-10-17 09:17:48 +00:00
|
|
|
} else if (KWindowSystem::isPlatformWayland()) {
|
2022-08-01 21:29:02 +00:00
|
|
|
helper = new ScreenEdgeHelperWayland(widget.get(), &app);
|
2016-10-17 09:17:48 +00:00
|
|
|
}
|
2014-02-20 11:39:23 +00:00
|
|
|
|
2016-10-17 09:17:48 +00:00
|
|
|
if (!helper) {
|
|
|
|
return 2;
|
|
|
|
}
|
2015-10-11 20:48:29 +00:00
|
|
|
|
2022-08-01 21:29:02 +00:00
|
|
|
QPushButton *hideWindowButton = new QPushButton(QStringLiteral("Hide"), widget.get());
|
2015-10-11 20:48:29 +00:00
|
|
|
|
2016-10-17 09:17:48 +00:00
|
|
|
QObject::connect(hideWindowButton, &QPushButton::clicked, helper, &ScreenEdgeHelper::hide);
|
2015-10-11 20:48:29 +00:00
|
|
|
|
2022-08-01 21:29:02 +00:00
|
|
|
QPushButton *hideAndRestoreButton = new QPushButton(QStringLiteral("Hide and Restore after 10 sec"), widget.get());
|
2016-10-17 09:17:48 +00:00
|
|
|
QObject::connect(hideAndRestoreButton, &QPushButton::clicked, helper, &ScreenEdgeHelper::hideAndRestore);
|
2014-02-20 11:39:23 +00:00
|
|
|
|
2022-08-01 21:29:02 +00:00
|
|
|
QToolButton *edgeButton = new QToolButton(widget.get());
|
2015-10-11 20:48:29 +00:00
|
|
|
|
2022-08-01 21:29:02 +00:00
|
|
|
QCheckBox *raiseCheckBox = new QCheckBox("Raise:", widget.get());
|
2016-10-17 09:17:48 +00:00
|
|
|
QObject::connect(raiseCheckBox, &QCheckBox::toggled, helper, &ScreenEdgeHelper::raiseOrShow);
|
2015-10-11 20:48:29 +00:00
|
|
|
|
2014-02-20 11:39:23 +00:00
|
|
|
edgeButton->setText(QStringLiteral("Edge"));
|
|
|
|
edgeButton->setPopupMode(QToolButton::MenuButtonPopup);
|
|
|
|
QMenu *edgeButtonMenu = new QMenu(edgeButton);
|
2016-10-17 09:17:48 +00:00
|
|
|
QObject::connect(edgeButtonMenu->addAction("Top"), &QAction::triggered, helper, &ScreenEdgeHelper::moveToTop);
|
|
|
|
QObject::connect(edgeButtonMenu->addAction("Right"), &QAction::triggered, helper, &ScreenEdgeHelper::moveToRight);
|
|
|
|
QObject::connect(edgeButtonMenu->addAction("Bottom"), &QAction::triggered, helper, &ScreenEdgeHelper::moveToBottom);
|
|
|
|
QObject::connect(edgeButtonMenu->addAction("Left"), &QAction::triggered, helper, &ScreenEdgeHelper::moveToLeft);
|
2014-02-20 11:39:23 +00:00
|
|
|
edgeButtonMenu->addSeparator();
|
2016-10-17 09:17:48 +00:00
|
|
|
QObject::connect(edgeButtonMenu->addAction("Floating"), &QAction::triggered, helper, &ScreenEdgeHelper::moveToFloating);
|
2014-02-20 11:39:23 +00:00
|
|
|
edgeButton->setMenu(edgeButtonMenu);
|
|
|
|
|
2022-08-01 21:29:02 +00:00
|
|
|
QHBoxLayout *layout = new QHBoxLayout(widget.get());
|
2014-02-20 11:39:23 +00:00
|
|
|
layout->addWidget(hideWindowButton);
|
|
|
|
layout->addWidget(hideAndRestoreButton);
|
|
|
|
layout->addWidget(edgeButton);
|
|
|
|
widget->setLayout(layout);
|
|
|
|
|
|
|
|
const QRect geo = QGuiApplication::primaryScreen()->geometry();
|
|
|
|
widget->setGeometry(geo.x(), geo.y() + geo.height() - 100, geo.width(), 100);
|
|
|
|
widget->show();
|
2016-10-17 09:17:48 +00:00
|
|
|
helper->init();
|
2014-02-20 11:39:23 +00:00
|
|
|
|
|
|
|
return app.exec();
|
|
|
|
}
|
2016-10-17 09:17:48 +00:00
|
|
|
|
|
|
|
#include "screenedgeshowtest.moc"
|