aboutsummaryrefslogtreecommitdiff
path: root/source/dgo
diff options
context:
space:
mode:
Diffstat (limited to 'source/dgo')
-rw-r--r--source/dgo/cui/messages.po10
-rw-r--r--source/dgo/sc/messages.po129
-rw-r--r--source/dgo/svx/messages.po12
3 files changed, 90 insertions, 61 deletions
diff --git a/source/dgo/cui/messages.po b/source/dgo/cui/messages.po
index 722881edb72..69b3c37b70c 100644
--- a/source/dgo/cui/messages.po
+++ b/source/dgo/cui/messages.po
@@ -3,7 +3,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: https://bugs.libreoffice.org/enter_bug.cgi?product=LibreOffice&bug_status=UNCONFIRMED&component=UI\n"
-"POT-Creation-Date: 2021-06-11 23:56+0200\n"
+"POT-Creation-Date: 2021-06-24 12:50+0200\n"
"PO-Revision-Date: 2018-11-14 11:35+0000\n"
"Last-Translator: Anonymous Pootle User\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
@@ -6043,9 +6043,9 @@ msgctxt "bulletandposition|label4"
msgid "Type:"
msgstr ""
-#. ccHCD
+#. 2GPJ3
#: cui/uiconfig/ui/bulletandposition.ui:279
-msgctxt "bulletandposition|entended_tip|numfmtlb"
+msgctxt "bulletandposition|extended_tip|numfmtlb"
msgid "Select the level(s) that you want to modify. To apply the options to all the levels, select “1-10”."
msgstr ""
@@ -6313,10 +6313,10 @@ msgctxt "bulletandposition|applytomaster"
msgid "Apply to Master"
msgstr ""
-#. cM2TD
+#. vr8Gu
#: cui/uiconfig/ui/bulletandposition.ui:1010
msgctxt "bulletandposition|extended_tip|applytomaster"
-msgid "Click to apply the the modification to all slides that use the current master slide."
+msgid "Click to apply the modification to all slides that use the current master slide."
msgstr ""
#. DiEaB
diff --git a/source/dgo/sc/messages.po b/source/dgo/sc/messages.po
index e5857d2abc4..98c12e23bdc 100644
--- a/source/dgo/sc/messages.po
+++ b/source/dgo/sc/messages.po
@@ -3,7 +3,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: https://bugs.libreoffice.org/enter_bug.cgi?product=LibreOffice&bug_status=UNCONFIRMED&component=UI\n"
-"POT-Creation-Date: 2021-06-04 13:10+0200\n"
+"POT-Creation-Date: 2021-06-24 12:51+0200\n"
"PO-Revision-Date: 2018-11-12 11:42+0000\n"
"Last-Translator: Anonymous Pootle User\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
@@ -33015,163 +33015,192 @@ msgctxt "tpviewpage|label3"
msgid "Zoom"
msgstr "ज़ूम करो"
-#. yajBD
-#: sc/uiconfig/scalc/ui/tpviewpage.ui:394
-msgctxt "extended_tip|color"
-msgid "Specifies a color for the grid lines in the current document."
+#. ShHLd
+#: sc/uiconfig/scalc/ui/tpviewpage.ui:376
+#, fuzzy
+msgctxt "tpviewpage|break"
+msgid "_Page breaks"
+msgstr "सफा खंडन"
+
+#. Vc5tW
+#: sc/uiconfig/scalc/ui/tpviewpage.ui:384
+msgctxt "extended_tip|break"
+msgid "Specifies whether to view the page breaks within a defined print area."
+msgstr ""
+
+#. xkuBL
+#: sc/uiconfig/scalc/ui/tpviewpage.ui:396
+#, fuzzy
+msgctxt "tpviewpage|guideline"
+msgid "Helplines _while moving"
+msgstr "लेंदे बेल्लै मार्गदर्शन करदा ऐ"
+
+#. KGEQG
+#: sc/uiconfig/scalc/ui/tpviewpage.ui:404
+msgctxt "extended_tip|guideline"
+msgid "Specifies whether to view guides when moving drawings, frames, graphics and other objects."
msgstr ""
#. bF3Yr
-#: sc/uiconfig/scalc/ui/tpviewpage.ui:407
+#: sc/uiconfig/scalc/ui/tpviewpage.ui:418
msgctxt "tpviewpage|grid_label"
msgid "_Grid lines:"
msgstr ""
#. E2U6D
-#: sc/uiconfig/scalc/ui/tpviewpage.ui:421
+#: sc/uiconfig/scalc/ui/tpviewpage.ui:431
#, fuzzy
msgctxt "tpviewpage|color_label"
msgid "_Color:"
msgstr "_Colour"
#. BUibB
-#: sc/uiconfig/scalc/ui/tpviewpage.ui:436
+#: sc/uiconfig/scalc/ui/tpviewpage.ui:445
msgctxt "tpviewpage|grid"
msgid "Show"
msgstr "दस्सो "
#. GXPYd
-#: sc/uiconfig/scalc/ui/tpviewpage.ui:437
+#: sc/uiconfig/scalc/ui/tpviewpage.ui:446
msgctxt "tpviewpage|grid"
msgid "Show on colored cells"
msgstr ""
#. ucTDZ
-#: sc/uiconfig/scalc/ui/tpviewpage.ui:438
+#: sc/uiconfig/scalc/ui/tpviewpage.ui:447
msgctxt "tpviewpage|grid"
msgid "Hide"
msgstr "छपैलो"
#. vFtNT
-#: sc/uiconfig/scalc/ui/tpviewpage.ui:442
+#: sc/uiconfig/scalc/ui/tpviewpage.ui:451
msgctxt "extended_tip|grid"
msgid "Specifies when grid lines will be displayed. Default is to display grid lines only on cells that do not have a background color. You can choose to also display grid lines on cells with background color, or to hide them."
msgstr ""
-#. ShHLd
-#: sc/uiconfig/scalc/ui/tpviewpage.ui:459
-#, fuzzy
-msgctxt "tpviewpage|break"
-msgid "_Page breaks"
-msgstr "सफा खंडन"
+#. yajBD
+#: sc/uiconfig/scalc/ui/tpviewpage.ui:474
+msgctxt "extended_tip|color"
+msgid "Specifies a color for the grid lines in the current document."
+msgstr ""
-#. Vc5tW
-#: sc/uiconfig/scalc/ui/tpviewpage.ui:467
-msgctxt "extended_tip|break"
-msgid "Specifies whether to view the page breaks within a defined print area."
+#. W68XF
+#: sc/uiconfig/scalc/ui/tpviewpage.ui:488
+msgctxt "tpviewpage|labelCursor"
+msgid "Cu_rsor:"
msgstr ""
-#. xkuBL
-#: sc/uiconfig/scalc/ui/tpviewpage.ui:478
-#, fuzzy
-msgctxt "tpviewpage|guideline"
-msgid "Helplines _while moving"
-msgstr "लेंदे बेल्लै मार्गदर्शन करदा ऐ"
+#. AmbjZ
+#: sc/uiconfig/scalc/ui/tpviewpage.ui:500
+msgctxt "tpviewpage|radiobuttonThemed"
+msgid "T_hemed"
+msgstr ""
-#. KGEQG
-#: sc/uiconfig/scalc/ui/tpviewpage.ui:486
-msgctxt "extended_tip|guideline"
-msgid "Specifies whether to view guides when moving drawings, frames, graphics and other objects."
+#. oNDyW
+#: sc/uiconfig/scalc/ui/tpviewpage.ui:504
+msgctxt "tpviewpage|radiobuttonThemedTip"
+msgid "Show the cursor as defined in the icon theme, typically as fat cross."
+msgstr ""
+
+#. 3HxpG
+#: sc/uiconfig/scalc/ui/tpviewpage.ui:516
+msgctxt "tpviewpage|radiobuttonSystem"
+msgid "S_ystem"
+msgstr ""
+
+#. WxBQE
+#: sc/uiconfig/scalc/ui/tpviewpage.ui:520
+msgctxt "tpviewpage|radiobuttonSystemTip"
+msgid "Show the cursor as system default, typically an arrow pointer."
msgstr ""
#. Cb4AM
-#: sc/uiconfig/scalc/ui/tpviewpage.ui:501
+#: sc/uiconfig/scalc/ui/tpviewpage.ui:536
msgctxt "tpviewpage|label1"
msgid "Visual Aids"
msgstr ""
#. Qd5Rp
-#: sc/uiconfig/scalc/ui/tpviewpage.ui:532
+#: sc/uiconfig/scalc/ui/tpviewpage.ui:567
msgctxt "tpviewpage|objgrf_label"
msgid "Ob_jects/Images:"
msgstr ""
-#. BCaDn
-#: sc/uiconfig/scalc/ui/tpviewpage.ui:546
-#, fuzzy
+#. vLBFR
+#: sc/uiconfig/scalc/ui/tpviewpage.ui:581
msgctxt "tpviewpage|diagram_label"
-msgid "Cha_rts:"
-msgstr "चार्ट(बहु.)"
+msgid "Char_ts:"
+msgstr ""
#. q544D
-#: sc/uiconfig/scalc/ui/tpviewpage.ui:560
+#: sc/uiconfig/scalc/ui/tpviewpage.ui:595
#, fuzzy
msgctxt "tpviewpage|draw_label"
msgid "_Drawing objects:"
msgstr "चित्रकारी चीजां"
#. mpELg
-#: sc/uiconfig/scalc/ui/tpviewpage.ui:575
+#: sc/uiconfig/scalc/ui/tpviewpage.ui:610
msgctxt "tpviewpage|objgrf"
msgid "Show"
msgstr "दस्सो "
#. Kx6yJ
-#: sc/uiconfig/scalc/ui/tpviewpage.ui:576
+#: sc/uiconfig/scalc/ui/tpviewpage.ui:611
msgctxt "tpviewpage|objgrf"
msgid "Hide"
msgstr "छपैलो"
#. oKpbX
-#: sc/uiconfig/scalc/ui/tpviewpage.ui:580
+#: sc/uiconfig/scalc/ui/tpviewpage.ui:615
msgctxt "extended_tip|objgrf"
msgid "Defines if objects and graphics are shown or hidden."
msgstr ""
#. wFBeZ
-#: sc/uiconfig/scalc/ui/tpviewpage.ui:594
+#: sc/uiconfig/scalc/ui/tpviewpage.ui:629
msgctxt "tpviewpage|diagram"
msgid "Show"
msgstr "दस्सो "
#. H7MAB
-#: sc/uiconfig/scalc/ui/tpviewpage.ui:595
+#: sc/uiconfig/scalc/ui/tpviewpage.ui:630
msgctxt "tpviewpage|diagram"
msgid "Hide"
msgstr "छपैलो"
#. oVE9C
-#: sc/uiconfig/scalc/ui/tpviewpage.ui:599
+#: sc/uiconfig/scalc/ui/tpviewpage.ui:634
msgctxt "extended_tip|diagram"
msgid "Defines if charts in your document are shown or hidden."
msgstr ""
#. YaiTQ
-#: sc/uiconfig/scalc/ui/tpviewpage.ui:613
+#: sc/uiconfig/scalc/ui/tpviewpage.ui:648
msgctxt "tpviewpage|draw"
msgid "Show"
msgstr "दस्सो "
#. DST5a
-#: sc/uiconfig/scalc/ui/tpviewpage.ui:614
+#: sc/uiconfig/scalc/ui/tpviewpage.ui:649
msgctxt "tpviewpage|draw"
msgid "Hide"
msgstr "छपैलो"
#. FDGKD
-#: sc/uiconfig/scalc/ui/tpviewpage.ui:618
+#: sc/uiconfig/scalc/ui/tpviewpage.ui:653
msgctxt "extended_tip|draw"
msgid "Defines if drawing objects in your document are shown or hidden."
msgstr ""
#. E6GxC
-#: sc/uiconfig/scalc/ui/tpviewpage.ui:633
+#: sc/uiconfig/scalc/ui/tpviewpage.ui:668
msgctxt "tpviewpage|label2"
msgid "Objects"
msgstr "चीजां"
#. aFAnX
-#: sc/uiconfig/scalc/ui/tpviewpage.ui:657
+#: sc/uiconfig/scalc/ui/tpviewpage.ui:692
msgctxt "extended_tip|TpViewPage"
msgid "Defines which elements of the %PRODUCTNAME Calc main window are displayed. You can also show or hide highlighting of values in tables."
msgstr ""
diff --git a/source/dgo/svx/messages.po b/source/dgo/svx/messages.po
index a581d9bafb2..c4abc7006cb 100644
--- a/source/dgo/svx/messages.po
+++ b/source/dgo/svx/messages.po
@@ -3,7 +3,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: https://bugs.libreoffice.org/enter_bug.cgi?product=LibreOffice&bug_status=UNCONFIRMED&component=UI\n"
-"POT-Creation-Date: 2021-06-11 17:09+0200\n"
+"POT-Creation-Date: 2021-06-24 12:51+0200\n"
"PO-Revision-Date: 2020-05-20 11:23+0000\n"
"Last-Translator: sophie <gautier.sophie@gmail.com>\n"
"Language-Team: dgo (generated) <https://weblate.documentfoundation.org/projects/libo_ui-master/svxmessages/dgo/>\n"
@@ -20103,7 +20103,7 @@ msgstr ""
#. JViFZ
#: svx/uiconfig/ui/sidebarpossize.ui:224 svx/uiconfig/ui/sidebarpossize.ui:283
-#: svx/uiconfig/ui/sidebarpossize.ui:499 svx/uiconfig/ui/sidebarpossize.ui:547
+#: svx/uiconfig/ui/sidebarpossize.ui:500 svx/uiconfig/ui/sidebarpossize.ui:548
msgctxt "sidebarpossize|arrangetoolbar"
msgid "Arrange"
msgstr ""
@@ -20140,25 +20140,25 @@ msgid "Select the angle for rotation."
msgstr ""
#. SBiLG
-#: svx/uiconfig/ui/sidebarpossize.ui:416
+#: svx/uiconfig/ui/sidebarpossize.ui:417
msgctxt "sidebarpossize|flipvertical|tooltip_text"
msgid "Flip the selected object vertically."
msgstr ""
#. sAzF5
-#: svx/uiconfig/ui/sidebarpossize.ui:428
+#: svx/uiconfig/ui/sidebarpossize.ui:429
msgctxt "sidebarpossize|fliphorizontal|tooltip_text"
msgid "Flip the selected object horizontally."
msgstr ""
#. EEFuY
-#: svx/uiconfig/ui/sidebarpossize.ui:456
+#: svx/uiconfig/ui/sidebarpossize.ui:457
msgctxt "sidebarpossize|btnEditChart"
msgid "Edit Chart"
msgstr ""
#. GfsLe
-#: svx/uiconfig/ui/sidebarpossize.ui:478
+#: svx/uiconfig/ui/sidebarpossize.ui:479
msgctxt "sidebarpossize|alignlabel"
msgid "Alig_n:"
msgstr ""
l'>private/kendy/testcl LibreOffice 核心代码仓库文档基金会
summaryrefslogtreecommitdiff
path: root/vcl/unx/gtk3_kde5/kde5_filepicker.cxx
AgeCommit message (Collapse)Author
2019-10-25tdf#42949 Fix IWYU warnings in vcl/unx/gtk3 and gtk3_kde5/Gabor Kelemen
Also recheck vcl/source after recent reworks and f-u-i updates. Some new blacklist entries were needed for keeping existing fw declarations in headers. Add blacklist entries for removals causing no-pch build failures that were reverted in: a3b03ba1316b1ec0a9b0a3b45b96dc0a49aa9f1f 75d924db95559cff5f699bad8fe34bb0aeac0ff6 b57052ec2bbe548ca495a32b4bfce1d1c71caf33 Found with bin/find-unneeded-includes Only removal proposals are dealt with here. Change-Id: I71227806288b68ef2a2cd56244899fd56bd0db8d Reviewed-on: https://gerrit.libreoffice.org/81163 Tested-by: Jenkins Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
2019-09-28"KWINDOWSYSTEM_DEPRECATED static void setMainWindow" (take 2)Julien Nabet
/home/julien/lo/libreoffice/vcl/unx/gtk3_kde5/kde5_filepicker.cxx: In member function ‘virtual bool KDE5FilePicker::eventFilter(QObject*, QEvent*)’: /home/julien/lo/libreoffice/vcl/unx/gtk3_kde5/kde5_filepicker.cxx:271:51: error: ‘static void KWindowSystem::setMainWindow(QWidget*, WId)’ is deprecated [-Werror=deprecated-declarations] 271 | KWindowSystem::setMainWindow(w, _winId); | ^ In file included from /usr/include/KF5/KWindowSystem/KWindowSystem:1, from /home/julien/lo/libreoffice/vcl/unx/gtk3_kde5/kde5_filepicker.cxx:24: /usr/include/KF5/KWindowSystem/kwindowsystem.h:255:42: note: declared here 255 | KWINDOWSYSTEM_DEPRECATED static void setMainWindow(QWidget *subwindow, WId mainwindow); | ^~~~~~~~~~~~~ There's a new method we could use but it's only possible when baseline will include kwindowsystem >= 5.62 Change-Id: Idd3dca98e15585077c20848613fce72c5daae0e2 Reviewed-on: https://gerrit.libreoffice.org/79781 Tested-by: Jenkins Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2019-09-28Revert "KWINDOWSYSTEM_DEPRECATED static void setMainWindow"Julien Nabet
the function is only available from kwindowsystem 5.62, so more recent that our baseline. This reverts commit 94e22f5a2fcc9f193ce0370805156ad5320d4141. Change-Id: I6957a7d4438cd57c4a0eab29a9c615d45eaa2235 Reviewed-on: https://gerrit.libreoffice.org/79776 Reviewed-by: Michael Weghorn <m.weghorn@posteo.de> Tested-by: Julien Nabet <serval2412@yahoo.fr>
2019-09-27KWINDOWSYSTEM_DEPRECATED static void setMainWindowJulien Nabet
/home/julien/lo/libreoffice/vcl/unx/gtk3_kde5/kde5_filepicker.cxx: In member function ‘virtual bool KDE5FilePicker::eventFilter(QObject*, QEvent*)’: /home/julien/lo/libreoffice/vcl/unx/gtk3_kde5/kde5_filepicker.cxx:271:51: error: ‘static void KWindowSystem::setMainWindow(QWidget*, WId)’ is deprecated [-Werror=deprecated-declarations] 271 | KWindowSystem::setMainWindow(w, _winId); | ^ In file included from /usr/include/KF5/KWindowSystem/KWindowSystem:1, from /home/julien/lo/libreoffice/vcl/unx/gtk3_kde5/kde5_filepicker.cxx:24: /usr/include/KF5/KWindowSystem/kwindowsystem.h:255:42: note: declared here 255 | KWINDOWSYSTEM_DEPRECATED static void setMainWindow(QWidget *subwindow, WId mainwindow); | ^~~~~~~~~~~~~ Change-Id: I6c8d4277b06d503b402042fbf234e9300db423c5 Reviewed-on: https://gerrit.libreoffice.org/79751 Reviewed-by: Michael Weghorn <m.weghorn@posteo.de> Tested-by: Julien Nabet <serval2412@yahoo.fr>
2019-07-22kf5/gtk3_kde5 fpickers: Drop unused 'allowRemoteUrls'Michael Weghorn
Change-Id: I591bf9fbe6e22bedda5a94334130a4f674cd66e6 Reviewed-on: https://gerrit.libreoffice.org/76110 Tested-by: Jenkins Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
2019-07-21tdf#125922 rename kde5 to kf5 + plasma5Jan-Marek Glogowski
Just as the gtk3 plugin isn't named GNOME, rename kde5 to kf5, as it is based on the KDE frameworks 5 libraries. This also includes: * a convenience alias to load the kf5 VCL plugin in case someone requests the kde5 plugin. * keep convenience kde5 configure switch, but warn about it * rename detected desktop from kde5 to plasma5 Change-Id: I6764a05b81a5edbf284484c234fee2649aacf735 Reviewed-on: https://gerrit.libreoffice.org/75313 Tested-by: Jenkins Reviewed-by: Jan-Marek Glogowski <glogow@fbihome.de>
2019-04-27tdf#123750 gtk3_kde5: Show removable devices in file dialogMichael Weghorn
Do the same for the gtk3_kde5 VCL plugin as commit 2c69c93fdb871809825fe8b9aff40b7afb093be8 does for the kde5 one. Change-Id: I6fc91d1dbe133bd905c033c9fce7d48c0b6464a0 Reviewed-on: https://gerrit.libreoffice.org/71384 Tested-by: Jenkins Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
2019-04-25gtk3_kde5: Make folder selection more intuitiveMichael Weghorn
When 'QFileDialog::Directory' is set, the native Plasma QFileDialog does not consider the clicked directory to be selected, but rather the base directory shown in the dialog, s. https://bugs.kde.org/show_bug.cgi?id=406464 . Therefore don't set the option when in a KDE Plasma desktop environment (which the kde5 VCL plugin also doesn't do). This works around the above issue in the Plasma desktop integration. Change-Id: Ib3d0978ab56b6e50ee45f7ad997ec051b35faf54 Reviewed-on: https://gerrit.libreoffice.org/71223 Tested-by: Jenkins Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
2019-01-31tdf#123077 gtk3_kde5: Set KFileWidget's custom widget only onceMichael Weghorn
Since the event filter is only used to set the custom widget in the KFileWidget, it can and needs to be removed again once this has been done; which also avoids crashes. (s. https://gerrit.libreoffice.org/#/c/67185/ for more infos, where the same thing is done for kde5) Change-Id: I5c719fb17510916b4730ed5c00bb638df2f183e3 Reviewed-on: https://gerrit.libreoffice.org/67184 Tested-by: Jenkins Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
2019-01-30tdf#122752 gtk3_kde5: Use non-native fpicker for non-Plasma desktopsMichael Weghorn
Adding the custom widgets to the native dialog currently depends on the native dialog using a KFileWidget, which is just the case for the native QFileDialog implementation on Plasma/KDE5. In order not to lose custom controls for non-Plasma desktops, fall back to using the non-native QFileDialog there and adding the custom controls to its layout. This was mostly taken over from Qt5FileDialog. (This is a similar approach as that taken for the kde5 VCL plugin in https://gerrit.libreoffice.org/#/c/67106/ ). Adding the controls to the layout returned by 'QFileDialog::layout()' cannot be used for the native dialog as well, since a nullptr is returned in this case. From QFileDialog doc: > By default, a platform-native file dialog will be used if the platform > has one. In that case, the widgets which would otherwise be used to > construct the dialog will not be instantiated, so related accessors such > as layout() and itemDelegate() will return null. You can set the > DontUseNativeDialog option to ensure that the widget-based > implementation will be used instead of the native dialog. Change-Id: I75fbe7731da28d0dc7df878f4c57e141d4d89902 Reviewed-on: https://gerrit.libreoffice.org/67111 Reviewed-by: Michael Weghorn <m.weghorn@posteo.de> Tested-by: Michael Weghorn <m.weghorn@posteo.de>
2018-11-09tdf#121276 gtk3_kde5: Don't prevent creating new filesMichael Weghorn
This takes over for gtk3_kde5 what was done for kde5 in commit c0f45c89063fa5c4334ff9e624d24d48638ffb4d. Change-Id: Ieca71498bd0cc00ca07b83f6e1178d983169d5be Reviewed-on: https://gerrit.libreoffice.org/63172 Tested-by: Jenkins Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
2018-08-12tdf#119133: Fix initial file and folder selectionKatarina Behrens
what d7fc00e1f7ab7a44e6102a and 1af4ab72e2488515fcaede already does for kde5 Change-Id: I924bdc5cfd6a12ff7bdbeef36d606c03307cb99b Reviewed-on: https://gerrit.libreoffice.org/58832 Tested-by: Jenkins Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
2018-02-16gtk3_kde5: Checkboxes on the left, texts on the rightKatarina Behrens
QFormLayout does it the other way round (text left, checkbox right) and it looks odd, so use QGridLayout Change-Id: Iff4255f695ce17561bac44e496a3567e1b438581 Reviewed-on: https://gerrit.libreoffice.org/49815 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Katarina Behrens <Katarina.Behrens@cib.de>
2018-01-25Properly restore size of KDE5 file picker dialogMilian Wolff
The event filter we installed prevented the show event from reaching the KDEPlatformFileDialogHelper::show method. This prevented the dialog from being restored to the size chosen by the user previously. Change-Id: I7af457f19f59d27bd104f8f70d9f4767da6641ee Reviewed-on: https://gerrit.libreoffice.org/48591 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
2018-01-23Various loplugin in --enable-gtk3-kde5 codeStephan Bergmann
Change-Id: I006e7fddcb58edb597867e0dd6f2b81ddac3457e
2018-01-23Support opening of (some) remote URLs through the KDE file dialogMilian Wolff
LO already supports http, https, webdav and webdavs through the WebDAVContentProvider. Ftp is supported via FTPContentProvider and then finally we have the GIOContentProvider that can potentially support SMB, if the dependencies for that are met. We now configure the KDE file dialog to allow these remote protocols. Note that this filtering depends on https://phabricator.kde.org/D10024 and https://phabricator.kde.org/D10025 to have any effect. Then we rewrite the URLs we receive from KIO to a format that is supported by LO. Most notably, we prepend `vnd.sun.star.` to the webdav URL schemes, such that they get picked up by the WebDAVContentProvider. Then finally, we clear the username from the smb:// URLs we get from KIO, as that prevents GIO from opening them. In all cases, the user will get prompted a second time for the credentials required to access the remote resource. This is unfortunate, but better than nothing. In the future, we may solve this issue through either a separate KIO UCP or by getting support for the FDO Secret Service specification in KWallet. Change-Id: I91df28434b115639c2698968e2a672b3320bf8e2 Reviewed-on: https://gerrit.libreoffice.org/48350 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
2018-01-23Introduce gtk3_kde5 vcl pluginMilian Wolff
This is a hybrid plugin which mostly wraps the GTK3 vclplug. Only the file and folder picker are replaced by KDE dialogs. This gives us a well-maintained GTK LO base with basic KDE integration with minimum effort. To prevent issues with nested event loops, the KDE dialogs are launched from a separate process, the new lo_kde5filepicker helper executable. A trivial stdin/stdout IPC mechanism transfers the data between LO and the Qt/KDE helper. The usage of an external process also allows us to copy'n'paste between LO and the KDE file dialog without freezing the UI, as would happen when one would do this in-process. This is in general also the architecture applied by the kmozillahelper, which is used to integrate KDE file dialogs into Firefox. While the KDE dialog is shown, the GTK3 main window is disabled and close requests are ignored. The KDE dialog in turn also sets the LO window as transient parent. Together, this makes the illusion perfect and the KDE dialog behaves like a modal dialog. This works properly also with multiple LO main windows, and only individual windows will get blocked as one would expect. Functionality wise, most of the features of the KDE4 dialog are supported. You can pick files and folders, and save files under a new name. Some custom checkbox widgets are supported, but lists, buttons and preview widgets are not yet implemented. Also, loading remote files via KIO is not possible yet. Change-Id: I1a97cf7c272307a19ace4222d5f12253bc722829 Reviewed-on: https://gerrit.libreoffice.org/47718 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>