Martchus
b02a3a0c9b
Improve tab bar of Plasmoid (use footer and improve sizing of elements)
2021-12-01 18:53:23 +01:00
Martchus
cb1071b3ad
Improve Plasmoid to make it look more like official Plasmoids
...
* Use header (with integrated buttons when shown as part of the system tray
Plasmoid)
* Use less space so it fits into the system tray plasmoid (at least on a
full HD screen with 96 dpi)
* Show action for internal errors only if there are internal errors (like
in the Qt Widgets based GUI)
* Port away from deprecated tab bar (which is not used in official
Plasmoids anymore as well)
* Simplify code for ensuring the minimum size as configured (still does
not work within the system tray Plasmoid)
2021-11-30 19:43:26 +01:00
Martchus
811c07da6a
Fix displaying issues of plasmoid
...
* Set a certain size for the icons to avoid them from being too big or too
small
* Fix search button
2021-11-13 22:51:04 +01:00
Martchus
3d2930cb1d
Use `file-text` icon for log as it looks more in-line with the other icons
2021-11-13 22:49:45 +01:00
Martchus
c1f3e57a9c
Use ForkAwesome icons in consistency with Syncthing's official GUI
...
* Use single cog for settings (instead of cogs)
* Use "refresh" for re-scanning all dirs (instead of search)
2021-11-02 18:01:00 +01:00
Martchus
0651323da4
Use ForkAwesome consistently in Plasmoid as well
2021-10-15 22:18:30 +02:00
Martchus
3bf50fb414
Use Syncthing icon from ForkAwesome for buttons/menus
...
This should look more consistent than abusing the state-specific "idling"
icon.
2021-10-10 20:44:22 +02:00
Martchus
f384d2a496
Use "qrcode" icon from ForkAwesome
...
It fits better than "view-barcode" from the icon theme. This also tests
using ForkAwesome icons via the custom icon engine. Unfortunately this
does not seem to work within the Plasmoid so far.
2021-09-15 20:37:21 +02:00
Martchus
43fcb9f71b
Migrate to ForkAwesome
...
* FontAwesome uses a propritary build system so let's move to its fork
ForkAwesome similar to Syncthing
* See https://github.com/syncthing/syncthing/pull/5237
* Bundle the font file instead of having the SVGs directly within
Syncthing Tray's own repository
2021-09-11 02:20:38 +02:00
Martchus
81e9d534e7
plasmoid: Use QQ2 combo box (Plasma components 3 version clips end of text)
2020-11-30 18:25:38 +01:00
Martchus
9df2a17e5c
Port Plasmoid to QCC2/PlasmaComponents3 where possible
...
The following uses of QCC1/PlasmaComponents2 remain:
```
…/DetailView.qml:import org.kde.plasma.components 2.0 as PlasmaComponents // for Menu and MenuItem
…/DevicesPage.qml:import org.kde.plasma.components 2.0 as PlasmaComponents // for Menu and MenuItem
…/DirectoriesPage.qml:import org.kde.plasma.components 2.0 as PlasmaComponents // for Menu and MenuItem
…/DownloadsPage.qml:import org.kde.plasma.components 2.0 as PlasmaComponents // for Menu and MenuItem
…/FullRepresentation.qml:import org.kde.plasma.components 2.0 as PlasmaComponents // for vertical TabBar
…/RecentChangesPage.qml:import org.kde.plasma.components 2.0 as PlasmaComponents // for Menu and MenuItem
…/TopLevelView.qml:import org.kde.plasma.components 2.0 as PlasmaComponents // for Highlight and DialogStatus.Closed (used with Menu and MenuItem)
```
2020-11-27 19:09:47 +01:00
Martchus
66f8555d0a
Support "Recent changes" tab by keyboard navigation in Plasmoid
2020-05-26 18:12:16 +02:00
Martchus
14ddb6d035
Hide connect button while connecting in plasmoid like in widgets-based app
2020-05-25 20:30:39 +02:00
Martchus
65b3261320
Hide connections menu when only one connection is configured
...
* Make UI look cleaner for the common case of only one configuration
* Save some width to help with
https://github.com/Martchus/syncthingtray/issues/65 a little bit
2020-04-28 00:10:04 +02:00
Martchus
8971f294e8
Improve Plasmoid's connections menu further
2020-04-14 18:15:30 +02:00
Martchus
50a3299254
Use good old for loop to populate connections menu of plasmoid
...
It seems like the "Instantiator" does not do the right thing here as for
the QCC1 menu leading to segfaults.
2020-04-13 03:26:10 +02:00
Martchus
fca8ccad4d
Use PlasmaComponents.Menu instead of ugly default QCC1 Menu
2020-04-13 02:46:13 +02:00
Martchus
ed4d1fc213
Use idle status icon for button to open Syncthing web UI
...
That looks more consistent, especially when using a dark color theme
where the default Syncthing icon doesn't fit in very well.
2020-04-12 23:16:26 +02:00
Martchus
d50cdf3a06
Use consistent icon for rescanning all folders in plasmoid
2020-03-26 22:48:54 +01:00
Martchus
94753de797
Fix start/stop button tooltip for system-wide systemd service
2020-02-02 19:51:16 +01:00
Martchus
6026339c83
Show recent changes
2020-01-18 16:43:13 +01:00
Martchus
32996b8894
Improve sizing of Plasmoid
2019-11-30 18:47:58 +01:00
Martchus
3586bbf032
Amend commend regarding Plasma workaround
...
It seems like version 5.17.0 is already affected.
2019-10-31 18:49:49 +01:00
Martchus
e063dc6c18
Hack around plasmashell 5.17.1 ignoring parent's height
2019-10-27 18:54:52 +01:00
Martchus
1c13908381
Format QML files
2019-08-08 23:10:15 +02:00
Martchus
b9402ce374
plasmoid: Ensure keyboard events can be received after initialization
2019-08-08 21:35:56 +02:00
Martchus
62fc662692
Add tooltips to plasmoid statistics
2019-07-21 22:33:52 +02:00
Martchus
3ff8c2b66c
plasmoid: Use tiny button for search
2019-03-20 17:37:34 +01:00
Martchus
6c6830936d
plasmoid: Add button for filter
2019-03-19 23:07:22 +01:00
Martchus
3e97a65bae
Use font awesome icons for global stats in plasmoid
2019-02-27 20:42:41 +01:00
Martchus
2ab88c5766
Add font awesome icons to models
...
So it looks a bit more like the official UI.
2019-02-27 20:41:50 +01:00
Martchus
a3a09297f7
Render font awesome icons in color from QPalette
...
Since theres apparently no API in the Qt Svg module to support
this the change introduced here simply replaces in the SVG
document itself.
2019-02-23 13:55:46 +01:00
Martchus
06072df707
Show button for about dialog in plasmoid as well
2019-02-17 23:49:39 +01:00
Martchus
2b3a27d537
Replace "Open web UI" with "Open Syncthing"
2019-02-17 23:49:22 +01:00
Martchus
e56c950100
Show overall statistics in plasmoid
2019-02-17 23:46:03 +01:00
Martchus
e475454c2d
plasmoid: Fix setting initial size
...
Some change in Qt or Plasma prevents the old way of setting
it to work (using onVisibleChanged). Using a Loader and
onLoaded seems to work better.
2019-02-12 00:23:51 +01:00
Martchus
321d6fdd60
Fix QML warnings regarding use of anchors within layout
...
'Detected anchors on an item that is managed by a
layout. This is undefined behavior; use Layout.alignment
instead.'
2018-06-30 17:45:03 +02:00
Martchus
146d4870e4
Refactor preventing unwanted error messages
...
* See https://github.com/Martchus/syncthingtray/issues/15
* Not tested yet
2018-04-02 20:35:30 +02:00
Martchus
419e2971c1
plasmoid: Add context menu for top-level list views
...
Might be useful to add further actions because the
space for buttons is limited.
2018-03-26 22:56:55 +02:00
Martchus
265e41004f
plasmoid: Improve shortcut handling
2017-10-04 00:31:51 +02:00
Martchus
c6d21ea3a1
plasmoid: Show start/stop button when systemd available
2017-10-03 23:31:22 +02:00
Martchus
616bcdc497
plasmoid: Allow showing new notifications via button
2017-10-01 21:42:26 +02:00
Martchus
42369824f5
plasmoid: Add filter for directory list
...
Filtering is enabled just by starting to type
2017-10-01 17:54:11 +02:00
Martchus
91c589ce14
plasmoid: Add shortcuts for (almost) everything
2017-09-26 23:46:20 +02:00
Martchus
4920e885ea
Apply size also when Plasmoid displayed on edges
2017-09-20 17:42:22 +02:00
Martchus
2ee7b9af64
plasmoid: Improve settings
...
* Configure appearance options via Plasmoid specific
settings
* Allow to configure the size
* Remember last connection config
2017-09-18 20:29:36 +02:00
Martchus
0d7f20cee1
plasmoid: Add more shortcuts
2017-09-12 00:01:19 +02:00
Martchus
d3b1da2def
plasmoid: Customize buttons
...
* Use less space
* Fix iconSource when menu present
2017-09-12 00:00:31 +02:00
Martchus
ccfe0e160e
Improve plasmoid: most features implemented now
2017-09-09 21:40:00 +02:00
Martchus
db1063d5a0
Improve plasmoid
...
Now implemented:
* Downloads
* Directory errors
* Systemd integrations
* Multiple connection configurations
2017-09-08 17:01:52 +02:00