76 Commits

Author SHA1 Message Date
Pandagrapher
7e63892628 Merge with 'Beep6581/dev' 2024-03-06 19:10:49 +01:00
Scott Gilbertson
cd64ced60f Address comments in pull request:
- use "const" where possible
 - add spaces after commas
 - use dateTimeFormatExamples by reference (don't copy)
 - fix incorrect cast to unsigned int (declare variable as gunichar)
2024-02-28 13:22:57 -05:00
Scott Gilbertson
1db8b0d643 Indent example path the same amount as other indented items in the queue template help 2024-02-25 17:49:00 -05:00
Scott Gilbertson
50f27c099c Make indentation consistent in queue template help 2024-02-25 17:38:42 -05:00
Scott Gilbertson
fbeaace607 Change literal to G_FILE_ATTRIBUTE_TIME_MODIFIED, change line spacing in template help 2024-02-25 10:14:10 -05:00
Scott Gilbertson
547ac41ad4 Make brace placement consistent 2024-02-18 12:28:00 -05:00
Scott Gilbertson
703a81ae0c Removed FIXME comment 2024-02-18 12:22:36 -05:00
Scott Gilbertson
79134ecc9f Instead of time now, in help examples use 2001-02-03T04:05:06.123456 local time 2024-02-12 17:06:08 -05:00
Scott Gilbertson
5d7586bab4 Simplify path help, add '%f' to generated examples 2024-02-11 15:28:39 -05:00
Scott Gilbertson
ccc667e390 Added specific tooltip for the location template "?" help toggle button 2024-02-11 15:10:02 -05:00
Scott Gilbertson
bc054ea506 Added help for time/date template specifiers 2024-02-11 15:07:50 -05:00
Scott Gilbertson
353a4d472a Added help sections for %r and %s tags, and for common examples 2024-02-11 14:28:03 -05:00
Scott Gilbertson
2690e27dea Generate help examples (Windows or Linux, as appropriate) for %d, %p and %P specifiers.
Also make the help pane half the overall width when first shown (and it's resizeable).
2024-02-11 14:03:58 -05:00
Scott Gilbertson
ed5792bb9f Make populateTemplateHelpBuffer a private member of class BatchQueuePanel 2024-02-10 13:49:19 -05:00
Scott Gilbertson
3fb7296cd1 Create template help Pango markdown programmatically (partial).
Do that the first time the text is shown, rather than at startup.
2024-02-10 13:44:12 -05:00
Scott Gilbertson
c7500becb8 Make template help initially hidden 2024-02-03 19:24:07 -05:00
Scott Gilbertson
e332446627 Added "?" toggle button to show/hide template help.
I haven't figured out how to make it initially hidden.
2024-02-03 15:28:46 -05:00
Scott Gilbertson
7632d0df7c Got template help show/hide working (I had been hiding the wrong widget) 2024-02-03 13:13:25 -05:00
Scott Gilbertson
bfcfaca0ba First try at adding expandable queue template help, using a Gtx::Paned.
Hiding doesn't work right yet. Click a thumbnail and the text disappears,
but the border between widgets doesn't move to the left side.
I tried using a Gtk::Expander, but couldn't get it to expand horizontally.
2024-02-03 13:02:02 -05:00
Scott Gilbertson
343b5ecc68 Left-justify the queue destination preview label and allow it to scroll horizontally 2024-01-15 14:40:56 -05:00
Scott Gilbertson
f92e07e5cf Make destination path preview label selectable, so its contents can be copied to the clipboard 2024-01-07 10:52:01 -05:00
Scott Gilbertson
0f66d43272 Update destination preview whenever the save format changes. 2024-01-07 10:09:45 -05:00
Scott Gilbertson
380d964077 Add destination path preview label to batch queue panel.
Label initially says "Destination path for the first selected image appears here"
so the feature is discoverable. Select a file and it shows the destination path
that would be used if it is the first file to be processed and the file does
not already exist. Label is updated as the template is edited, so you can see the
effect of the edits. If "Save to folder" is selected, the previewed path uses
that folder.
2024-01-06 16:00:19 -05:00
Pandagrapher
488a157476 Fixing review comments 2023-10-13 11:12:37 +02:00
Pandagrapher
89d2bdce5b Initial commit for real hidpi support
Note: This commit has only been tested on MacOS

Changes:
- Icons now use the native hidpi support from Gtk (through Icon Theme)
- Icons are now directly generated from scalable file (i.e. SVG file)
- Widget sizes are scaled based on DPI and scale factor
- Font size is scaled based on DPI and scale factor
2022-08-19 16:47:28 +02:00
Thanatomanic
fc031ccb5a
Remove deprecated GTK3 code, fixes #6103 (#6113)
Replaces the following deprecated Gtk classes throughout the codebase by their non-deprecated counterparts. Style, HBox, VBox, HPaned, VPaned, HScrollbar, VScrollbar, VSeparator, HSeparator, Stock, Table, VScale and HScale.
2021-02-17 11:44:25 +01:00
Thanatomanic
d2cd5f21c9
GUI changes: more distinct on/off modules, various CSS and GUI tweaks for further future modifications
Collection of CSS and GUI improvements, cleanup of main CSS theme, introduction of highlight for enabled module. 

Primary change is the modification of the module titles to better distinguish modules that are on or off. The text of a disabled module is now less bright, the corresponding icon is a slightly smaller version of the power icon. When activating the module, the text turns brighter and the icon slightly bigger and also brighter. Thanks to @TechXavAL for the icon work.

Secondary changes are related to the margins around several GUI elements, padding within elements and some accompanying borders. These changes hopefully make it easier to distinguish the various (sometimes crowded) GUI elements of modules. The panels have gotten a slightly 'outset' look.

Nested panels have a changed look where deeper nesting increases the background brightness slightly, instead of darkening it (old behaviour). This  is done without a strong decrease in contrast.

The old theme is available as a legacy option. Due to hardcoded GUI changes needed for the new theme, the legacy version is not a 100% exact replicate. The @TooWaBoo theme's may also be slightly affected.
2020-12-27 15:31:39 +01:00
Ingo Weyrich
2a4891827d Some cleanups 2019-11-26 15:25:11 +01:00
Morgan Hardwood
60b2196bce Updated gnu.org links to use HTTPS 2019-09-10 12:34:57 +02:00
Morgan Hardwood
5bddcb45da Queue language key and string fixes
https://discuss.pixls.us/t/solved-change-of-queue-output-directory-not-taken-fully-into-account-if-no-f/11975
2019-04-03 16:24:55 +02:00
Flössie
b08fb04dae Convert almost all IdleRegister::add() calls to add(std::function<>) 2019-01-01 15:53:39 +01:00
Flössie
5af3f64a9d Merge branch 'dev' into review-idle_register-calls 2018-12-31 14:58:26 +01:00
George Hilliard
86c661fdeb Fix startup ding by initializing variable
Closes #4923.
2018-11-02 09:47:41 -05:00
George Hilliard
424782e8d0 Consolidate updateTab() calls 2018-11-01 16:38:16 -05:00
George Hilliard
cfb61f6fbf Notify GUI when batch starts
Closes #4906
2018-11-01 16:34:28 -05:00
George Hilliard
cc6cbe8347 Distinguish between "desired" and "reported" batch queue state
This allows the switch to both reflect the state of the queue and
function as an input widget.
2018-11-01 01:22:46 -05:00
Flössie
5906329485 Review IdleRegister (#4892)
This turns `IdleRegister::add()` into a template function to make the
provided function pointers type safe. It also adds a `delete_data`
parameter to manage the provided data pointer even in `destroy()`.
2018-10-28 13:12:01 +01:00
George Hilliard
9a22e89125 Cleanup: make impl function order match header, fix declaration var name 2018-10-26 09:26:18 -05:00
George Hilliard
cb3cc6cad1 Fix permanently disabled button when stopping on next-to-last image 2018-10-26 09:23:46 -05:00
George Hilliard
09275b5826 Store qStartStop state in atomic for background thread
Closes #4882.
2018-10-26 01:18:42 -05:00
George Hilliard
7d5fe6d1c8 Reenable batch queue interface on queue length notification
This removes the need for canStartNext() to do any UI updates.
2018-10-26 01:18:42 -05:00
heckflosse
fef2f73aa7 Removed lock because queue processing deadlocks now, #4882 2018-10-25 17:04:26 +02:00
heckflosse
1a42d396de Crash when stopping output queue, fixes #4882 2018-10-22 17:37:03 +02:00
Flössie
2125f42116 Turn almost all Listeners into abstract interfaces 2018-10-09 20:32:40 +02:00
Flössie
880afd2cf6 Fix wrong suffix in SaveAsDialog (#4446) 2018-10-06 09:56:42 +02:00
Morgan Hardwood
522495f4eb Icon cleanup #4469 #3547
Rebased in new branch to cleanup commit history.
2018-07-13 18:13:35 +02:00
luz.paz
c3c3ceac79 Misc. typos
Found via `codespell` 
+ removed rtengine/dcraw.patch per discussion in https://github.com/Beep6581/RawTherapee/pull/4395
2018-02-14 14:07:18 -05:00
Alberto Griggio
e5fe9b47df fixed bug in setting the queue running/paused icons for METM layouts
Fixes #4323
2018-01-23 08:58:31 +01:00
Alberto Griggio
eb3c7f13ae make the batch queue start/stop switch insensitive when there are no pending images in the queue 2018-01-05 23:47:23 +01:00
Alberto Griggio
5cb6a0ebaf Use a Gtk::Frame instead of a Gtk::Label for the queue title 2018-01-05 23:35:39 +01:00