1083 Commits

Author SHA1 Message Date
guangong7628
16cc60587f UI: Fix unable to escape when renaming scene
Fixes https://obsproject.com/mantis/view.php?id=1443
2019-04-23 04:20:49 -07:00
Clayton Groeneveld
2ca71fc9d6 UI: Fix group checkbox icons not working in Dark theme 2019-04-22 06:21:28 -05:00
Jim
cdcd45fe11
Merge pull request #1842 from cg2121/prev-prog-label-alignment
UI: Fix preview/program label alignment
2019-04-22 03:25:06 -07:00
Clayton Groeneveld
21a32def35 UI: Simplify locked/visibility checkboxes 2019-04-22 01:50:10 -07:00
Clayton Groeneveld
189e48835d UI: Change icons to svg
This changes all of the icons from png to svg. With svgs, scaling is
unlimited. With the svgs, the issue of the @ symbols with the Windows
updater is no longer an issue.

I changed the colors of the icons to a light gray (#d2d2d2), in the
dark themes, because I thought they looked better with this color.

The mute, unmute, plus, minus, up, down and expand icons are from the
Feather Icons set. https://feathericons.com/

The visibility icon is from the Octicons set. https://octicons.github.com/

The locked and unlocked icons are from the Open Iconic set.
https://github.com/iconic/open-iconic
2019-04-22 01:50:03 -07:00
Clayton Groeneveld
ed5fdde059 UI: Fix preview/program label alignment 2019-04-22 03:08:35 -05:00
Jim
7925ac1402
Merge pull request #1747 from cg2121/recording-time-left
UI: Estimate recording time left until disk is full
2019-04-21 06:55:33 -07:00
jp9000
72ccefff5f UI: Rename UI files for consistency
Changes comboBox-* and spinBox-* files to lowercase to be more
consistent with the rest of the files in the UI directory.
2019-04-21 04:10:46 -07:00
jp9000
140f927f4f UI: Fix whitespace issues with "ignore wheel" widgets 2019-04-21 04:07:00 -07:00
jp9000
c3c740d36f UI: Do not remove focus on mouse leave events
For the "ignore wheel" widgets, do not leave focus on mouse leave
events.  This causes unintended side effects such as not being able to
type in edit boxes, and is very annoying.
2019-04-21 04:03:37 -07:00
Jim
1856f40e2a
Merge pull request #1836 from jpark37/rotated-line-fix
libobs: UI: Fix rotated line scale
2019-04-20 02:34:45 -07:00
Jim
043963c5e8
Merge pull request #1828 from DDRBoxman/removewidget
UI: Remove SourceListWidget
2019-04-20 02:27:36 -07:00
jp9000
d2b107bc9d decklink-output-ui: Fix memory leak 2019-04-20 01:43:01 -07:00
Jim
3562113f4b
Merge pull request #1831 from Chiitoo/aaa-build-fix
UI: Fix Linux build without PulseAudio
2019-04-19 08:21:57 -07:00
Jim
ae10420953
Merge pull request #1793 from notr1ch/ffmpeg-errors
Improve ffmpeg output error handling
2019-04-19 07:26:56 -07:00
Jim
e16bd94965
Merge pull request #1837 from akapar2016/UI_VolumeWheelEvents
UI: Volume scrollEvents
2019-04-19 07:26:06 -07:00
akapar
dbd30a8131 UI: Do not allow mouse wheel for volume slider
This commit fixes the issue of being able to scroll through the mixer
with the mouse wheel without modifying the volume slider.  This
functionality can be temporarily restored by holding a click on the
volume meter.
2019-04-19 06:56:55 -07:00
James Park
e01fcae133 libobs: UI: Fix rotated line scale
The line drawing functions previously assumed the upper-left 3x3 for
box_transform only held scale. The matrix can also hold rotation, so
pass in scale separately.

Fixes https://obsproject.com/mantis/view.php?id=1442
2019-04-19 06:35:42 -07:00
Richard Stanway
90df9ea290 UI: Update error message severity levels and show additional info 2019-04-19 05:45:19 -07:00
Richard Stanway
4be88c7f2a UI: Add warning / critical QMessageBox wrappers 2019-04-19 05:45:19 -07:00
Jim
42e76f6c34
Merge pull request #1577 from DDRBoxman/previewout
Decklink: preview out support
2019-04-19 04:03:34 -07:00
Gol-D-Ace
3a01fefe1e Use proper capitalization for string
Windows is a product name in this case.
2019-04-19 05:38:21 +02:00
Michael Fabian 'Xaymar' Dirks
5c0c512fc2 UI: Add support for property groups
Property groups are implemented in the UI using QGroupBox, which support
both the normal and checkable version of them.
2019-04-18 06:37:54 -07:00
Colin Edwards
6d07885b08 Decklink: inital preview out work 2019-04-17 21:21:39 -05:00
SuslikV
8a22889e3d UI: Use theme colors setting for Projectors too
Don't override the theme color settings for the Projector.
If required, the background color of the projector can be changed via

OBSProjector {qproperty-...}

record placed after "OBSQTDisplay {qproperty-...}" section in the theme
file (qss).
2019-04-17 07:10:12 -07:00
SuslikV
e2be33956b UI: Correct custom property implementation
- Fixes Q_PROPERTY macro syntax
- Removes excessive notification declaration and slot
- Removes unneeded dynamic property
- Improves Themes versatility
2019-04-17 07:10:12 -07:00
SuslikV
975431a7c7 UI: Add default color for the preview background
If custom theme for obs UI has no record about background custom
property in the qss file, then application can set random color per
display initialization. This fixes this issue.
2019-04-17 06:32:27 -07:00
Jimi Huotari
2b1641ee5e
UI: Fix Linux build without PulseAudio
Commit 31d36691 missed updating a couple of lines while moving
settings around.

- https://github.com/obsproject/obs-studio/commit/31d36691
2019-04-15 18:31:59 +03:00
Clayton Groeneveld
171f811669 UI: Estimate recording time left until disk is full 2019-04-14 22:45:31 -05:00
Jim
88391b818d
Merge pull request #1811 from akapar2016/UI_scrollWheelEvents
Ui scroll wheel events
2019-04-14 13:58:54 -07:00
Peter Eszlari
6b9da9b912 UI: Add Linux AppStream metadata 2019-04-14 05:10:10 -07:00
Jim
3a05466baf
Merge pull request #1760 from Vainock/master
Improve locales
2019-04-14 05:00:31 -07:00
Clayton Groeneveld
e89283d172 UI: Add hotkey to toggle preview 2019-04-14 04:51:34 -07:00
Jim
9480cc4fd2
Merge pull request #1675 from admshao/clear-linux-compiling-warnings
Clear linux compiling warnings
2019-04-14 04:21:21 -07:00
Jim
d14fa715e8
Merge pull request #1641 from WizardCM/move-settings
UI: Refactor Audio Settings UI and move Monitoring Device from Advanced
2019-04-14 04:10:15 -07:00
Jim
b2bc1e159b
Merge pull request #1589 from caffeinetv/minor-improvements
Minor improvements
2019-04-14 03:43:05 -07:00
Colin Edwards
efb09d4f24 UI: Remove SourceListWidget 2019-04-13 14:07:17 -05:00
akapar
9249403c96 UI: Ignore wheelEvent for properties
Ignore wheelEvent using subclass
slider,spinbox,combobox with eventhandlers:
wheelEvent - ignore if widget is not focused,
leaveEvent - clear focus when mouse leaves event.

Use these new subclass widgets in properties
to ignore wheelEvent when scrolling.
2019-04-13 12:09:11 -04:00
Jim
975aed836c
Merge pull request #1755 from Xaymar/patch-generate-obs-rc
obs-studio: Create obs.rc out-of-tree using the build path
2019-04-13 04:14:05 -07:00
Jim
c68f847562
Merge pull request #1821 from cg2121/multiview-cursor
UI: Don't hide cursor over multiview
2019-04-13 03:46:27 -07:00
Jim
23ed5ea7b4
Merge pull request #1816 from SCG82/patch-1
UI: Fix size of output icon
2019-04-13 03:40:12 -07:00
Anthony Torres
7ddab80d80 UI: Fix remux dialog ignoring filename changes 2019-04-12 22:25:28 -07:00
Anthony Torres
0e2fe10595 UI: Separate delegate class into header file 2019-04-12 22:25:23 -07:00
Colin Edwards
ff72e9efc3 UI: Show a message in the empty source list 2019-04-12 04:17:39 -07:00
stump
bc99ec4d7c UI: Add null check for rename of default theme
Without this, we strcmp a null pointer if no theme is set in the
configuration file.
2019-04-10 22:09:37 -04:00
Clayton Groeneveld
4d908e31d3 UI: Don't hide cursor over multiview
I considered making this an option, but I decided against it because
I felt it wasn't necessary and would make the settings more complex.
Opinions are welcome.
2019-04-09 11:51:41 -05:00
Jim
820385cf6a
Merge pull request #1817 from Gol-D-Ace/remove-double-spaces
Remove double spaces from localization
2019-04-08 23:50:09 -07:00
Clayton Groeneveld
977dea4ff0 UI: Add ability to center items vertically/horizontally 2019-04-08 22:52:39 -07:00
Jim
ff63e0c050
Merge pull request #1787 from cg2121/about-dialog-version
UI: Show correct version in about dialog
2019-04-08 21:37:22 -07:00
Clayton Groeneveld
94b3f80305 UI: Rename Default theme to System
The system theme was named Default even though the default theme is Dark.
This addresses that by renaming Default.qss to System.qss. I've made it
backwards compatible so users already using this theme are not affected.

The theme list now shows up as:
-System
-Dark (Default)
-Acri
-Rachni

I have also made it so that you can specify the default theme in the
UI config file.
2019-04-08 19:56:56 -05:00