Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
PIM
KDE PIM Add-ons
Commits
16f90fdc
Commit
16f90fdc
authored
Jan 13, 2022
by
Laurent Montel
Browse files
Start to implement create open with url info
parent
b1990237
Pipeline
#122929
passed with stage
in 14 minutes and 42 seconds
Changes
6
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
CMakeLists.txt
View file @
16f90fdc
...
...
@@ -51,7 +51,7 @@ include(ECMQtDeclareLoggingCategory)
option
(
KDEPIM_ENTERPRISE_BUILD
"Enable features specific to the enterprise branch, which are normally disabled. Also, it disables many components not needed for Kontact such as the Kolab client."
FALSE
)
find_package
(
Qt
5
${
QT_REQUIRED_VERSION
}
CONFIG REQUIRED WebEngineWidgets Widgets Test
)
find_package
(
Qt
${
QT_MAJOR_VERSION
}
${
QT_REQUIRED_VERSION
}
CONFIG REQUIRED WebEngineWidgets Widgets Test
)
find_package
(
KF5I18n
${
KF5_MIN_VERSION
}
CONFIG REQUIRED
)
find_package
(
KF5Config
${
KF5_MIN_VERSION
}
CONFIG REQUIRED
)
...
...
plugins/messageviewerconfigureplugins/openurlwith/CMakeLists.txt
View file @
16f90fdc
...
...
@@ -21,6 +21,10 @@ target_sources(openurlwithconfigure PRIVATE
openurlwithconfigurewidget.h
openurlwithconfigurewidget.cpp
openurlwith_private_export.h
openurlwithconfigurecreatedialog.h
openurlwithconfigurecreatedialog.cpp
openurlwithconfigurecreatewidget.h
openurlwithconfigurecreatewidget.cpp
)
ecm_qt_declare_logging_category
(
openurlwithconfigure HEADER libopenurlwithconfigure_debug.h IDENTIFIER LIBOPENURLWITHCONFIGURE_PLUGIN_LOG
...
...
plugins/messageviewerconfigureplugins/openurlwith/openurlwithconfigurecreatedialog.cpp
0 → 100644
View file @
16f90fdc
/*
SPDX-FileCopyrightText: 2022 Laurent Montel <montel@kde.org>
SPDX-License-Identifier: GPL-2.0-or-later
*/
#include
"openurlwithconfigurecreatedialog.h"
#include
<KLocalizedString>
#include
<QDialogButtonBox>
#include
<QVBoxLayout>
OpenUrlWithConfigureCreateDialog
::
OpenUrlWithConfigureCreateDialog
(
QWidget
*
parent
)
:
QDialog
(
parent
)
{
setWindowTitle
(
i18nc
(
"@title:window"
,
"Configure Open Url With Plugin"
));
auto
mainLayout
=
new
QVBoxLayout
(
this
);
mainLayout
->
setObjectName
(
QStringLiteral
(
"mainlayout"
));
// mOpenUrlWithWidget->setObjectName(QStringLiteral("mOpenUrlWithWidget"));
// mainLayout->addWidget(mOpenUrlWithWidget);
auto
buttonBox
=
new
QDialogButtonBox
(
QDialogButtonBox
::
Ok
|
QDialogButtonBox
::
Cancel
,
this
);
buttonBox
->
setObjectName
(
QStringLiteral
(
"buttonBox"
));
mainLayout
->
addWidget
(
buttonBox
);
// connect(buttonBox, &QDialogButtonBox::accepted, this, &OpenUrlWithConfigureDialog::slotAccepted);
// connect(buttonBox, &QDialogButtonBox::rejected, this, &OpenUrlWithConfigureDialog::reject);
}
OpenUrlWithConfigureCreateDialog
::~
OpenUrlWithConfigureCreateDialog
()
{
}
plugins/messageviewerconfigureplugins/openurlwith/openurlwithconfigurecreatedialog.h
0 → 100644
View file @
16f90fdc
/*
SPDX-FileCopyrightText: 2022 Laurent Montel <montel@kde.org>
SPDX-License-Identifier: GPL-2.0-or-later
*/
#pragma once
#include
"openurlwith_private_export.h"
#include
<QDialog>
class
LIBOPENURLWITHCONFIGURE_TESTS_EXPORT
OpenUrlWithConfigureCreateDialog
:
public
QDialog
{
Q_OBJECT
public:
explicit
OpenUrlWithConfigureCreateDialog
(
QWidget
*
parent
=
nullptr
);
~
OpenUrlWithConfigureCreateDialog
()
override
;
};
plugins/messageviewerconfigureplugins/openurlwith/openurlwithconfigurecreatewidget.cpp
0 → 100644
View file @
16f90fdc
/*
SPDX-FileCopyrightText: 2022 Laurent Montel <montel@kde.org>
SPDX-License-Identifier: GPL-2.0-or-later
*/
#include
"openurlwithconfigurecreatewidget.h"
#include
<QVBoxLayout>
OpenUrlWithConfigureCreateWidget
::
OpenUrlWithConfigureCreateWidget
(
QWidget
*
parent
)
:
QWidget
{
parent
}
{
}
OpenUrlWithConfigureCreateWidget
::~
OpenUrlWithConfigureCreateWidget
()
{
}
plugins/messageviewerconfigureplugins/openurlwith/openurlwithconfigurecreatewidget.h
0 → 100644
View file @
16f90fdc
/*
SPDX-FileCopyrightText: 2022 Laurent Montel <montel@kde.org>
SPDX-License-Identifier: GPL-2.0-or-later
*/
#pragma once
#include
"openurlwith_private_export.h"
#include
<QWidget>
class
LIBOPENURLWITHCONFIGURE_TESTS_EXPORT
OpenUrlWithConfigureCreateWidget
:
public
QWidget
{
Q_OBJECT
public:
explicit
OpenUrlWithConfigureCreateWidget
(
QWidget
*
parent
=
nullptr
);
~
OpenUrlWithConfigureCreateWidget
()
override
;
};
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment