ThomasWilshaw
da275efdf2
Merge branch 'master' into rational_slider
2021-04-14 12:08:58 +01:00
itsmattkc
3ffb2fde1c
audiomonitor: use mipmapped waveform
...
Since we have these now, may as well use them. This should
improve general playback performance since the audio monitor
will be able to iterate far fewer
2021-04-14 15:25:38 +10:00
itsmattkc
46fb53ff24
audiowaveformview: use new mipmapped waveform system
...
Fixes #1427
2021-04-14 13:48:18 +10:00
itsmattkc
87e315c493
viewer: stop restart timer on pause
...
Fixes #1569
2021-04-14 13:45:35 +10:00
itsmattkc
e0a94ca776
viewer: don't assume still if no texture connected
2021-04-14 11:53:23 +10:00
itsmattkc
429442c0ea
viewer: restart audio if validated during playback
...
Fixes #1566
2021-04-14 11:20:02 +10:00
itsmattkc
51064f44f5
slider: use cursor-less drag when no multipliers are active
2021-04-13 23:47:58 +10:00
itsmattkc
7107afaf99
audiovisualwaveform: mipmap waveforms
2021-04-13 23:43:44 +10:00
itsmattkc
3590a84945
nodeparamview: don't set properties if the root of an array
2021-04-13 22:41:01 +10:00
itsmattkc
09009e01fc
viewer: reimplement still support in a more robust way
2021-04-13 15:47:04 +10:00
itsmattkc
46e00c0099
viewer: store video/audio length outside of cache
2021-04-13 15:39:45 +10:00
itsmattkc
f9c145b4d4
viewer: default to black background
...
Fixes theme background no null frame in full screen.
2021-04-13 15:37:22 +10:00
itsmattkc
e54854b78a
fixed issue where timecodes in UI weren't updated correctly
2021-04-13 13:22:46 +10:00
itsmattkc
31b543c421
videoparamedit: fixed parameter mask bug
2021-04-13 13:07:12 +10:00
itsmattkc
e141b486ae
viewer: fixed issues with audio-only nodes in the viewer
2021-04-13 12:17:38 +10:00
Simran
fca485bd69
Fix plural handling for translations ( #1424 )
...
* .arg() doesn't handle plurals, replace %1 with %n and pass number to tr(), but only if there is an accompanying word for that we want singular/plural translations and only for whole numbers.
* Qt's translation methods only accept integers and we don't know what grammatical number form would be correct for floating-point numbers in different languages anyway.
* Add optional 2nd argument to SliderBase::SetFormat() to activate deferred plural handling:
SetFormat(QT_TRANSLATE_N_NOOP("olive::SliderBase", "%n unit(s)"), true)
* Generate en_US.ts with lupdate's -pluralonly option. Only source strings that require plural handling need to be translated (as long as the source language is American English).
2021-04-13 00:58:46 +02:00
itsmattkc
c03c197412
added ability to open viewers on any viewer node or derivative
...
Fixes #1362
Also fixes some other bugs that impeded this from working.
2021-04-12 22:58:34 +10:00
Thomas Wilshaw
2820f45bca
Fix shadowed variable
2021-04-12 10:57:57 +01:00
ThomasWilshaw
ecce4d1ae2
Merge branch 'master' into rational_slider
2021-04-12 10:42:26 +01:00
Thomas Wilshaw
48f841db9c
Remove unused signals and slots
2021-04-12 10:40:49 +01:00
Thomas Wilshaw
6a4f292ae2
Use customContextMenu for changing the display type
2021-04-12 10:35:44 +01:00
Thomas Wilshaw
a297dd0e53
Add width hint to slider ladder for custom display widths
2021-04-12 10:23:56 +01:00
Thomas Wilshaw
b9ebc6be18
Fix the easy comments.
2021-04-12 10:14:18 +01:00
itsmattkc
893adc3d72
implemented value node
...
Also implements changes necessary to support an input data type
that changes. Much of that foundation was built in
`nodearchchanges`, but hadn't been finalized. This commit
finalizes and provides a reference implementation/test with the
"Value" node.
Fixes #1443
2021-04-12 16:37:26 +10:00
itsmattkc
0afaf0a03d
handmovableview: set interactive to false when dragging
...
Fixes #1536
2021-04-12 10:06:37 +10:00
itsmattkc
8c18b58bbb
nodeparamview: pick up move event
...
Fixes #1547
2021-04-11 19:58:37 +10:00
itsmattkc
515d459d36
nodeparamview: make keyframes on every key track by default
...
Fixes #1437
2021-04-11 19:38:29 +10:00
itsmattkc
a87adbd801
fixed precache task
...
Fixes #1558
2021-04-11 18:57:21 +10:00
itsmattkc
a54b42fea4
nodeview: attach nodes to cursor as an undo command
2021-04-11 12:52:46 +10:00
itsmattkc
bd052ff4c8
timeline: null checks around any timestamp transform to audio timebase
2021-04-11 12:26:58 +10:00
itsmattkc
c687460f89
added null checks to timeline snapping and seekablewidget seeking
2021-04-10 09:24:16 +10:00
Thomas Wilshaw
cb0cfebf40
Fix clamping bug,
2021-04-09 11:57:49 +01:00
Thomas Wilshaw
4d8233e7ac
Add display type context menu to RationalSlider
2021-04-09 10:52:07 +01:00
itsmattkc
831bac70c5
viewer: don't trigger context menu if no node is connected
2021-04-08 23:33:55 +10:00
itsmattkc
4021a7166d
viewer: keep track of which screens have full screen viewers on them
...
Fixes #1307
2021-04-08 22:37:38 +10:00
Thomas Wilshaw
2cea45268f
TimeLineRulerMenu: only show drop or non-drop timecode depending
...
on timebase
2021-04-08 12:56:42 +01:00
Thomas Wilshaw
f560beef60
Increase ladder width if displaying timeciode
2021-04-08 11:41:42 +01:00
Thomas Wilshaw
76f8c12a96
Initilise timbase when creating nodeparamviewitem
2021-04-08 11:26:37 +01:00
Thomas Wilshaw
f9b423f731
Link RationalSlider timebase with nodeparamview
2021-04-08 11:26:36 +01:00
Thomas Wilshaw
c62389e632
Fix Linux build issue
2021-04-08 11:26:36 +01:00
Thomas Wilshaw
7c123c56c3
Get rational slider mostly working with new slider changes
2021-04-08 11:26:35 +01:00
Thomas Wilshaw
b636b77fbe
Cleanup unused variable
2021-04-08 11:26:34 +01:00
Thomas Wilshaw
191a8bb6ff
Use QVariant::fromValue().
2021-04-08 11:26:33 +01:00
Thomas Wilshaw
f381d3ddea
Add extra documentation
2021-04-08 11:26:33 +01:00
Thomas Wilshaw
fae7ead021
Add a lock on changing the display type
2021-04-08 11:26:32 +01:00
Thomas Wilshaw
3b2cf9d0a7
Overload set default to allow rationals.
2021-04-08 11:26:32 +01:00
Thomas Wilshaw
50c4586fe0
Cleanup
2021-04-08 11:26:31 +01:00
Thomas Wilshaw
3bc26f6ce0
Finish implementation
2021-04-08 11:26:31 +01:00
Thomas Wilshaw
b12518af9e
Initial implementation.
2021-04-08 11:26:30 +01:00
itsmattkc
52ccaa15d3
timeline: clear ghosts on delete
...
Fixes #1556
2021-04-08 19:08:29 +10:00