forked from openkylin/kolourpaint
New upstream release (22.12.1).
This commit is contained in:
parent
4919ca8ea9
commit
68fe0bc8d3
|
@ -5,3 +5,6 @@ include:
|
||||||
- https://invent.kde.org/sysadmin/ci-utilities/raw/master/gitlab-templates/linux.yml
|
- https://invent.kde.org/sysadmin/ci-utilities/raw/master/gitlab-templates/linux.yml
|
||||||
- https://invent.kde.org/sysadmin/ci-utilities/raw/master/gitlab-templates/freebsd.yml
|
- https://invent.kde.org/sysadmin/ci-utilities/raw/master/gitlab-templates/freebsd.yml
|
||||||
- https://invent.kde.org/sysadmin/ci-utilities/raw/master/gitlab-templates/windows.yml
|
- https://invent.kde.org/sysadmin/ci-utilities/raw/master/gitlab-templates/windows.yml
|
||||||
|
- https://invent.kde.org/sysadmin/ci-utilities/raw/master/gitlab-templates/linux-qt6.yml
|
||||||
|
- https://invent.kde.org/sysadmin/ci-utilities/raw/master/gitlab-templates/freebsd-qt6.yml
|
||||||
|
- https://invent.kde.org/sysadmin/ci-utilities/raw/master/gitlab-templates/windows-qt6.yml
|
||||||
|
|
|
@ -1,15 +1,15 @@
|
||||||
|
cmake_minimum_required(VERSION 3.10.0 FATAL_ERROR)
|
||||||
|
|
||||||
# KDE Application Version, managed by release script
|
# KDE Application Version, managed by release script
|
||||||
set(RELEASE_SERVICE_VERSION_MAJOR "22")
|
set(RELEASE_SERVICE_VERSION_MAJOR "22")
|
||||||
set(RELEASE_SERVICE_VERSION_MINOR "08")
|
set(RELEASE_SERVICE_VERSION_MINOR "12")
|
||||||
set(RELEASE_SERVICE_VERSION_MICRO "3")
|
set(RELEASE_SERVICE_VERSION_MICRO "1")
|
||||||
set(RELEASE_SERVICE_VERSION "${RELEASE_SERVICE_VERSION_MAJOR}.${RELEASE_SERVICE_VERSION_MINOR}.${RELEASE_SERVICE_VERSION_MICRO}")
|
set(RELEASE_SERVICE_VERSION "${RELEASE_SERVICE_VERSION_MAJOR}.${RELEASE_SERVICE_VERSION_MINOR}.${RELEASE_SERVICE_VERSION_MICRO}")
|
||||||
|
|
||||||
cmake_minimum_required(VERSION 3.10.0 FATAL_ERROR)
|
|
||||||
|
|
||||||
project(kolourpaint VERSION ${RELEASE_SERVICE_VERSION})
|
project(kolourpaint VERSION ${RELEASE_SERVICE_VERSION})
|
||||||
|
|
||||||
set(QT_MIN_VERSION "5.11.0")
|
set(QT_MIN_VERSION "5.15.2")
|
||||||
set(KF5_MIN_VERSION "5.87.0")
|
set(KF5_MIN_VERSION "5.90.0")
|
||||||
set(KDE_COMPILERSETTINGS_LEVEL "5.84.0")
|
set(KDE_COMPILERSETTINGS_LEVEL "5.84.0")
|
||||||
|
|
||||||
find_package(ECM ${KF5_MIN_VERSION} REQUIRED NO_MODULE)
|
find_package(ECM ${KF5_MIN_VERSION} REQUIRED NO_MODULE)
|
||||||
|
@ -215,7 +215,6 @@ set(kolourpaint_lib2_SRCS
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/tools/flow/kpToolFlowPixmapBase.cpp
|
${CMAKE_CURRENT_SOURCE_DIR}/tools/flow/kpToolFlowPixmapBase.cpp
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/tools/flow/kpToolPen.cpp
|
${CMAKE_CURRENT_SOURCE_DIR}/tools/flow/kpToolPen.cpp
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/tools/flow/kpToolSpraycan.cpp
|
${CMAKE_CURRENT_SOURCE_DIR}/tools/flow/kpToolSpraycan.cpp
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/tools/kpToolAction.cpp
|
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/tools/kpToolColorPicker.cpp
|
${CMAKE_CURRENT_SOURCE_DIR}/tools/kpToolColorPicker.cpp
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/tools/kpTool.cpp
|
${CMAKE_CURRENT_SOURCE_DIR}/tools/kpTool.cpp
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/tools/kpTool_Drawing.cpp
|
${CMAKE_CURRENT_SOURCE_DIR}/tools/kpTool_Drawing.cpp
|
||||||
|
|
|
@ -34,6 +34,8 @@
|
||||||
|
|
||||||
#include <KLocalizedString>
|
#include <KLocalizedString>
|
||||||
|
|
||||||
|
#include <QCursor>
|
||||||
|
|
||||||
//--------------------------------------------------------------------------------
|
//--------------------------------------------------------------------------------
|
||||||
|
|
||||||
struct kpEffectCommandBasePrivate
|
struct kpEffectCommandBasePrivate
|
||||||
|
|
|
@ -30,7 +30,6 @@
|
||||||
#define kpEffectCommandBase_H
|
#define kpEffectCommandBase_H
|
||||||
|
|
||||||
|
|
||||||
#include <QWidget>
|
|
||||||
|
|
||||||
#include "commands/kpCommand.h"
|
#include "commands/kpCommand.h"
|
||||||
#include "imagelib/kpImage.h"
|
#include "imagelib/kpImage.h"
|
||||||
|
|
|
@ -30,7 +30,6 @@
|
||||||
#define kpTransformResizeScaleCommand_H
|
#define kpTransformResizeScaleCommand_H
|
||||||
|
|
||||||
|
|
||||||
#include <QPixmap>
|
|
||||||
|
|
||||||
#include "imagelib/kpColor.h"
|
#include "imagelib/kpColor.h"
|
||||||
#include "commands/kpCommand.h"
|
#include "commands/kpCommand.h"
|
||||||
|
|
|
@ -44,15 +44,6 @@
|
||||||
|
|
||||||
#include "kpLogCategories.h"
|
#include "kpLogCategories.h"
|
||||||
|
|
||||||
#include <QApplication>
|
|
||||||
#include <QBitmap>
|
|
||||||
#include <QCursor>
|
|
||||||
#include <QEvent>
|
|
||||||
#include <QMenu>
|
|
||||||
#include <QPainter>
|
|
||||||
#include <QPixmap>
|
|
||||||
#include <QPolygon>
|
|
||||||
#include <QTimer>
|
|
||||||
|
|
||||||
|
|
||||||
kpToolSelectionCreateCommand::kpToolSelectionCreateCommand (const QString &name,
|
kpToolSelectionCreateCommand::kpToolSelectionCreateCommand (const QString &name,
|
||||||
|
|
|
@ -41,7 +41,6 @@
|
||||||
#include "kpLogCategories.h"
|
#include "kpLogCategories.h"
|
||||||
|
|
||||||
#include <QApplication>
|
#include <QApplication>
|
||||||
#include <QCursor>
|
|
||||||
#include <QTimer>
|
#include <QTimer>
|
||||||
|
|
||||||
#include <KLocalizedString>
|
#include <KLocalizedString>
|
||||||
|
|
|
@ -1,4 +1,10 @@
|
||||||
kolourpaint (4:22.08.3-ok0build1) yangtze; urgency=medium
|
kolourpaint (4:22.12.1-ok1) yangtze; urgency=medium
|
||||||
|
|
||||||
|
* New upstream release (22.12.1).
|
||||||
|
|
||||||
|
-- rtlhq <nobelxyz@163.com> Sat, 07 Jan 2023 12:07:32 +0800
|
||||||
|
|
||||||
|
kolourpaint (4:22.08.3-ok1) yangtze; urgency=medium
|
||||||
|
|
||||||
* Build for openkylin.
|
* Build for openkylin.
|
||||||
|
|
||||||
|
|
|
@ -5,21 +5,21 @@ Maintainer: openKylin KDE SIG <kde@lists.openkylin.top>
|
||||||
Uploaders: rtlhq <nobelxyz@163.com>,
|
Uploaders: rtlhq <nobelxyz@163.com>,
|
||||||
Build-Depends: cmake (>= 3.10.0~),
|
Build-Depends: cmake (>= 3.10.0~),
|
||||||
debhelper-compat (= 13),
|
debhelper-compat (= 13),
|
||||||
extra-cmake-modules (>= 5.92.0~),
|
extra-cmake-modules (>= 5.90.0~),
|
||||||
gettext,
|
gettext,
|
||||||
libkf5doctools-dev (>= 5.92.0~),
|
libkf5doctools-dev (>= 5.90.0~),
|
||||||
libkf5guiaddons-dev (>= 5.92.0~),
|
libkf5guiaddons-dev (>= 5.90.0~),
|
||||||
libkf5i18n-dev (>= 5.92.0~),
|
libkf5i18n-dev (>= 5.90.0~),
|
||||||
libkf5jobwidgets-dev (>= 5.92.0~),
|
libkf5jobwidgets-dev (>= 5.90.0~),
|
||||||
libkf5kio-dev (>= 5.92.0~),
|
libkf5kio-dev (>= 5.90.0~),
|
||||||
libkf5sane-dev (>= 22.08.1~),
|
libkf5sane-dev (>= 21.12~),
|
||||||
libkf5textwidgets-dev (>= 5.92.0~),
|
libkf5textwidgets-dev (>= 5.90.0~),
|
||||||
libkf5widgetsaddons-dev (>= 5.92.0~),
|
libkf5widgetsaddons-dev (>= 5.90.0~),
|
||||||
libkf5xmlgui-dev (>= 5.92.0~),
|
libkf5xmlgui-dev (>= 5.90.0~),
|
||||||
pkg-config,
|
pkg-config,
|
||||||
pkg-kde-tools (>= 0.12),
|
pkg-kde-tools (>= 0.12),
|
||||||
qtbase5-dev (>= 5.11.0~),
|
qtbase5-dev (>= 5.15.2~),
|
||||||
Standards-Version: 4.6.0
|
Standards-Version: 4.6.2
|
||||||
Rules-Requires-Root: no
|
Rules-Requires-Root: no
|
||||||
Homepage: https://apps.kde.org/en/kolourpaint
|
Homepage: https://apps.kde.org/en/kolourpaint
|
||||||
Vcs-Browser: https://gitee.com/openkylin/kolourpaint
|
Vcs-Browser: https://gitee.com/openkylin/kolourpaint
|
||||||
|
@ -29,8 +29,8 @@ Package: kolourpaint
|
||||||
Section: graphics
|
Section: graphics
|
||||||
Architecture: any
|
Architecture: any
|
||||||
Depends: ${misc:Depends}, ${shlibs:Depends}
|
Depends: ${misc:Depends}, ${shlibs:Depends}
|
||||||
Breaks: kolourpaint4 (<< 4:21.04)
|
Breaks: kolourpaint4 (<< 4:17.04)
|
||||||
Replaces: kolourpaint4 (<< 4:21.04)
|
Replaces: kolourpaint4 (<< 4:17.04)
|
||||||
Description: simple image editor and drawing application
|
Description: simple image editor and drawing application
|
||||||
KolourPaint is a simple drawing and image editing application for KDE.
|
KolourPaint is a simple drawing and image editing application for KDE.
|
||||||
It aims to be easy to use, providing a level of functionality targeted towards
|
It aims to be easy to use, providing a level of functionality targeted towards
|
||||||
|
|
|
@ -1,8 +0,0 @@
|
||||||
include:
|
|
||||||
- https://salsa.debian.org/salsa-ci-team/pipeline/raw/master/salsa-ci.yml
|
|
||||||
- https://salsa.debian.org/salsa-ci-team/pipeline/raw/master/pipeline-jobs.yml
|
|
||||||
variables:
|
|
||||||
SALSA_CI_DISABLE_BLHC: 'yes'
|
|
||||||
SALSA_CI_DISABLE_MISSING_BREAKS: 'no'
|
|
||||||
SALSA_CI_DISABLE_RC_BUGS: 'no'
|
|
||||||
SALSA_CI_REPROTEST_ARGS: '--variations=-build-path'
|
|
|
@ -1,157 +0,0 @@
|
||||||
-----BEGIN PGP PUBLIC KEY BLOCK-----
|
|
||||||
|
|
||||||
mQINBFfNZD4BEACo0YKCUEhTY7v8VZVw3csAtnsRSFQ18G8xfYIt7mJEBrtfiGG4
|
|
||||||
g28EjNeWQfN8wGIaAeRGl5nb7s9RRpxXStUu719jGX1Z9Sr8p/JOmBS5kdfAtYId
|
|
||||||
9Cl3VsGRvf4Smg1ClrEv6tQ97j+d1FY8QfgW/GS46YBOEeOFVQRtfi7Yv9lZkiBF
|
|
||||||
rzP0Nr7JV9u1GkBsFgNkVuYs/3RDYULItBwGFerduOyQCOt819QvHHSZkXqJWwNR
|
|
||||||
OA6lc8gW36lKbDHoZ1jSkDnDV0bW0cX1/6WJSzWYdcPiceA1vj/VDg0Kr23SVQ1P
|
|
||||||
yPvBirT7ToirQm6KrIiKHWLSg156ht8/K2C1Dgypf+YMseMbHQxVLrI2p4zpmxu3
|
|
||||||
B2SrSj3ImM5FO0XGd1gxn/qywNVJDQBfcYnndksD2i/9/Es8I/F6OymBZl4HWBvx
|
|
||||||
7ixm2JPXkmwVPEC/lJn3eCBb1fAaJSlroHtaAEteCWuE5/Mg/uYEh1UeAstP47N3
|
|
||||||
P0B3l1E4Ccw1ne2/O1BdsnXeUaI3YVYz9aZkVlL7ywda3h/goRKxc1b18bmgu/Ed
|
|
||||||
QmcTEMj29B3szMpetWNt1ZbaMJzfDw+z+SiQ3toOTUiqMuWq+l+JK0dVUzOvpGhG
|
|
||||||
VHv5m9CtJFP671ivEc4it0hJRH5kdW9aNbeG0g9TxHQqQMJIpeLvRq5WKwARAQAB
|
|
||||||
tCFBbGJlcnQgQXN0YWxzIENpZCA8YWFjaWRAa2RlLm9yZz6JAj0EEwEIACcFAlfN
|
|
||||||
ZD4CGwMFCQPCZwAFCwkIBwIGFQgJCgsCBBYCAwECHgECF4AACgkQO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||||||
kwVh/CFP5+aLQTTUU7lSthPd/jwvqwXUFYFvAwdg8VjQSX0kT62ZI5UZrqejEJXD
|
|
||||||
puYyBQN5BZUgqwoy3oTy0Ktao3Td9SUDEpFaKbt1YWWmYHLrscVtI6yiKLMIusHU
|
|
||||||
XMa+dB7iKGK1BjU2Z2PE4Ow7DXqnaEJwSNElgkhftnT3lIq0qFTDSkeEvfZg3fMt
|
|
||||||
IpdIiYngrZo+vxq7NOYQ6RLHtDLXtgYECZrQX6Obl+3jfXFVb8Ethtl1mhpAAi+V
|
|
||||||
hC+sXh0NMOq4pxE=
|
|
||||||
=Wqdv
|
|
||||||
-----END PGP PUBLIC KEY BLOCK-----
|
|
||||||
-----BEGIN PGP PUBLIC KEY BLOCK-----
|
|
||||||
|
|
||||||
mQENBFlRpEYBCACecX3F5xzF6wzeXiuBAuHq74bVHON7I89U+ROloEWYUYMRNTz2
|
|
||||||
l1BkNHWRTTqfmPO7LhMY6g4gOPeQVCwgTGVjI8bn6sJd3SFdeiRvvaFBpmn7SjBd
|
|
||||||
s1rkKKJIjeMUl1w8dFnmf22V0PnhSSepmNwmd8RQnl1umCTSihDJydGxixw6ZNhr
|
|
||||||
4tzbn+Rfadybli61H2hc6/JJHe91i+V1ltgkHwGcs6MUCqXgSL0dUIJs49gSrla0
|
|
||||||
gkrcJYF5MWyGxKlajbCjkMCJtN+8bhEmpc4Oe8NZ33arEWnlyh1RVgi5p3RTNApY
|
|
||||||
Pxctcg57ExczbKn9R8VLYmPJ7Di3gX0cmotrABEBAAG0HkNocmlzdG9waCBGZWNr
|
|
||||||
IDxjZmVja0BrZGUub3JnPokBTgQTAQgAOBYhBPIydeS/EK/B32kUptvSzok+LRyH
|
|
||||||
BQJZUaRGAhsDBQsJCAcCBhUICQoLAgQWAgMBAh4BAheAAAoJENvSzok+LRyHeWcH
|
|
||||||
/A1E2d5UL2oHsrLIolIiWMmheRorcac+0Hgll1mMUQ5tfPH+LVzgrlMMG7g1Amky
|
|
||||||
Hk1qZ5oszrXUg2H/28/cOF/WVlHgQcSGr7aQbHieUivPtZMua+lHUdILC3UV2l1V
|
|
||||||
22Zz8HIDl4kxmK6EpoNIOK5Mo550S3e3AKYq5pa/FlckCV9/JoK9+thRCsoAAj3g
|
|
||||||
oWwTx9RY5pmLPtklqyC5961Je7KHSIVqapJ/G5DX+yfOC1Psc+vIfyQVqnaefZPW
|
|
||||||
dIxXQQhn46i6IRRimw94Gkwca+wslkimt/L/Z7ByZqBsXMyixSQPq+dtSO9CMgr0
|
|
||||||
WxTX78wATkTGzh5oSwKCMga5AQ0EWVGkRgEIAMuUnfNfrdx8xn7Jjcm6MGkB/Yep
|
|
||||||
XVysrlHxUUS6q7629JdSlVWnQo9GFO927GZClWI9rCGLQMfZZk/jfgKV/nkpLod3
|
|
||||||
I51remOg7ohSkwRLAdwJ7xCuNrafhKntFh5/NxuaXxaVIY1muvZbTAsIRyks2jCE
|
|
||||||
pUoK43Z8dr4/QPhBstssB8czDME1Tw4r7X+RwjFrQqDItFv6f0BIdEwR462khLEw
|
|
||||||
vbXRN1nzs+6Y0foJbJCS3VDZC9scsrrMVMV+OEBF3DXp9ypSWsLnkuBPPIus6Y8G
|
|
||||||
j7JvYUBtrUhKL5a7o5G3Te9YhwGgOKVqWlncs6ZLiOV6HnG0BO3xdPcn09cAEQEA
|
|
||||||
AYkBNgQYAQgAIBYhBPIydeS/EK/B32kUptvSzok+LRyHBQJZUaRGAhsMAAoJENvS
|
|
||||||
zok+LRyHaRMIAI5YaTfGeQDmR08I2LvztOEH/3YF63cNCP/Vp+WAtF/Kr8mMFpFS
|
|
||||||
oTHJNMi7p964lHYTTPzPeQzLzV3ayiQjq+DHs6HFmYl73ukzlGGc7KDlyhugQjm6
|
|
||||||
AqNtqqXAVykaixnFj8jf2WtQGl1hqpm8GhDRBmZycqMqne4tZokujhtpdC6suRvc
|
|
||||||
AB0S+lRZUwrY05k6Nc1A8J8k/lxXXa9KzXNaqKsqppgBZoqKN3zS4146uEjvuLsh
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H
|
|
||||||
wRVUGB63Jnn9afS3SYEBTAz/f4S6TAM30VL2To6H+vKtc4ZPtzRIQD5dU3SDWT4q
|
|
||||||
GMusAgSlrG55+BcCqtgEEF7/JbOUHbLUu8+g/F2rZpAbsr5V8g==
|
|
||||||
=PVLg
|
|
||||||
-----END PGP PUBLIC KEY BLOCK-----
|
|
|
@ -743,7 +743,7 @@ void kpDocumentMetaInfoDialog::accept ()
|
||||||
(void) metaInfo (&errorMessage);
|
(void) metaInfo (&errorMessage);
|
||||||
if (!errorMessage.isEmpty ())
|
if (!errorMessage.isEmpty ())
|
||||||
{
|
{
|
||||||
KMessageBox::sorry (this, errorMessage, i18nc ("@title:window", "Invalid Text Fields"));
|
KMessageBox::error (this, errorMessage, i18nc ("@title:window", "Invalid Text Fields"));
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -32,12 +32,10 @@
|
||||||
#include "dialogs/imagelib/transforms/kpTransformPreviewDialog.h"
|
#include "dialogs/imagelib/transforms/kpTransformPreviewDialog.h"
|
||||||
|
|
||||||
#include <QApplication>
|
#include <QApplication>
|
||||||
#include <QBoxLayout>
|
|
||||||
#include <QDialogButtonBox>
|
#include <QDialogButtonBox>
|
||||||
#include <QGridLayout>
|
#include <QGridLayout>
|
||||||
#include <QGroupBox>
|
#include <QGroupBox>
|
||||||
#include <QLabel>
|
#include <QLabel>
|
||||||
#include <QLayout>
|
|
||||||
#include <QPushButton>
|
#include <QPushButton>
|
||||||
|
|
||||||
#include "kpLogCategories.h"
|
#include "kpLogCategories.h"
|
||||||
|
|
|
@ -31,7 +31,6 @@
|
||||||
|
|
||||||
|
|
||||||
#include <QDialog>
|
#include <QDialog>
|
||||||
#include <QPixmap>
|
|
||||||
|
|
||||||
|
|
||||||
class QLabel;
|
class QLabel;
|
||||||
|
|
|
@ -32,7 +32,6 @@
|
||||||
#include "kpTransformResizeScaleDialog.h"
|
#include "kpTransformResizeScaleDialog.h"
|
||||||
|
|
||||||
|
|
||||||
#include <QBoxLayout>
|
|
||||||
#include <QButtonGroup>
|
#include <QButtonGroup>
|
||||||
#include <QCheckBox>
|
#include <QCheckBox>
|
||||||
#include <QComboBox>
|
#include <QComboBox>
|
||||||
|
@ -40,7 +39,6 @@
|
||||||
#include <QGridLayout>
|
#include <QGridLayout>
|
||||||
#include <QGroupBox>
|
#include <QGroupBox>
|
||||||
#include <QLabel>
|
#include <QLabel>
|
||||||
#include <QLayout>
|
|
||||||
#include <QPixmap>
|
#include <QPixmap>
|
||||||
#include <QSize>
|
#include <QSize>
|
||||||
#include <QToolButton>
|
#include <QToolButton>
|
||||||
|
|
|
@ -39,17 +39,14 @@
|
||||||
#include "kpLogCategories.h"
|
#include "kpLogCategories.h"
|
||||||
#include <KLocalizedString>
|
#include <KLocalizedString>
|
||||||
|
|
||||||
#include <QButtonGroup>
|
|
||||||
#include <QGroupBox>
|
#include <QGroupBox>
|
||||||
#include <QIcon>
|
#include <QIcon>
|
||||||
#include <QLabel>
|
#include <QLabel>
|
||||||
#include <QLayout>
|
|
||||||
#include <QSpinBox>
|
#include <QSpinBox>
|
||||||
#include <QPolygon>
|
|
||||||
#include <QPushButton>
|
#include <QPushButton>
|
||||||
#include <QRadioButton>
|
#include <QRadioButton>
|
||||||
#include <QTransform>
|
#include <QTransform>
|
||||||
|
#include <QGridLayout>
|
||||||
|
|
||||||
// private static
|
// private static
|
||||||
int kpTransformRotateDialog::s_lastWidth = -1,
|
int kpTransformRotateDialog::s_lastWidth = -1,
|
||||||
|
|
|
@ -31,7 +31,6 @@
|
||||||
|
|
||||||
|
|
||||||
#include <QImage>
|
#include <QImage>
|
||||||
#include <QPoint>
|
|
||||||
|
|
||||||
#include "imagelib/kpColor.h"
|
#include "imagelib/kpColor.h"
|
||||||
#include "dialogs/imagelib/transforms/kpTransformPreviewDialog.h"
|
#include "dialogs/imagelib/transforms/kpTransformPreviewDialog.h"
|
||||||
|
|
|
@ -31,13 +31,10 @@
|
||||||
|
|
||||||
#include "dialogs/imagelib/transforms/kpTransformSkewDialog.h"
|
#include "dialogs/imagelib/transforms/kpTransformSkewDialog.h"
|
||||||
|
|
||||||
#include <QApplication>
|
|
||||||
#include <QGridLayout>
|
#include <QGridLayout>
|
||||||
#include <QGroupBox>
|
#include <QGroupBox>
|
||||||
#include <QLabel>
|
#include <QLabel>
|
||||||
#include <QLayout>
|
|
||||||
#include <QPushButton>
|
#include <QPushButton>
|
||||||
#include <QTransform>
|
|
||||||
#include <QImage>
|
#include <QImage>
|
||||||
#include <QSpinBox>
|
#include <QSpinBox>
|
||||||
|
|
||||||
|
|
|
@ -33,13 +33,12 @@
|
||||||
#include <KLocalizedString>
|
#include <KLocalizedString>
|
||||||
#include "../widgets/imagelib/effects/kpNumInput.h"
|
#include "../widgets/imagelib/effects/kpNumInput.h"
|
||||||
|
|
||||||
#include <QBoxLayout>
|
|
||||||
#include <QDialogButtonBox>
|
#include <QDialogButtonBox>
|
||||||
#include <QGroupBox>
|
#include <QGroupBox>
|
||||||
#include <QLabel>
|
#include <QLabel>
|
||||||
#include <QLayout>
|
|
||||||
#include <QPushButton>
|
#include <QPushButton>
|
||||||
#include <QWhatsThis>
|
#include <QWhatsThis>
|
||||||
|
#include <QVBoxLayout>
|
||||||
|
|
||||||
kpColorSimilarityDialog::kpColorSimilarityDialog (QWidget *parent)
|
kpColorSimilarityDialog::kpColorSimilarityDialog (QWidget *parent)
|
||||||
: QDialog (parent)
|
: QDialog (parent)
|
||||||
|
|
|
@ -30,13 +30,10 @@
|
||||||
|
|
||||||
#include "kpDocumentSaveOptionsPreviewDialog.h"
|
#include "kpDocumentSaveOptionsPreviewDialog.h"
|
||||||
|
|
||||||
#include <QEvent>
|
|
||||||
#include <QGridLayout>
|
#include <QGridLayout>
|
||||||
#include <QLabel>
|
#include <QLabel>
|
||||||
#include <QLayout>
|
|
||||||
#include <QPixmap>
|
#include <QPixmap>
|
||||||
|
|
||||||
#include <KConfig>
|
|
||||||
#include "kpLogCategories.h"
|
#include "kpLogCategories.h"
|
||||||
#include <KLocalizedString>
|
#include <KLocalizedString>
|
||||||
|
|
||||||
|
|
|
@ -52,14 +52,9 @@
|
||||||
#include <KIO/StatJob>
|
#include <KIO/StatJob>
|
||||||
|
|
||||||
#include <QColor>
|
#include <QColor>
|
||||||
#include <QBrush>
|
|
||||||
#include <QFile>
|
|
||||||
#include <QImage>
|
#include <QImage>
|
||||||
#include <QList>
|
|
||||||
#include <QPainter>
|
|
||||||
#include <QRect>
|
#include <QRect>
|
||||||
#include <QSize>
|
#include <QSize>
|
||||||
#include <QTransform>
|
|
||||||
|
|
||||||
//---------------------------------------------------------------------
|
//---------------------------------------------------------------------
|
||||||
|
|
||||||
|
|
|
@ -30,7 +30,6 @@
|
||||||
#define KP_DOCUMENT_H
|
#define KP_DOCUMENT_H
|
||||||
|
|
||||||
|
|
||||||
#include <QBitmap>
|
|
||||||
#include <QObject>
|
#include <QObject>
|
||||||
#include <QString>
|
#include <QString>
|
||||||
#include <QUrl>
|
#include <QUrl>
|
||||||
|
|
|
@ -37,7 +37,6 @@
|
||||||
#include "kpLogCategories.h"
|
#include "kpLogCategories.h"
|
||||||
#include <KSharedConfig>
|
#include <KSharedConfig>
|
||||||
|
|
||||||
#include <QBitmap>
|
|
||||||
#include <QImage>
|
#include <QImage>
|
||||||
#include <QString>
|
#include <QString>
|
||||||
|
|
||||||
|
|
|
@ -110,7 +110,7 @@ QImage kpDocument::getPixmapFromFile(const QUrl &url, bool suppressDoesntExistDi
|
||||||
// Or at least choose one consistently.
|
// Or at least choose one consistently.
|
||||||
//
|
//
|
||||||
// TODO: Have captions for all dialogs in KolourPaint.
|
// TODO: Have captions for all dialogs in KolourPaint.
|
||||||
KMessageBox::sorry (parent,
|
KMessageBox::error (parent,
|
||||||
i18n ("Could not open \"%1\".",
|
i18n ("Could not open \"%1\".",
|
||||||
kpUrlFormatter::PrettyFilename (url)));
|
kpUrlFormatter::PrettyFilename (url)));
|
||||||
}
|
}
|
||||||
|
@ -146,7 +146,7 @@ QImage kpDocument::getPixmapFromFile(const QUrl &url, bool suppressDoesntExistDi
|
||||||
|
|
||||||
if (image.isNull ())
|
if (image.isNull ())
|
||||||
{
|
{
|
||||||
KMessageBox::sorry (parent,
|
KMessageBox::error (parent,
|
||||||
i18n ("Could not open \"%1\" - unsupported image format.\n"
|
i18n ("Could not open \"%1\" - unsupported image format.\n"
|
||||||
"The file may be corrupt.",
|
"The file may be corrupt.",
|
||||||
kpUrlFormatter::PrettyFilename (url)));
|
kpUrlFormatter::PrettyFilename (url)));
|
||||||
|
|
|
@ -32,18 +32,10 @@
|
||||||
#include "kpDocumentPrivate.h"
|
#include "kpDocumentPrivate.h"
|
||||||
|
|
||||||
|
|
||||||
#include <QColor>
|
|
||||||
#include <QBitmap>
|
|
||||||
#include <QBrush>
|
|
||||||
#include <QFile>
|
#include <QFile>
|
||||||
#include <QImage>
|
#include <QImage>
|
||||||
#include <QList>
|
|
||||||
#include <QPainter>
|
|
||||||
#include <QRect>
|
|
||||||
#include <QSaveFile>
|
#include <QSaveFile>
|
||||||
#include <QSize>
|
|
||||||
#include <QTemporaryFile>
|
#include <QTemporaryFile>
|
||||||
#include <QTransform>
|
|
||||||
#include <QMimeDatabase>
|
#include <QMimeDatabase>
|
||||||
|
|
||||||
#include "kpLogCategories.h"
|
#include "kpLogCategories.h"
|
||||||
|
|
|
@ -31,7 +31,6 @@
|
||||||
|
|
||||||
#include "generic/widgets/kpResizeSignallingLabel.h"
|
#include "generic/widgets/kpResizeSignallingLabel.h"
|
||||||
|
|
||||||
#include <QEvent>
|
|
||||||
|
|
||||||
#include "kpLogCategories.h"
|
#include "kpLogCategories.h"
|
||||||
|
|
||||||
|
|
|
@ -31,7 +31,6 @@
|
||||||
|
|
||||||
#include <cmath>
|
#include <cmath>
|
||||||
|
|
||||||
#include <QBitmap>
|
|
||||||
#include <QImage>
|
#include <QImage>
|
||||||
|
|
||||||
#include "kpLogCategories.h"
|
#include "kpLogCategories.h"
|
||||||
|
|
|
@ -38,7 +38,6 @@
|
||||||
#include <cstdio>
|
#include <cstdio>
|
||||||
|
|
||||||
#include <QPainter>
|
#include <QPainter>
|
||||||
#include <QPolygon>
|
|
||||||
#include <QRandomGenerator>
|
#include <QRandomGenerator>
|
||||||
|
|
||||||
#include "kpLogCategories.h"
|
#include "kpLogCategories.h"
|
||||||
|
|
1
kpDefs.h
1
kpDefs.h
|
@ -32,7 +32,6 @@
|
||||||
|
|
||||||
#include <limits.h>
|
#include <limits.h>
|
||||||
|
|
||||||
#include <QtGlobal>
|
|
||||||
#include <QPoint>
|
#include <QPoint>
|
||||||
#include <QSize>
|
#include <QSize>
|
||||||
#include <QString>
|
#include <QString>
|
||||||
|
|
|
@ -29,11 +29,9 @@
|
||||||
|
|
||||||
#include "kpViewScrollableContainer.h"
|
#include "kpViewScrollableContainer.h"
|
||||||
|
|
||||||
#include <QBitmap>
|
|
||||||
#include <QCursor>
|
#include <QCursor>
|
||||||
#include <QKeyEvent>
|
#include <QKeyEvent>
|
||||||
#include <QPainter>
|
#include <QPainter>
|
||||||
#include <QPen>
|
|
||||||
#include <QPixmap>
|
#include <QPixmap>
|
||||||
#include <QTimer>
|
#include <QTimer>
|
||||||
#include <QScrollBar>
|
#include <QScrollBar>
|
||||||
|
|
|
@ -30,7 +30,6 @@
|
||||||
#define KP_VIEW_SCROLLABLE_CONTAINER_H
|
#define KP_VIEW_SCROLLABLE_CONTAINER_H
|
||||||
|
|
||||||
|
|
||||||
#include <QLabel>
|
|
||||||
#include <QPoint>
|
#include <QPoint>
|
||||||
#include <QScrollArea>
|
#include <QScrollArea>
|
||||||
#include <QSize>
|
#include <QSize>
|
||||||
|
|
|
@ -40,7 +40,6 @@
|
||||||
#include "kpLogCategories.h"
|
#include "kpLogCategories.h"
|
||||||
|
|
||||||
#include <QFontMetrics>
|
#include <QFontMetrics>
|
||||||
#include <QList>
|
|
||||||
|
|
||||||
|
|
||||||
// public
|
// public
|
||||||
|
|
|
@ -41,7 +41,6 @@
|
||||||
|
|
||||||
#include "kpLogCategories.h"
|
#include "kpLogCategories.h"
|
||||||
|
|
||||||
#include <QBitmap>
|
|
||||||
#include <QFont>
|
#include <QFont>
|
||||||
#include <QList>
|
#include <QList>
|
||||||
#include <QPainter>
|
#include <QPainter>
|
||||||
|
|
|
@ -31,7 +31,6 @@
|
||||||
#include "pixmapfx/kpPixmapFX.h"
|
#include "pixmapfx/kpPixmapFX.h"
|
||||||
#include "views/manager/kpViewManager.h"
|
#include "views/manager/kpViewManager.h"
|
||||||
|
|
||||||
#include <QPainter>
|
|
||||||
|
|
||||||
//---------------------------------------------------------------------
|
//---------------------------------------------------------------------
|
||||||
|
|
||||||
|
|
|
@ -36,7 +36,6 @@
|
||||||
#include <KLocalizedString>
|
#include <KLocalizedString>
|
||||||
#include <KMessageBox>
|
#include <KMessageBox>
|
||||||
#include "kpLogCategories.h"
|
#include "kpLogCategories.h"
|
||||||
#include <KStringHandler>
|
|
||||||
|
|
||||||
#include <QDir>
|
#include <QDir>
|
||||||
#include <QFile>
|
#include <QFile>
|
||||||
|
@ -117,7 +116,7 @@ kpColorCollection::~kpColorCollection()
|
||||||
|
|
||||||
static void CouldNotOpenDialog (const QUrl &url, QWidget *parent)
|
static void CouldNotOpenDialog (const QUrl &url, QWidget *parent)
|
||||||
{
|
{
|
||||||
KMessageBox::sorry (parent,
|
KMessageBox::error (parent,
|
||||||
i18n ("Could not open color palette \"%1\".",
|
i18n ("Could not open color palette \"%1\".",
|
||||||
kpUrlFormatter::PrettyFilename (url)));
|
kpUrlFormatter::PrettyFilename (url)));
|
||||||
}
|
}
|
||||||
|
@ -150,7 +149,7 @@ kpColorCollection::open(const QUrl &url, QWidget *parent)
|
||||||
QString line = stream.readLine();
|
QString line = stream.readLine();
|
||||||
if (line.indexOf(QLatin1String(" Palette")) == -1)
|
if (line.indexOf(QLatin1String(" Palette")) == -1)
|
||||||
{
|
{
|
||||||
KMessageBox::sorry (parent,
|
KMessageBox::error (parent,
|
||||||
i18n ("Could not open color palette \"%1\" - unsupported format.\n"
|
i18n ("Could not open color palette \"%1\" - unsupported format.\n"
|
||||||
"The file may be corrupt.",
|
"The file may be corrupt.",
|
||||||
kpUrlFormatter::PrettyFilename (url)));
|
kpUrlFormatter::PrettyFilename (url)));
|
||||||
|
@ -210,7 +209,7 @@ kpColorCollection::open(const QUrl &url, QWidget *parent)
|
||||||
|
|
||||||
static void CouldNotOpenKDEDialog (const QString &name, QWidget *parent)
|
static void CouldNotOpenKDEDialog (const QString &name, QWidget *parent)
|
||||||
{
|
{
|
||||||
KMessageBox::sorry (parent,
|
KMessageBox::error (parent,
|
||||||
i18n ("Could not open KDE color palette \"%1\".", name));
|
i18n ("Could not open KDE color palette \"%1\".", name));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -35,7 +35,6 @@
|
||||||
#include <kolourpaint_lgpl_export.h>
|
#include <kolourpaint_lgpl_export.h>
|
||||||
|
|
||||||
#include <QColor>
|
#include <QColor>
|
||||||
#include <QList>
|
|
||||||
#include <QString>
|
#include <QString>
|
||||||
#include <QStringList>
|
#include <QStringList>
|
||||||
#include <QWidget>
|
#include <QWidget>
|
||||||
|
|
|
@ -51,9 +51,7 @@
|
||||||
#include <KConfigGroup>
|
#include <KConfigGroup>
|
||||||
#include <KLocalizedString>
|
#include <KLocalizedString>
|
||||||
|
|
||||||
#include <QEvent>
|
|
||||||
#include <QMenu>
|
#include <QMenu>
|
||||||
#include <QTimer>
|
|
||||||
#include <QDropEvent>
|
#include <QDropEvent>
|
||||||
|
|
||||||
#include "kpLogCategories.h"
|
#include "kpLogCategories.h"
|
||||||
|
|
|
@ -41,6 +41,7 @@
|
||||||
|
|
||||||
#include <QFileDialog>
|
#include <QFileDialog>
|
||||||
#include <QAction>
|
#include <QAction>
|
||||||
|
#include <kwidgetsaddons_version.h>
|
||||||
|
|
||||||
//---------------------------------------------------------------------
|
//---------------------------------------------------------------------
|
||||||
|
|
||||||
|
@ -196,7 +197,11 @@ bool kpMainWindow::queryCloseColors ()
|
||||||
|
|
||||||
if (!colorCells ()->url ().isEmpty ())
|
if (!colorCells ()->url ().isEmpty ())
|
||||||
{
|
{
|
||||||
|
#if KWIDGETSADDONS_VERSION >= QT_VERSION_CHECK(5, 100, 0)
|
||||||
|
result = KMessageBox::warningTwoActionsCancel(this,
|
||||||
|
#else
|
||||||
result = KMessageBox::warningYesNoCancel (this,
|
result = KMessageBox::warningYesNoCancel (this,
|
||||||
|
#endif
|
||||||
i18n ("The color palette \"%1\" has been modified.\n"
|
i18n ("The color palette \"%1\" has been modified.\n"
|
||||||
"Do you want to save it?",
|
"Do you want to save it?",
|
||||||
kpUrlFormatter::PrettyFilename (colorCells ()->url ())),
|
kpUrlFormatter::PrettyFilename (colorCells ()->url ())),
|
||||||
|
@ -208,7 +213,11 @@ bool kpMainWindow::queryCloseColors ()
|
||||||
const QString name = colorCells ()->colorCollection ()->name ();
|
const QString name = colorCells ()->colorCollection ()->name ();
|
||||||
if (!name.isEmpty ())
|
if (!name.isEmpty ())
|
||||||
{
|
{
|
||||||
|
#if KWIDGETSADDONS_VERSION >= QT_VERSION_CHECK(5, 100, 0)
|
||||||
|
result = KMessageBox::warningTwoActionsCancel(this,
|
||||||
|
#else
|
||||||
result = KMessageBox::warningYesNoCancel (this,
|
result = KMessageBox::warningYesNoCancel (this,
|
||||||
|
#endif
|
||||||
i18n ("The KDE color palette \"%1\" has been modified.\n"
|
i18n ("The KDE color palette \"%1\" has been modified.\n"
|
||||||
"Do you want to save it to a file?",
|
"Do you want to save it to a file?",
|
||||||
name),
|
name),
|
||||||
|
@ -217,7 +226,11 @@ bool kpMainWindow::queryCloseColors ()
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
#if KWIDGETSADDONS_VERSION >= QT_VERSION_CHECK(5, 100, 0)
|
||||||
|
result = KMessageBox::warningTwoActionsCancel(this,
|
||||||
|
#else
|
||||||
result = KMessageBox::warningYesNoCancel (this,
|
result = KMessageBox::warningYesNoCancel (this,
|
||||||
|
#endif
|
||||||
i18n ("The default color palette has been modified.\n"
|
i18n ("The default color palette has been modified.\n"
|
||||||
"Do you want to save it to a file?"),
|
"Do you want to save it to a file?"),
|
||||||
QString ()/*caption*/,
|
QString ()/*caption*/,
|
||||||
|
@ -227,9 +240,17 @@ bool kpMainWindow::queryCloseColors ()
|
||||||
|
|
||||||
switch (result)
|
switch (result)
|
||||||
{
|
{
|
||||||
|
#if KWIDGETSADDONS_VERSION >= QT_VERSION_CHECK(5, 100, 0)
|
||||||
|
case KMessageBox::ButtonCode::PrimaryAction:
|
||||||
|
#else
|
||||||
case KMessageBox::Yes:
|
case KMessageBox::Yes:
|
||||||
|
#endif
|
||||||
return slotColorsSave (); // close only if save succeeds
|
return slotColorsSave (); // close only if save succeeds
|
||||||
|
#if KWIDGETSADDONS_VERSION >= QT_VERSION_CHECK(5, 100, 0)
|
||||||
|
case KMessageBox::ButtonCode::SecondaryAction:
|
||||||
|
#else
|
||||||
case KMessageBox::No:
|
case KMessageBox::No:
|
||||||
|
#endif
|
||||||
return true; // close without saving
|
return true; // close without saving
|
||||||
default:
|
default:
|
||||||
return false; // don't close current doc
|
return false; // don't close current doc
|
||||||
|
|
|
@ -35,8 +35,8 @@
|
||||||
#include <QImage>
|
#include <QImage>
|
||||||
#include <QList>
|
#include <QList>
|
||||||
#include <QMenu>
|
#include <QMenu>
|
||||||
#include <QDesktopWidget>
|
|
||||||
#include <QScrollBar>
|
#include <QScrollBar>
|
||||||
|
#include <QScreen>
|
||||||
|
|
||||||
#include "kpLogCategories.h"
|
#include "kpLogCategories.h"
|
||||||
#include <KMessageBox>
|
#include <KMessageBox>
|
||||||
|
@ -500,8 +500,9 @@ void kpMainWindow::pasteText (const QString &text,
|
||||||
width = std::max(width, fontMetrics.horizontalAdvance(str));
|
width = std::max(width, fontMetrics.horizontalAdvance(str));
|
||||||
|
|
||||||
// limit the size to avoid memory overflow
|
// limit the size to avoid memory overflow
|
||||||
width = qMin(qMax(QApplication::desktop()->width(), d->document ? d->document->width() : 0), width);
|
const QSize desktopSize = QApplication::primaryScreen()->virtualSize();
|
||||||
height = qMin(qMax(QApplication::desktop()->height(), d->document ? d->document->height() : 0), height);
|
width = qMin(qMax(desktopSize.width(), d->document ? d->document->width() : 0), width);
|
||||||
|
height = qMin(qMax(desktopSize.height(), d->document ? d->document->height() : 0), height);
|
||||||
|
|
||||||
const int selWidth = qMax (kpTextSelection::MinimumWidthForTextStyle (ts),
|
const int selWidth = qMax (kpTextSelection::MinimumWidthForTextStyle (ts),
|
||||||
width + kpTextSelection::TextBorderSize () * 2);
|
width + kpTextSelection::TextBorderSize () * 2);
|
||||||
|
@ -606,7 +607,7 @@ void kpMainWindow::slotPaste()
|
||||||
{
|
{
|
||||||
kpSetOverrideCursorSaver cursorSaver(Qt::ArrowCursor);
|
kpSetOverrideCursorSaver cursorSaver(Qt::ArrowCursor);
|
||||||
|
|
||||||
KMessageBox::sorry(this,
|
KMessageBox::error(this,
|
||||||
i18n("<qt>KolourPaint cannot paste the contents of"
|
i18n("<qt>KolourPaint cannot paste the contents of"
|
||||||
" the clipboard as it has an unknown format.</qt>"),
|
" the clipboard as it has an unknown format.</qt>"),
|
||||||
i18n("Cannot Paste"));
|
i18n("Cannot Paste"));
|
||||||
|
|
|
@ -31,8 +31,6 @@
|
||||||
#include "kpMainWindowPrivate.h"
|
#include "kpMainWindowPrivate.h"
|
||||||
|
|
||||||
#include <QAction>
|
#include <QAction>
|
||||||
#include <QDataStream>
|
|
||||||
#include <QDesktopWidget>
|
|
||||||
#include <QDialog>
|
#include <QDialog>
|
||||||
#include <QDialogButtonBox>
|
#include <QDialogButtonBox>
|
||||||
#include <QFileDialog>
|
#include <QFileDialog>
|
||||||
|
@ -41,7 +39,6 @@
|
||||||
#include <QSize>
|
#include <QSize>
|
||||||
#include <QPrinter>
|
#include <QPrinter>
|
||||||
#include <QPrintDialog>
|
#include <QPrintDialog>
|
||||||
#include <QScreen>
|
|
||||||
#include <QApplication>
|
#include <QApplication>
|
||||||
#include <QTimer>
|
#include <QTimer>
|
||||||
#include <QLabel>
|
#include <QLabel>
|
||||||
|
@ -51,6 +48,7 @@
|
||||||
#include <QImageWriter>
|
#include <QImageWriter>
|
||||||
#include <QMimeDatabase>
|
#include <QMimeDatabase>
|
||||||
#include <QPrintPreviewDialog>
|
#include <QPrintPreviewDialog>
|
||||||
|
#include <QScreen>
|
||||||
|
|
||||||
#include <KActionCollection>
|
#include <KActionCollection>
|
||||||
#include <KEMailClientLauncherJob>
|
#include <KEMailClientLauncherJob>
|
||||||
|
@ -78,6 +76,7 @@
|
||||||
|
|
||||||
#if HAVE_KSANE
|
#if HAVE_KSANE
|
||||||
#include "../scan/sanedialog.h"
|
#include "../scan/sanedialog.h"
|
||||||
|
#include <kwidgetsaddons_version.h>
|
||||||
#endif // HAVE_KSANE
|
#endif // HAVE_KSANE
|
||||||
|
|
||||||
// private
|
// private
|
||||||
|
@ -543,7 +542,7 @@ void kpMainWindow::slotScan ()
|
||||||
// No scanning support (kdegraphics/libkscan) installed?
|
// No scanning support (kdegraphics/libkscan) installed?
|
||||||
if (!d->scanDialog)
|
if (!d->scanDialog)
|
||||||
{
|
{
|
||||||
KMessageBox::sorry (this,
|
KMessageBox::error (this,
|
||||||
i18n("Failed to open scanning dialog."),
|
i18n("Failed to open scanning dialog."),
|
||||||
i18nc("@title:window", "Scanning Failed"));
|
i18nc("@title:window", "Scanning Failed"));
|
||||||
return;
|
return;
|
||||||
|
@ -698,7 +697,7 @@ void kpMainWindow::slotScreenshot()
|
||||||
void kpMainWindow::slotMakeScreenshot()
|
void kpMainWindow::slotMakeScreenshot()
|
||||||
{
|
{
|
||||||
QCoreApplication::processEvents();
|
QCoreApplication::processEvents();
|
||||||
QPixmap pixmap = QGuiApplication::primaryScreen()->grabWindow(QApplication::desktop()->winId());
|
QPixmap pixmap = QGuiApplication::primaryScreen()->grabWindow(0 /* entire screen*/);
|
||||||
|
|
||||||
auto *doc = new kpDocument(pixmap.width(), pixmap.height(), documentEnvironment());
|
auto *doc = new kpDocument(pixmap.width(), pixmap.height(), documentEnvironment());
|
||||||
doc->setImage(pixmap.toImage());
|
doc->setImage(pixmap.toImage());
|
||||||
|
@ -1406,13 +1405,21 @@ void kpMainWindow::slotMail ()
|
||||||
!(d->document->isFromExistingURL () && d->document->urlExists (d->document->url ())) ||
|
!(d->document->isFromExistingURL () && d->document->urlExists (d->document->url ())) ||
|
||||||
d->document->isModified ()/*needs to be saved*/)
|
d->document->isModified ()/*needs to be saved*/)
|
||||||
{
|
{
|
||||||
|
#if KWIDGETSADDONS_VERSION >= QT_VERSION_CHECK(5, 100, 0)
|
||||||
|
int result = KMessageBox::questionTwoActions(this,
|
||||||
|
#else
|
||||||
int result = KMessageBox::questionYesNo (this,
|
int result = KMessageBox::questionYesNo (this,
|
||||||
|
#endif
|
||||||
i18n ("You must save this image before sending it.\n"
|
i18n ("You must save this image before sending it.\n"
|
||||||
"Do you want to save it?"),
|
"Do you want to save it?"),
|
||||||
QString(),
|
QString(),
|
||||||
KStandardGuiItem::save (), KStandardGuiItem::cancel ());
|
KStandardGuiItem::save (), KStandardGuiItem::cancel ());
|
||||||
|
|
||||||
|
#if KWIDGETSADDONS_VERSION >= QT_VERSION_CHECK(5, 100, 0)
|
||||||
|
if (result == KMessageBox::ButtonCode::PrimaryAction)
|
||||||
|
#else
|
||||||
if (result == KMessageBox::Yes)
|
if (result == KMessageBox::Yes)
|
||||||
|
#endif
|
||||||
{
|
{
|
||||||
if (!save ())
|
if (!save ())
|
||||||
{
|
{
|
||||||
|
@ -1444,7 +1451,11 @@ bool kpMainWindow::queryCloseDocument ()
|
||||||
return true; // ok to close current doc
|
return true; // ok to close current doc
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#if KWIDGETSADDONS_VERSION >= QT_VERSION_CHECK(5, 100, 0)
|
||||||
|
int result = KMessageBox::warningTwoActionsCancel(this,
|
||||||
|
#else
|
||||||
int result = KMessageBox::warningYesNoCancel (this,
|
int result = KMessageBox::warningYesNoCancel (this,
|
||||||
|
#endif
|
||||||
i18n ("The document \"%1\" has been modified.\n"
|
i18n ("The document \"%1\" has been modified.\n"
|
||||||
"Do you want to save it?",
|
"Do you want to save it?",
|
||||||
d->document->prettyFilename ()),
|
d->document->prettyFilename ()),
|
||||||
|
@ -1453,9 +1464,17 @@ bool kpMainWindow::queryCloseDocument ()
|
||||||
|
|
||||||
switch (result)
|
switch (result)
|
||||||
{
|
{
|
||||||
|
#if KWIDGETSADDONS_VERSION >= QT_VERSION_CHECK(5, 100, 0)
|
||||||
|
case KMessageBox::ButtonCode::PrimaryAction:
|
||||||
|
#else
|
||||||
case KMessageBox::Yes:
|
case KMessageBox::Yes:
|
||||||
|
#endif
|
||||||
return slotSave (); // close only if save succeeds
|
return slotSave (); // close only if save succeeds
|
||||||
|
#if KWIDGETSADDONS_VERSION >= QT_VERSION_CHECK(5, 100, 0)
|
||||||
|
case KMessageBox::ButtonCode::SecondaryAction:
|
||||||
|
#else
|
||||||
case KMessageBox::No:
|
case KMessageBox::No:
|
||||||
|
#endif
|
||||||
return true; // close without saving
|
return true; // close without saving
|
||||||
default:
|
default:
|
||||||
return false; // don't close current doc
|
return false; // don't close current doc
|
||||||
|
|
|
@ -40,7 +40,6 @@
|
||||||
|
|
||||||
#include "kpDefs.h"
|
#include "kpDefs.h"
|
||||||
#include "document/kpDocument.h"
|
#include "document/kpDocument.h"
|
||||||
#include "tools/kpToolAction.h"
|
|
||||||
#include "widgets/toolbars/kpToolToolBar.h"
|
#include "widgets/toolbars/kpToolToolBar.h"
|
||||||
#include "environments/tools/kpToolEnvironment.h"
|
#include "environments/tools/kpToolEnvironment.h"
|
||||||
|
|
||||||
|
|
|
@ -30,7 +30,6 @@
|
||||||
#include "kpMainWindowPrivate.h"
|
#include "kpMainWindowPrivate.h"
|
||||||
|
|
||||||
#include <QActionGroup>
|
#include <QActionGroup>
|
||||||
#include <QList>
|
|
||||||
|
|
||||||
#include <KActionCollection>
|
#include <KActionCollection>
|
||||||
#include <KSharedConfig>
|
#include <KSharedConfig>
|
||||||
|
@ -43,7 +42,6 @@
|
||||||
#include "document/kpDocument.h"
|
#include "document/kpDocument.h"
|
||||||
#include "layers/selections/image/kpImageSelectionTransparency.h"
|
#include "layers/selections/image/kpImageSelectionTransparency.h"
|
||||||
#include "tools/kpTool.h"
|
#include "tools/kpTool.h"
|
||||||
#include "tools/kpToolAction.h"
|
|
||||||
#include "tools/flow/kpToolBrush.h"
|
#include "tools/flow/kpToolBrush.h"
|
||||||
#include "tools/flow/kpToolColorEraser.h"
|
#include "tools/flow/kpToolColorEraser.h"
|
||||||
#include "tools/kpToolColorPicker.h"
|
#include "tools/kpToolColorPicker.h"
|
||||||
|
@ -242,7 +240,7 @@ void kpMainWindow::enableToolsDocumentActions (bool enable)
|
||||||
|
|
||||||
for (auto *tool : d->tools)
|
for (auto *tool : d->tools)
|
||||||
{
|
{
|
||||||
kpToolAction *action = tool->action();
|
KToggleAction *action = tool->action();
|
||||||
if (!enable && action->isChecked()) {
|
if (!enable && action->isChecked()) {
|
||||||
action->setChecked(false);
|
action->setChecked(false);
|
||||||
}
|
}
|
||||||
|
|
|
@ -31,11 +31,11 @@
|
||||||
#include "kpMainWindowPrivate.h"
|
#include "kpMainWindowPrivate.h"
|
||||||
#include "kpLogCategories.h"
|
#include "kpLogCategories.h"
|
||||||
|
|
||||||
|
#include <QRegularExpression>
|
||||||
#include <QScrollBar>
|
#include <QScrollBar>
|
||||||
|
|
||||||
#include <KSelectAction>
|
#include <KSelectAction>
|
||||||
#include <KStandardAction>
|
#include <KStandardAction>
|
||||||
#include <KToggleAction>
|
|
||||||
#include <KActionCollection>
|
#include <KActionCollection>
|
||||||
#include <KLocalizedString>
|
#include <KLocalizedString>
|
||||||
|
|
||||||
|
@ -62,7 +62,7 @@ static int ZoomLevelFromString (const QString &stringIn)
|
||||||
// 1. kdelibs adds accelerators to actions' text directly
|
// 1. kdelibs adds accelerators to actions' text directly
|
||||||
// 2. ',' is automatically added to change "1000%" to "1,000%"
|
// 2. ',' is automatically added to change "1000%" to "1,000%"
|
||||||
QString string = stringIn;
|
QString string = stringIn;
|
||||||
string.remove (QRegExp ("[^0-9]"));
|
string.remove(QRegularExpression(QStringLiteral("[^0-9]")));
|
||||||
#if DEBUG_KP_MAIN_WINDOW
|
#if DEBUG_KP_MAIN_WINDOW
|
||||||
qCDebug(kpLogMainWindow) << "\twithout non-digits='" << string << "'";
|
qCDebug(kpLogMainWindow) << "\twithout non-digits='" << string << "'";
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -23,6 +23,7 @@
|
||||||
<name xml:lang="hu">KolourPaint</name>
|
<name xml:lang="hu">KolourPaint</name>
|
||||||
<name xml:lang="ia">KolourPaint</name>
|
<name xml:lang="ia">KolourPaint</name>
|
||||||
<name xml:lang="id">KolourPaint</name>
|
<name xml:lang="id">KolourPaint</name>
|
||||||
|
<name xml:lang="is">KolourPaint</name>
|
||||||
<name xml:lang="it">KolourPaint</name>
|
<name xml:lang="it">KolourPaint</name>
|
||||||
<name xml:lang="ka">KolourPaint</name>
|
<name xml:lang="ka">KolourPaint</name>
|
||||||
<name xml:lang="ko">KolourPaint</name>
|
<name xml:lang="ko">KolourPaint</name>
|
||||||
|
@ -64,6 +65,7 @@
|
||||||
<summary xml:lang="hu">Rajzolóprogram</summary>
|
<summary xml:lang="hu">Rajzolóprogram</summary>
|
||||||
<summary xml:lang="ia">Programma per pinger</summary>
|
<summary xml:lang="ia">Programma per pinger</summary>
|
||||||
<summary xml:lang="id">Program Lukis</summary>
|
<summary xml:lang="id">Program Lukis</summary>
|
||||||
|
<summary xml:lang="is">Myndmálunarforrit</summary>
|
||||||
<summary xml:lang="it">Programma di disegno</summary>
|
<summary xml:lang="it">Programma di disegno</summary>
|
||||||
<summary xml:lang="ka">სახატავი პროგრამა</summary>
|
<summary xml:lang="ka">სახატავი პროგრამა</summary>
|
||||||
<summary xml:lang="ko">그리기 프로그램</summary>
|
<summary xml:lang="ko">그리기 프로그램</summary>
|
||||||
|
@ -108,6 +110,7 @@
|
||||||
<p xml:lang="hu">A KolourPaint egy egyszerű rajzolóprogram raszteres képek gyors létrehozásához. Hasznos retusálóeszközként és egyszerű képszerkesztő feladatokhoz.</p>
|
<p xml:lang="hu">A KolourPaint egy egyszerű rajzolóprogram raszteres képek gyors létrehozásához. Hasznos retusálóeszközként és egyszerű képszerkesztő feladatokhoz.</p>
|
||||||
<p xml:lang="ia">KolourPAint es un simple programma per pinger o designar per crear rapidemente imagines raster. Il es utile como instrumento de retocco e per cargas simplice de modificar imagines.</p>
|
<p xml:lang="ia">KolourPAint es un simple programma per pinger o designar per crear rapidemente imagines raster. Il es utile como instrumento de retocco e per cargas simplice de modificar imagines.</p>
|
||||||
<p xml:lang="id">KolourPaint adalah program melukis sederhana untuk membuat gambar raster dengan cepat. Ini berguna sebagai alat bantu dan tugas pengeditan gambar sederhana.</p>
|
<p xml:lang="id">KolourPaint adalah program melukis sederhana untuk membuat gambar raster dengan cepat. Ini berguna sebagai alat bantu dan tugas pengeditan gambar sederhana.</p>
|
||||||
|
<p xml:lang="is">KolourPaint er einfalt myndmálunarforrit sem gefur kost á að útbúa rastamyndir í snatri. Það nýtist vel í einfaldar lagfæringar og minni háttar myndvinnsluaðgerðir.</p>
|
||||||
<p xml:lang="it">KolourPaint è un semplice programma di disegno per la creazione rapida di immagini. È utile come strumento da usare «al volo» e per effettuare semplici modifiche alle immagini.</p>
|
<p xml:lang="it">KolourPaint è un semplice programma di disegno per la creazione rapida di immagini. È utile come strumento da usare «al volo» e per effettuare semplici modifiche alle immagini.</p>
|
||||||
<p xml:lang="ko">KolourPaint는 래스터 그림을 빠르게 만드는 프로그램입니다. 간단한 보정 도구 및 편집 도구로 사용할 수 있습니다.</p>
|
<p xml:lang="ko">KolourPaint는 래스터 그림을 빠르게 만드는 프로그램입니다. 간단한 보정 도구 및 편집 도구로 사용할 수 있습니다.</p>
|
||||||
<p xml:lang="nb">KolourPaint er et enkelt maleprogram som kjapt kan lage rasterbilder. Det er et nyttig verktøy for retusjering og enkle redigeringsoppgaver.</p>
|
<p xml:lang="nb">KolourPaint er et enkelt maleprogram som kjapt kan lage rasterbilder. Det er et nyttig verktøy for retusjering og enkle redigeringsoppgaver.</p>
|
||||||
|
@ -147,8 +150,9 @@
|
||||||
<p xml:lang="hu">Szolgáltatások:</p>
|
<p xml:lang="hu">Szolgáltatások:</p>
|
||||||
<p xml:lang="ia">Characteristicas:</p>
|
<p xml:lang="ia">Characteristicas:</p>
|
||||||
<p xml:lang="id">Fitur:</p>
|
<p xml:lang="id">Fitur:</p>
|
||||||
|
<p xml:lang="is">Eiginleikar:</p>
|
||||||
<p xml:lang="it">Caratteristiche:</p>
|
<p xml:lang="it">Caratteristiche:</p>
|
||||||
<p xml:lang="ka">თვისებები:</p>
|
<p xml:lang="ka">ფუნქციები:</p>
|
||||||
<p xml:lang="ko">기능:</p>
|
<p xml:lang="ko">기능:</p>
|
||||||
<p xml:lang="lt">Galimybės:</p>
|
<p xml:lang="lt">Galimybės:</p>
|
||||||
<p xml:lang="nb">Funksjoner:</p>
|
<p xml:lang="nb">Funksjoner:</p>
|
||||||
|
@ -162,6 +166,7 @@
|
||||||
<p xml:lang="sk">Funkcie:</p>
|
<p xml:lang="sk">Funkcie:</p>
|
||||||
<p xml:lang="sl">Zmožnosti:</p>
|
<p xml:lang="sl">Zmožnosti:</p>
|
||||||
<p xml:lang="sv">Funktioner:</p>
|
<p xml:lang="sv">Funktioner:</p>
|
||||||
|
<p xml:lang="ta">அம்சங்கள்:</p>
|
||||||
<p xml:lang="tok">ken pali:</p>
|
<p xml:lang="tok">ken pali:</p>
|
||||||
<p xml:lang="tr">Özellikler:</p>
|
<p xml:lang="tr">Özellikler:</p>
|
||||||
<p xml:lang="uk">Можливості:</p>
|
<p xml:lang="uk">Можливості:</p>
|
||||||
|
@ -188,6 +193,7 @@
|
||||||
<li xml:lang="hu">Különféle alakzatok rajzolásának támogatása - vonalak, téglalapok, lekerekített téglalapok, oválisok és sokszögek</li>
|
<li xml:lang="hu">Különféle alakzatok rajzolásának támogatása - vonalak, téglalapok, lekerekített téglalapok, oválisok és sokszögek</li>
|
||||||
<li xml:lang="ia">Supporto pro designar varie formas - lineas, rectangulos, rectangulos tundite, ovales e polygonos</li>
|
<li xml:lang="ia">Supporto pro designar varie formas - lineas, rectangulos, rectangulos tundite, ovales e polygonos</li>
|
||||||
<li xml:lang="id">Dukungan untuk menggambar berbagai bentuk - garis, persegi panjang, persegi panjang, bulat, oval dan poligon</li>
|
<li xml:lang="id">Dukungan untuk menggambar berbagai bentuk - garis, persegi panjang, persegi panjang, bulat, oval dan poligon</li>
|
||||||
|
<li xml:lang="is">Stuðningur við að teikna ýmis form - línur, rétthyrninga, rúnnaða rétthyrninga, sporöskjur og marghyrninga</li>
|
||||||
<li xml:lang="it">Supporto per il disegno di varie forme - linee, rettangoli, rettangoli arrotondati, ovali e poligoni</li>
|
<li xml:lang="it">Supporto per il disegno di varie forme - linee, rettangoli, rettangoli arrotondati, ovali e poligoni</li>
|
||||||
<li xml:lang="ko">다양한 도형 그리기 - 직선, 사각형, 둥근 사각형, 타원형, 다각형</li>
|
<li xml:lang="ko">다양한 도형 그리기 - 직선, 사각형, 둥근 사각형, 타원형, 다각형</li>
|
||||||
<li xml:lang="nb">Støtte for å tegne mange former – linjer, rektangler, avrundede rektangler, ovaler og polygoner</li>
|
<li xml:lang="nb">Støtte for å tegne mange former – linjer, rektangler, avrundede rektangler, ovaler og polygoner</li>
|
||||||
|
@ -227,6 +233,7 @@
|
||||||
<li xml:lang="hu">Görbék, vonalak és szöveg</li>
|
<li xml:lang="hu">Görbék, vonalak és szöveg</li>
|
||||||
<li xml:lang="ia">Curvas, lineas e texto</li>
|
<li xml:lang="ia">Curvas, lineas e texto</li>
|
||||||
<li xml:lang="id">Lengkung, garis, dan teks</li>
|
<li xml:lang="id">Lengkung, garis, dan teks</li>
|
||||||
|
<li xml:lang="is">Ferlar, línur og texti</li>
|
||||||
<li xml:lang="it">Curve, linee e testo</li>
|
<li xml:lang="it">Curve, linee e testo</li>
|
||||||
<li xml:lang="ka">მრუდები, ხაზები და ტექსტი</li>
|
<li xml:lang="ka">მრუდები, ხაზები და ტექსტი</li>
|
||||||
<li xml:lang="ko">곡선, 직선 및 텍스트</li>
|
<li xml:lang="ko">곡선, 직선 및 텍스트</li>
|
||||||
|
@ -268,6 +275,7 @@
|
||||||
<li xml:lang="hu">Színválasztó</li>
|
<li xml:lang="hu">Színválasztó</li>
|
||||||
<li xml:lang="ia">Selector de color</li>
|
<li xml:lang="ia">Selector de color</li>
|
||||||
<li xml:lang="id">Penukil warna</li>
|
<li xml:lang="id">Penukil warna</li>
|
||||||
|
<li xml:lang="is">Litplokkari</li>
|
||||||
<li xml:lang="it">Selettore del colore</li>
|
<li xml:lang="it">Selettore del colore</li>
|
||||||
<li xml:lang="ka">ფერების არჩევა</li>
|
<li xml:lang="ka">ფერების არჩევა</li>
|
||||||
<li xml:lang="ko">색 선택기</li>
|
<li xml:lang="ko">색 선택기</li>
|
||||||
|
@ -309,6 +317,7 @@
|
||||||
<li xml:lang="hu">Kijelölések</li>
|
<li xml:lang="hu">Kijelölések</li>
|
||||||
<li xml:lang="ia">Selectiones</li>
|
<li xml:lang="ia">Selectiones</li>
|
||||||
<li xml:lang="id">Pemilihan</li>
|
<li xml:lang="id">Pemilihan</li>
|
||||||
|
<li xml:lang="is">Myndval</li>
|
||||||
<li xml:lang="it">Selezioni</li>
|
<li xml:lang="it">Selezioni</li>
|
||||||
<li xml:lang="ka">მონიშნულები</li>
|
<li xml:lang="ka">მონიშნულები</li>
|
||||||
<li xml:lang="ko">선택</li>
|
<li xml:lang="ko">선택</li>
|
||||||
|
@ -349,6 +358,7 @@
|
||||||
<li xml:lang="hu">Forgatás, fekete-fehér és egyéb speciális hatások</li>
|
<li xml:lang="hu">Forgatás, fekete-fehér és egyéb speciális hatások</li>
|
||||||
<li xml:lang="ia">Rotation, monochrome e altere effectos avantiate</li>
|
<li xml:lang="ia">Rotation, monochrome e altere effectos avantiate</li>
|
||||||
<li xml:lang="id">Perotasian, monokrom, dan efek tingkat lanjut lainnya</li>
|
<li xml:lang="id">Perotasian, monokrom, dan efek tingkat lanjut lainnya</li>
|
||||||
|
<li xml:lang="is">Snúningur, einlitur og aðrir þróaðir eiginleikar</li>
|
||||||
<li xml:lang="it">Rotazione, monocromia e altri effetti avanzati</li>
|
<li xml:lang="it">Rotazione, monocromia e altri effetti avanzati</li>
|
||||||
<li xml:lang="ka">მობრუნება, შავთეთრობა და სხვა დამატებითი ეფექტები</li>
|
<li xml:lang="ka">მობრუნება, შავთეთრობა და სხვა დამატებითი ეფექტები</li>
|
||||||
<li xml:lang="ko">회전, 흑백, 기타 고급 효과</li>
|
<li xml:lang="ko">회전, 흑백, 기타 고급 효과</li>
|
||||||
|
@ -394,6 +404,7 @@
|
||||||
<caption xml:lang="gl">Pintando en KolourPaint</caption>
|
<caption xml:lang="gl">Pintando en KolourPaint</caption>
|
||||||
<caption xml:lang="ia">Pingente in KolourPaint</caption>
|
<caption xml:lang="ia">Pingente in KolourPaint</caption>
|
||||||
<caption xml:lang="id">Melukis di KolourPaint</caption>
|
<caption xml:lang="id">Melukis di KolourPaint</caption>
|
||||||
|
<caption xml:lang="is">Mála með KolourPaint</caption>
|
||||||
<caption xml:lang="it">Dipingere in KolourPaint</caption>
|
<caption xml:lang="it">Dipingere in KolourPaint</caption>
|
||||||
<caption xml:lang="ka">KolourPaint-ში ხატვა</caption>
|
<caption xml:lang="ka">KolourPaint-ში ხატვა</caption>
|
||||||
<caption xml:lang="ko">KolourPaint로 그림 그리기</caption>
|
<caption xml:lang="ko">KolourPaint로 그림 그리기</caption>
|
||||||
|
@ -421,9 +432,9 @@
|
||||||
<binary>kolourpaint</binary>
|
<binary>kolourpaint</binary>
|
||||||
</provides>
|
</provides>
|
||||||
<releases>
|
<releases>
|
||||||
|
<release version="22.12.1" date="2023-01-05"/>
|
||||||
|
<release version="22.12.0" date="2022-12-08"/>
|
||||||
<release version="22.08.3" date="2022-11-03"/>
|
<release version="22.08.3" date="2022-11-03"/>
|
||||||
<release version="22.08.2" date="2022-10-13"/>
|
<release version="22.08.2" date="2022-10-13"/>
|
||||||
<release version="22.08.1" date="2022-09-08"/>
|
|
||||||
<release version="22.08.0" date="2022-08-18"/>
|
|
||||||
</releases>
|
</releases>
|
||||||
</component>
|
</component>
|
||||||
|
|
|
@ -65,6 +65,7 @@ Name[sv]=Kolourpaint
|
||||||
Name[ta]=நிற பெயின்ட்
|
Name[ta]=நிற பெயின்ட்
|
||||||
Name[tg]=KolourPaint
|
Name[tg]=KolourPaint
|
||||||
Name[th]=วาดภาพระบายสี-K
|
Name[th]=วาดภาพระบายสี-K
|
||||||
|
Name[tok]=ilo KolourPaint
|
||||||
Name[tr]=KolourPaint
|
Name[tr]=KolourPaint
|
||||||
Name[ug]=KolourPaint
|
Name[ug]=KolourPaint
|
||||||
Name[uk]=KolourPaint
|
Name[uk]=KolourPaint
|
||||||
|
@ -140,6 +141,7 @@ GenericName[sv]=Ritprogram
|
||||||
GenericName[ta]=பெயிண்ட் நிரலி
|
GenericName[ta]=பெயிண்ட் நிரலி
|
||||||
GenericName[tg]=Муҳаррири графикӣ
|
GenericName[tg]=Муҳаррири графикӣ
|
||||||
GenericName[th]=โปรแกรมวาดภาพ
|
GenericName[th]=โปรแกรมวาดภาพ
|
||||||
|
GenericName[tok]=ilo sitelen
|
||||||
GenericName[tr]=Boyama Uygulaması
|
GenericName[tr]=Boyama Uygulaması
|
||||||
GenericName[ug]=سىزىش پروگراممىسى
|
GenericName[ug]=سىزىش پروگراممىسى
|
||||||
GenericName[uk]=Програма для малювання
|
GenericName[uk]=Програма для малювання
|
||||||
|
@ -186,6 +188,7 @@ Comment[ru]=Простая в использовании программа дл
|
||||||
Comment[sk]=Jednoduchý maľovací program
|
Comment[sk]=Jednoduchý maľovací program
|
||||||
Comment[sl]=Enostaven program za risanje
|
Comment[sl]=Enostaven program za risanje
|
||||||
Comment[sv]=Ett lättanvänt ritprogram
|
Comment[sv]=Ett lättanvänt ritprogram
|
||||||
|
Comment[tok]=ilo sitelen pona
|
||||||
Comment[tr]=Kolay kullanılır bir boyama programı
|
Comment[tr]=Kolay kullanılır bir boyama programı
|
||||||
Comment[uk]=Проста у користуванні програма для малювання
|
Comment[uk]=Проста у користуванні програма для малювання
|
||||||
Comment[x-test]=xxAn easy-to-use paint programxx
|
Comment[x-test]=xxAn easy-to-use paint programxx
|
||||||
|
@ -203,4 +206,3 @@ StartupWMClass=kolourpaint
|
||||||
MimeType=application/x-krita;application/x-navi-animation;image/avif;image/bmp;image/gif;image/heif;image/jpeg;image/jxl;image/openraster;image/png;image/svg+xml;image/svg+xml-compressed;image/tiff;image/vnd.adobe.photoshop;image/vnd.microsoft.icon;image/vnd.wap.wbmp;image/webp;image/x-eps;image/x-exr;image/x-hdr;image/x-icns;image/x-mng;image/x-pcx;image/x-pic;image/x-portable-bitmap;image/x-portable-graymap;image/x-portable-pixmap;image/x-rgb;image/x-sun-raster;image/x-tga;image/x-xbitmap;image/x-xcf;image/x-xpixmap;
|
MimeType=application/x-krita;application/x-navi-animation;image/avif;image/bmp;image/gif;image/heif;image/jpeg;image/jxl;image/openraster;image/png;image/svg+xml;image/svg+xml-compressed;image/tiff;image/vnd.adobe.photoshop;image/vnd.microsoft.icon;image/vnd.wap.wbmp;image/webp;image/x-eps;image/x-exr;image/x-hdr;image/x-icns;image/x-mng;image/x-pcx;image/x-pic;image/x-portable-bitmap;image/x-portable-graymap;image/x-portable-pixmap;image/x-rgb;image/x-sun-raster;image/x-tga;image/x-xbitmap;image/x-xcf;image/x-xpixmap;
|
||||||
|
|
||||||
Categories=Qt;KDE;Graphics;2DGraphics;RasterGraphics;
|
Categories=Qt;KDE;Graphics;2DGraphics;RasterGraphics;
|
||||||
Terminal=false
|
|
||||||
|
|
|
@ -34,7 +34,6 @@
|
||||||
|
|
||||||
|
|
||||||
#include <QRect>
|
#include <QRect>
|
||||||
#include <QString>
|
|
||||||
|
|
||||||
#include <KLocalizedString>
|
#include <KLocalizedString>
|
||||||
|
|
||||||
|
|
|
@ -33,9 +33,7 @@
|
||||||
|
|
||||||
|
|
||||||
#include <QPainter>
|
#include <QPainter>
|
||||||
#include <QPainterPath>
|
|
||||||
#include <QImage>
|
#include <QImage>
|
||||||
#include <QPoint>
|
|
||||||
#include <QPolygon>
|
#include <QPolygon>
|
||||||
|
|
||||||
#include "kpLogCategories.h"
|
#include "kpLogCategories.h"
|
||||||
|
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue