Commit 84d770a0 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Add new test application

parent f174915a
......@@ -8,7 +8,7 @@ target_link_libraries(webenginetest
Qt5::Widgets KF5::MessageViewer Qt5::WebEngine Qt5::WebEngineWidgets
)
#####
set(webenginescript_test_SRCS
testwebenginescript.cpp
)
......@@ -19,6 +19,8 @@ target_link_libraries(webenginescripttest
Qt5::Widgets KF5::MessageViewer Qt5::WebEngine Qt5::WebEngineWidgets
)
######
set(webengineaccesskey_test_SRCS
testwebengineaccesskey.cpp
)
......@@ -28,3 +30,14 @@ add_executable(webengineaccesskeytest ${webengineaccesskey_test_SRCS})
target_link_libraries(webengineaccesskeytest
Qt5::Widgets KF5::MessageViewer Qt5::WebEngine Qt5::WebEngineWidgets KF5::XmlGui KF5::IconThemes
)
####
set(scrolladdattachment_test_SRCS
testwebenginescrolladdattachment.cpp
)
add_executable(scrolladdattachmenttest ${scrolladdattachment_test_SRCS})
target_link_libraries(scrolladdattachmenttest
Qt5::Widgets KF5::MessageViewer Qt5::WebEngine Qt5::WebEngineWidgets KF5::XmlGui KF5::IconThemes
)
/*
Copyright (c) 2016 Montel Laurent <montel@kde.org>
This program is free software; you can redistribute it and/or modify it
under the terms of the GNU General Public License, version 2, as
published by the Free Software Foundation.
This program 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 this program; if not, write to the Free Software Foundation, Inc.,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
#include "testwebenginescrolladdattachment.h"
#include <QApplication>
TestWebEngineScrollAddAttachment::TestWebEngineScrollAddAttachment(QWidget *parent)
: QWidget(parent)
{
}
int main(int argc, char *argv[])
{
QApplication app(argc, argv);
app.setAttribute(Qt::AA_UseHighDpiPixmaps, true);
TestWebEngineScrollAddAttachment *testWebEngine = new TestWebEngineScrollAddAttachment;
testWebEngine->show();
const int ret = app.exec();
return ret;
}
/*
Copyright (c) 2016 Montel Laurent <montel@kde.org>
This program is free software; you can redistribute it and/or modify it
under the terms of the GNU General Public License, version 2, as
published by the Free Software Foundation.
This program 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 this program; if not, write to the Free Software Foundation, Inc.,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
#ifndef TESTWEBENGINESCROLLADDATTACHMENT_H
#define TESTWEBENGINESCROLLADDATTACHMENT_H
#include <QWidget>
class TestWebEngineScrollAddAttachment : public QWidget
{
Q_OBJECT
public:
explicit TestWebEngineScrollAddAttachment(QWidget *parent = Q_NULLPTR);
};
#endif // TESTWEBENGINESCROLLADDATTACHMENT_H
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment