Andreas Kling
37f925ffc0
MenuApplets: Give executable icons to some menu applets
...
This makes SystemMonitor a bit more pleasant to look at. :^)
2021-01-04 23:01:26 +01:00
Simon Danner
138c3c7d58
ClipboardHistory: Fix crash when deleting without selection
...
* Fix by only activating the deletion action if we have a selection
2021-01-01 22:50:56 +01:00
Brendan Coles
098f06f042
ClipboardHistory: Add window icon
2020-12-18 17:25:24 +01:00
Ben Wiederhake
6c2ea4c4e9
Clipboard: Remove-unused bpp metadata
...
It's just more attack surface, and can be deduced from the format anyway.
2020-12-08 09:37:30 +01:00
Florian Förster
438829a1d5
MenuApplets: Added ability to remove entry from ClipboardHistory ( #4143 )
2020-11-24 21:37:04 +01:00
Zac
7ef8835e5a
ClipboardHistoryModel: Prevent duplicate rows ( #4073 )
...
Prevents the adding of items to the ClipboardHistoryModel if the raw
data and mime_type of the item being added is the same as another item
already in the list.
2020-11-17 09:50:39 +01:00
Andreas Kling
23a5a484d5
ClipboardHistory: Bring window to front when applet is clicked
...
Fixes #4031 .
2020-11-11 20:31:35 +01:00
Ben Wiederhake
42dd0675c0
Meta+MenuApplets: Make clang-format-10 clean
2020-09-25 21:18:17 +02:00
Andreas Kling
40e6a3dcc3
ClipboardHistory: Copy metadata when reusing a historical clipping
2020-09-05 17:06:34 +02:00
Andreas Kling
2e446b662b
ClipboardHistory: Show bitmap width/height/bpp for bitmap clippings
2020-09-05 17:05:22 +02:00
Andreas Kling
0b051a5e15
ClipboardHistory: Show the size (in bytes) of each remembered clipping
2020-09-05 17:02:25 +02:00
Andreas Kling
b8d73e259c
ClipboardHistory: Cap the history at 20 entries for now
...
Now that we can copy bitmaps, we need some kind of cap here or memory
usage quickly skyrockets.
This could probably be improved or made adaptive somehow, this is just
a simple hard cap for now.
2020-09-05 17:00:18 +02:00
Andreas Kling
51146e3075
LibGUI: Make the Clipboard API deal in raw byte buffers a bit more
...
To open up for putting not just text/plain content on the clipboard,
let's make the GUI::Clipboard API a bit more raw-data-friendly. :^)
2020-09-05 16:16:01 +02:00
thankyouverycool
ebba297b42
Base: Move 16x16 common icons to /res/icons/16x16/
...
Drops the '16' suffix from filenames. Resizes inconsistent
audio-volume icons to intended size.
2020-08-27 15:38:02 +02:00
Andreas Kling
a1e381a0f8
LibGUI: Move GUI::Model::Role to GUI::ModelRole
...
This is preparation for using ModelRole in the ModelIndex API.
2020-08-16 16:44:09 +02:00
Andreas Kling
299824de73
LibGUI: Rename GUI::Image => GUI::ImageWidget
...
"Image" was a bit too vague, "ImageWidget" is obviously a widget of
some sort.
2020-07-23 17:31:08 +02:00
Andreas Kling
1dd1595043
LibGUI: Make GUI::Application a Core::Object
...
Having this on the stack makes whole-program teardown iffy. Turning it
into a Core::Object allows anyone who needs it to extends its lifetime.
2020-07-04 14:05:57 +02:00
Andreas Kling
d480944f6a
ClipboardHistory: Use pledge() and unveil() :^)
2020-06-18 22:34:15 +02:00
Hüseyin ASLITÜRK
3a676c6fd2
ClipboardHistory: Replace IconWidget with GUI::Image
2020-06-18 16:35:57 +02:00
Andreas Kling
2adb0a07e5
LibGUI: Get rid of Model::ColumnMetadata and always use auto-sizing
...
Auto-sizing of view columns is now enabled by default. This removes the
last remaining need for ColumnMetadata, so this patch gets rid of it.
2020-05-21 19:55:44 +02:00
Andreas Kling
ff4eaa12b4
ClipboardHistory: Always place the applet at the same location :^)
2020-05-20 20:24:44 +02:00
Sergey Bugaev
f7ae66cee3
ClipboardHistory: Add a clipboard history applet :^)
...
It will listen for clipboard content changes in the backgroud. Once you click
on its icon, it will pop up a window listing all recorded clipboard contents.
You can then double-click on an item to copy it again.
2020-05-16 09:13:25 +02:00