-
Notifications
You must be signed in to change notification settings - Fork 117
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Compact GUI design, new features, combined widgets, editable text fields, movable docks, and more... #485
base: master
Are you sure you want to change the base?
Commits on Mar 23, 2023
-
[Q_gui2] Make the gui compact and properly name XML elements
Properly (re)name the gui's XML elements to suggest their meaning. Group the gui's bottom components together into the Navigation widget. This serves the purpose of making the interface more compact, and the mouse navigation easier. Shrinking the gui's window should not clutter or overlap elements. A minimum size should be respected to allow displaying every widget. The bottom components are put into individual sets that can be hidden independently. Enable floating Navigation and Codec widgets, and allow to dock them up/down and left/right respectively. Also allow the Toolbar to dock both up/down and left/right. Add a close button to the Navigation and Codec Options widgets, and enable context menus in the widgets main Menu, Toolbar, Navigation, and Codec Options. The View->Toolbars->Navigation menu option will toggle the Navigation visibility, hiding all of its components. Allow to select and copy into the clipboard current time, total time, selection duration, marker A time, and marker B time by highlighting the content of their own element. Redesign current time, marker A time, and marker B time elements to combine action buttons and text fields. This design fixes the displaying of the selection duration's seconds, that were cut due to insufficient space for the label element.
Configuration menu - View commit details
-
Copy full SHA for 291e407 - Browse repository at this point
Copy the full SHA 291e407View commit details -
Configuration menu - View commit details
-
Copy full SHA for 64a9b11 - Browse repository at this point
Copy the full SHA 64a9b11View commit details -
[Q_gui2] Fix possible typo volume Metre -> Meter
Follow the convention dictated by T_vumeter.{cpp,h}.
Configuration menu - View commit details
-
Copy full SHA for 93efb98 - Browse repository at this point
Copy the full SHA 93efb98View commit details -
[Q_gui2] Enable Navigation and Codec widgets docking features
Docking features require the presence of the title bar.
Configuration menu - View commit details
-
Copy full SHA for 1fc3ac6 - Browse repository at this point
Copy the full SHA 1fc3ac6View commit details -
[Q_gui2] Remove residual dock widgets title bars
Bottom dock widgets have been combined into the Navigation widget as frame elements. Remove residual code about setting title bars.
Configuration menu - View commit details
-
Copy full SHA for b90f20f - Browse repository at this point
Copy the full SHA b90f20fView commit details -
[Q_gui2] Remove residual dock widgets visibility checks
Bottom dock widgets have been combined into the Navigation widget as frame elements. Remove residual code about checking heights.
Configuration menu - View commit details
-
Copy full SHA for 35eb0d4 - Browse repository at this point
Copy the full SHA 35eb0d4View commit details -
[Q_gui2] New custom title bar for dock widgets
Buttons float/dock and close to the left, add a title if set. Use the title's mnemonic & to switch to float/dock state. This solves the problem of Light and Dark themes that do not read dock widgets mnemonic correctly, putting a & into the widget's title.
Configuration menu - View commit details
-
Copy full SHA for a915833 - Browse repository at this point
Copy the full SHA a915833View commit details -
[Q_gui2] Darken Light theme background FIXME
Slightly darkening the Light theme windows' background helps to spot the dock widgets' resize handle, otherwise not visible enough.
Configuration menu - View commit details
-
Copy full SHA for 9c251d1 - Browse repository at this point
Copy the full SHA 9c251d1View commit details -
[Q_gui2] Update Toolbars menu items
Add new hideable items and resort Toolbars order, bottom dock widgets have been combined into the Navigation widget as frame elements.
Configuration menu - View commit details
-
Copy full SHA for 101fd3f - Browse repository at this point
Copy the full SHA 101fd3fView commit details -
[Q_gui2] Update widgets visibility
Initialize new hideable items visibility, the Navigation dock widget contains new frame elements. Sort top to botton following the gui.
Configuration menu - View commit details
-
Copy full SHA for e23adfb - Browse repository at this point
Copy the full SHA e23adfbView commit details -
[Q_gui2] Allow to hide the status bar
Use the status bar as a XML widget. The status bar can be hidden via 'View->Toolbars->Status Bar'.
Configuration menu - View commit details
-
Copy full SHA for 9ba232b - Browse repository at this point
Copy the full SHA 9ba232bView commit details -
Configuration menu - View commit details
-
Copy full SHA for a700fba - Browse repository at this point
Copy the full SHA a700fbaView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3ae84d6 - Browse repository at this point
Copy the full SHA 3ae84d6View commit details -
[T_vumeter] Increase volume meter height
The gui interface has space for a taller volume meter.
Configuration menu - View commit details
-
Copy full SHA for 0c5ceef - Browse repository at this point
Copy the full SHA 0c5ceefView commit details -
Configuration menu - View commit details
-
Copy full SHA for 17e5619 - Browse repository at this point
Copy the full SHA 17e5619View commit details -
Configuration menu - View commit details
-
Copy full SHA for f2ddafe - Browse repository at this point
Copy the full SHA f2ddafeView commit details -
Configuration menu - View commit details
-
Copy full SHA for ba3d3e2 - Browse repository at this point
Copy the full SHA ba3d3e2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 23e4608 - Browse repository at this point
Copy the full SHA 23e4608View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2639450 - Browse repository at this point
Copy the full SHA 2639450View commit details -
Configuration menu - View commit details
-
Copy full SHA for af17b6c - Browse repository at this point
Copy the full SHA af17b6cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 811cc27 - Browse repository at this point
Copy the full SHA 811cc27View commit details -
Configuration menu - View commit details
-
Copy full SHA for e1f69f6 - Browse repository at this point
Copy the full SHA e1f69f6View commit details -
Configuration menu - View commit details
-
Copy full SHA for db37fda - Browse repository at this point
Copy the full SHA db37fdaView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2d5bfce - Browse repository at this point
Copy the full SHA 2d5bfceView commit details -
Configuration menu - View commit details
-
Copy full SHA for 7925ba5 - Browse repository at this point
Copy the full SHA 7925ba5View commit details -
[ADM_gui] Put A on the left of the arrow in goMarkA icons
Reading left-to-right, the segment A to B has the former letter before the latter. It makes sense to express this positioning in the goMarkA icons (A< vs >A, where goMarkB is >B, to represent the segment A<->B).
Configuration menu - View commit details
-
Copy full SHA for 823ac20 - Browse repository at this point
Copy the full SHA 823ac20View commit details -
[ADM_gui] Align the letter B in goMarkB icons
Visually center the letter B in its box.
Configuration menu - View commit details
-
Copy full SHA for 6b8d336 - Browse repository at this point
Copy the full SHA 6b8d336View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3b303eb - Browse repository at this point
Copy the full SHA 3b303ebView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4cf2ab8 - Browse repository at this point
Copy the full SHA 4cf2ab8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9ffeec7 - Browse repository at this point
Copy the full SHA 9ffeec7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6102cc2 - Browse repository at this point
Copy the full SHA 6102cc2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8b12f1a - Browse repository at this point
Copy the full SHA 8b12f1aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6665f55 - Browse repository at this point
Copy the full SHA 6665f55View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2ce7f98 - Browse repository at this point
Copy the full SHA 2ce7f98View commit details -
Configuration menu - View commit details
-
Copy full SHA for bf638bf - Browse repository at this point
Copy the full SHA bf638bfView commit details -
Configuration menu - View commit details
-
Copy full SHA for 564a277 - Browse repository at this point
Copy the full SHA 564a277View commit details -
Configuration menu - View commit details
-
Copy full SHA for 87dc001 - Browse repository at this point
Copy the full SHA 87dc001View commit details -
Configuration menu - View commit details
-
Copy full SHA for c0e47d5 - Browse repository at this point
Copy the full SHA c0e47d5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8815e7d - Browse repository at this point
Copy the full SHA 8815e7dView commit details -
Configuration menu - View commit details
-
Copy full SHA for fde3022 - Browse repository at this point
Copy the full SHA fde3022View commit details -
[Q_gui2] Set 'Total Time' field style and tooltip
The 'Total Time' has been converted into a text field, its content can be highlighted and copied to the clipboard, there's no longer the need to prefix the content with ' / ' label, update the code accordingly.
Configuration menu - View commit details
-
Copy full SHA for 18f0d82 - Browse repository at this point
Copy the full SHA 18f0d82View commit details -
[Q_gui2] Set 'Selection Duration' field style and tooltip
The 'Selection Duration' has been converted into a text field, its content can be highlighted and copied to the clipboard, update the code accordingly, there's no longer the need to prefix the content with 'Selection:' label.
Configuration menu - View commit details
-
Copy full SHA for 74df790 - Browse repository at this point
Copy the full SHA 74df790View commit details -
[Q_gui2] Set 'Marker A/B' fields style and tooltips
The 'Jump to Marker A/B' buttons has been converted into text fields, update the code accordingly.
Configuration menu - View commit details
-
Copy full SHA for 62c8de0 - Browse repository at this point
Copy the full SHA 62c8de0View commit details -
[Q_gui2] Keep 'Selection Duration' field always enabled
Do not disable the selection duration field when there's no media loaded.
Configuration menu - View commit details
-
Copy full SHA for aa1b41a - Browse repository at this point
Copy the full SHA aa1b41aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 68de737 - Browse repository at this point
Copy the full SHA 68de737View commit details -
[Q_gui2] Fix 'Current Time' too short field
There sould be no need to set a fixed width, it interferes with the element due to presence of the combined action button.
Configuration menu - View commit details
-
Copy full SHA for 2f925ed - Browse repository at this point
Copy the full SHA 2f925edView commit details -
Configuration menu - View commit details
-
Copy full SHA for f13e4a5 - Browse repository at this point
Copy the full SHA f13e4a5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2e22602 - Browse repository at this point
Copy the full SHA 2e22602View commit details -
Configuration menu - View commit details
-
Copy full SHA for bbbef5c - Browse repository at this point
Copy the full SHA bbbef5cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 605e45a - Browse repository at this point
Copy the full SHA 605e45aView commit details -
Configuration menu - View commit details
-
Copy full SHA for a11a104 - Browse repository at this point
Copy the full SHA a11a104View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6510edc - Browse repository at this point
Copy the full SHA 6510edcView commit details -
Configuration menu - View commit details
-
Copy full SHA for cdea0f8 - Browse repository at this point
Copy the full SHA cdea0f8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 549ef7d - Browse repository at this point
Copy the full SHA 549ef7dView commit details -
[Q_gui2] New 'Go to Time' feature for Marker A/B
This allows to edit marker A/B time via the existing 'Go to Time' dialog (already used to edit the current time).
Configuration menu - View commit details
-
Copy full SHA for a6a63e1 - Browse repository at this point
Copy the full SHA a6a63e1View commit details -
[Q_gui2] Allow to set the 'Go to Time' dialog title
When setting a Marker A/B time directly, it may be useful to have a dialog title describing the action.
Configuration menu - View commit details
-
Copy full SHA for 73e9297 - Browse repository at this point
Copy the full SHA 73e9297View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2fcd988 - Browse repository at this point
Copy the full SHA 2fcd988View commit details -
[Q_gui2] Add 'Go to Marker A/B' button to 'Marker A/B' fields
The 'Jump to Marker A/B' buttons has been converted into text fields, update the code accordingly.
Configuration menu - View commit details
-
Copy full SHA for bb3202e - Browse repository at this point
Copy the full SHA bb3202eView commit details -
[Q_gui2] Add 'Reset Marker A/B' buttons to 'Marker A/B' fields
With being unable to seek beyond the last frame, the reset marker B button is useful to put the marker B at total time position (beyond the last frame). To put the marker B at total time position (beyond the last frame), set the marker A, then reset the marker B. The reset marker A button resets to position 0, the B button to the position just after the last frame (aka infinite). The presence of the reset marker A/B buttons also give a hint about when the markers are unset, that is when a button is grayed out.
Configuration menu - View commit details
-
Copy full SHA for 154dca9 - Browse repository at this point
Copy the full SHA 154dca9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 29bc17f - Browse repository at this point
Copy the full SHA 29bc17fView commit details -
[Q_gui2] Build 'Edit Marker A/B' menu items preferences
$ cd avidemux_core/ADM_coreUtils/src $ nano prefs2.conf $ chmod +x update_prefs.sh $ ./update_prefs.sh
Configuration menu - View commit details
-
Copy full SHA for b34407e - Browse repository at this point
Copy the full SHA b34407eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3c3efe2 - Browse repository at this point
Copy the full SHA 3c3efe2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7f6b257 - Browse repository at this point
Copy the full SHA 7f6b257View commit details -
[Q_gui2] New feature to edit 'Selection Duration' field directly
Modifying the selection duration will shift the marker B. i.e. marker B = marker A + selection duration
Configuration menu - View commit details
-
Copy full SHA for 2507fad - Browse repository at this point
Copy the full SHA 2507fadView commit details -
[Q_gui2] New feature to edit 'Total Time' field directly
Modifying the total time will set the marker A to the new duration and reset the marker B, selecting the last part of the video that once cut will give the new total duration. i.e. marker A = new total duration, marker B = old total duration
Configuration menu - View commit details
-
Copy full SHA for fefb4a6 - Browse repository at this point
Copy the full SHA fefb4a6View commit details -
[Q_gui2] Remember visibility state of each widget set
Save the visibility state of each widget set as preferences. Individual sets in the Navigation dock can be hidden or not, then after a restart the previous state is restored. The Navigation dock can be hidden without changing the state of its children. The previous condition will be remembered.
Configuration menu - View commit details
-
Copy full SHA for 910f45d - Browse repository at this point
Copy the full SHA 910f45dView commit details -
[Q_gui2] Build widgets sets preferences
$ cd avidemux_core/ADM_coreUtils/src $ nano prefs2.conf $ chmod +x update_prefs.sh $ ./update_prefs.sh
Configuration menu - View commit details
-
Copy full SHA for 78555ea - Browse repository at this point
Copy the full SHA 78555eaView commit details -
[Q_gui2] Workaround to update dock widgets toolbar checkbox
When a dock widget visibility is toggled via a method, like context menu, which is not its toolbar checkbox, use a workaround to update the state of the toolbar checkbox.
Configuration menu - View commit details
-
Copy full SHA for d5bf7f2 - Browse repository at this point
Copy the full SHA d5bf7f2View commit details -
[Q_gui2] Use Views->Toolbars as default context menu
Override the application default context menu. Right clicking on the menu bar, tool bar, or dock widgets will open Views->Toolbars menu.
Configuration menu - View commit details
-
Copy full SHA for d574640 - Browse repository at this point
Copy the full SHA d574640View commit details
Commits on Mar 25, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 65d08ea - Browse repository at this point
Copy the full SHA 65d08eaView commit details -
[Q_gui2] Fix math formulas to calculate time in microseconds
A uint64_t type cast gives the right precision to uint32_t values when converting to a hh:mm:ss.mm,us time expressed in microseconds.
Configuration menu - View commit details
-
Copy full SHA for 9598eb1 - Browse repository at this point
Copy the full SHA 9598eb1View commit details -
[Q_gui2] Add microsecond precision property to time fields
New ADM_QLineEditPTS class to add precision to time fields. GUI text elements now store time at microsecond precisions. This prevents the jittering bug when switching focus out from a time field. Jittering bug: Time fields signal editingFinished after switching the focus or pressing Enter. Fields signaled as edited are compared with the previous real time to confirm that they have been truly modified. A field time is converted from milli to the micro seconds of the real time. The equality fails when the real time microseconds part is not all zero. The jitter is when the field time, differing from the real time, is replaced with the closest frame real time (usually the frame before). Thanks to szlldm for spotting the jittering bug. Thanks to eumagga0x2a for fixing obsolete regexp code.
Configuration menu - View commit details
-
Copy full SHA for 2d15802 - Browse repository at this point
Copy the full SHA 2d15802View commit details -
[Q_gui2] Fix markers A/B time fields with obsolete text
Editing the markers A/B fields directly, by changing the text, may result in a computed frame real position not diffrent from before. Different timings may resolve to the same frame. When an A/B text refresh is not performed anyway, the edited value may be obsolete. Editing A/B directly is more flexible than the 'Go to Time' dialog but, as said before, the difference is that the former changes the field text before the frame computation is done, the latter intead changes the text after, and only if the computed time differs from the currently one set.
Configuration menu - View commit details
-
Copy full SHA for 37c549f - Browse repository at this point
Copy the full SHA 37c549fView commit details -
[Q_gui2] Fix total time field with obsolete text
Confirming the total time edit should be followed by a refresh. The total time field can be edited to prepare a cut selection from the marker A to B starting from the end of the video. This feature can be used to set a cut to reduce the video length of a specific amount. After refreshing the total time field, the video length specified will be indicated by the marker A time.
Configuration menu - View commit details
-
Copy full SHA for 61f0bab - Browse repository at this point
Copy the full SHA 61f0babView commit details -
[Q_gui2] Show tooltips with precision timings over time fields
Time fields will show microsecond precision timings when hovered, i.e. 99:59:59.999,999. Tooltips will be updated when a field has been programmatically changed, or a user's edit is confirmed. This could also be used for debugging purposes.
Configuration menu - View commit details
-
Copy full SHA for e08e77a - Browse repository at this point
Copy the full SHA e08e77aView commit details -
[Q_gui2] Add preference to toggle timing tooltips
$ cd avidemux_core/ADM_coreUtils/src $ nano prefs2.conf $ chmod +x update_prefs.sh $ ./update_prefs.sh
Configuration menu - View commit details
-
Copy full SHA for a9e96e7 - Browse repository at this point
Copy the full SHA a9e96e7View commit details -
[Q_gui2] Fix to manage signals when time fields are readonly
This is a workaround about editingFinished events. Even when time fields are set to readonly, the signal triggers just one time when the field is clicked and then the focus is changed, with Tab or by clicking another element. This could be a better solution than disabling the time fields, if there are action buttons that should be kept enabled in a field.
Configuration menu - View commit details
-
Copy full SHA for 227ef91 - Browse repository at this point
Copy the full SHA 227ef91View commit details -
Configuration menu - View commit details
-
Copy full SHA for e160dba - Browse repository at this point
Copy the full SHA e160dbaView commit details
Commits on Mar 26, 2023
-
Configuration menu - View commit details
-
Copy full SHA for cc17305 - Browse repository at this point
Copy the full SHA cc17305View commit details -
[Q_gui2] Add preference to show extra buttons on time fields
Add preference to show only the default action button on time fields or all the buttons.
Configuration menu - View commit details
-
Copy full SHA for b21b8f3 - Browse repository at this point
Copy the full SHA b21b8f3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 015faa7 - Browse repository at this point
Copy the full SHA 015faa7View commit details -
Configuration menu - View commit details
-
Copy full SHA for fa7acef - Browse repository at this point
Copy the full SHA fa7acefView commit details -
[Q_gui2] Fix typo convert code line tab into spaces
Fixes typo in 'Start making use of microseconds precision' commit.
Configuration menu - View commit details
-
Copy full SHA for 7b16e67 - Browse repository at this point
Copy the full SHA 7b16e67View commit details -
[Q_gui2] Add preference to enable time fields keyboard editing
Each time field has a preference option to enable direct keyboard editing of the field.
Configuration menu - View commit details
-
Copy full SHA for 1d14f9e - Browse repository at this point
Copy the full SHA 1d14f9eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 7fe08b1 - Browse repository at this point
Copy the full SHA 7fe08b1View commit details