Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
100 changes: 100 additions & 0 deletions resources/darkTheme.qss
Original file line number Diff line number Diff line change
Expand Up @@ -1020,6 +1020,106 @@ QDialog#colorPreferencesDialog QDialogButtonBox#colorPreferencesButtonBox QPushB
font-weight: 600;
}

QDialog#podcastPreferencesDialog {
background-color: #353535;
}

QDialog#podcastPreferencesDialog QWidget#podcastPreferencesHeader {
background-color: #2b2b2b;
border: 1px solid #555555;
border-radius: 8px;
}

QDialog#podcastPreferencesDialog QLabel#podcastPreferencesHeaderLabel {
color: #f8fafc;
font-size: 14px;
font-weight: 600;
background: transparent;
}

QDialog#podcastPreferencesDialog QSlider#podcastPreferencesSpinBox {
min-width: 190px;
background: transparent;
}

QDialog#podcastPreferencesDialog QTabWidget#podcastPreferencesTabWidget::pane {
border: none;
background: transparent;
top: -1px;
}

QDialog#podcastPreferencesDialog QTabBar::tab,
QDialog#podcastPreferencesDialog QTabBar::tab:top {
background: #2b2b2b;
color: #b7c3d4;
border: 1px solid #555555;
border-radius: 4px;
padding: 8px 18px;
margin-right: 8px;
font-weight: 600;
}

QDialog#podcastPreferencesDialog QTabBar::tab:selected {
background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #2a82da, stop: 1 #1e5fa0);
color: #ffffff;
border: 1px solid #2a82da;
}

QDialog#podcastPreferencesDialog QTabBar::tab:hover:!selected {
background: #404040;
color: #ffffff;
}

QDialog#podcastPreferencesDialog QLabel#podcastPreferencesProfileTabValue {
min-width: 32px;
padding: 4px 8px;
background: #2a2a2a;
color: #f8fafc;
border: 1px solid #555555;
border-radius: 4px;
font-size: 14px;
font-weight: 600;
}

QDialog#podcastPreferencesDialog QWidget#podcastPreferencesHint {
background: #4b4324;
border: 1px solid #7b6b33;
border-radius: 6px;
}

QDialog#podcastPreferencesDialog QLabel#podcastPreferencesHintIcon {
background: transparent;
min-width: 20px;
}

QDialog#podcastPreferencesDialog QLabel#podcastPreferencesHintText {
background: transparent;
color: #f1e3a8;
font-size: 12px;
line-height: 1.3em;
}

QDialog#podcastPreferencesDialog QPushButton#podcastPreferencesResetButton {
padding: 7px 14px;
background: #454545;
color: #f8fafc;
border: 1px solid #555555;
border-radius: 4px;
font-weight: 600;
}

QDialog#podcastPreferencesDialog QPushButton#podcastPreferencesResetButton:hover {
background: #505050;
border: 1px solid #6a6a6a;
}

QDialog#podcastPreferencesDialog QDialogButtonBox#podcastPreferencesButtonBox QPushButton {
min-width: 92px;
padding: 8px 18px;
border-radius: 4px;
font-weight: 600;
}

QWidget#UBFeaturesActionBar QToolButton
{
padding: 0px;
Expand Down
2 changes: 1 addition & 1 deletion resources/etc/OpenBoard.config
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ UsePDFMerger=true

[Podcast]
AudioRecordingDevice=Default
FramesPerSecond=10
FramesPerSecond=100
PublishToYouTube=false
QuickTimeQuality=High
VideoSize=Medium
Expand Down
2 changes: 1 addition & 1 deletion resources/forms/mainWindow.ui
Original file line number Diff line number Diff line change
Expand Up @@ -1671,7 +1671,7 @@
<string>Pause Podcast Recording</string>
</property>
</action>
<action name="actionPodcastConfig">
<action name="actionPodcastPreferences">
<property name="icon">
<iconset resource="../OpenBoard.qrc">
<normaloff>:/images/toolbar/settings.png</normaloff>:/images/toolbar/settings.png</iconset>
Expand Down
118 changes: 118 additions & 0 deletions resources/lightTheme.qss
Original file line number Diff line number Diff line change
Expand Up @@ -563,6 +563,124 @@ QDialog#colorPreferencesDialog QDialogButtonBox#colorPreferencesButtonBox QPushB
border: 1px solid #2a82da;
}

QDialog#podcastPreferencesDialog {
background-color: #f2f6fa;
}

QDialog#podcastPreferencesDialog QWidget#podcastPreferencesHeader {
background-color: #edf2f7;
border: 1px solid #d9e0e8;
border-radius: 10px;
}

QDialog#podcastPreferencesDialog QLabel#podcastPreferencesHeaderLabel {
color: #0f172a;
font-size: 14px;
font-weight: 600;
background: transparent;
}

QDialog#podcastPreferencesDialog QSlider#podcastPreferencesSpinBox {
min-width: 190px;
background: transparent;
}

QDialog#podcastPreferencesDialog QTabWidget#podcastPreferencesTabWidget::pane {
border: none;
background: transparent;
top: -1px;
}

QDialog#podcastPreferencesDialog QTabBar::tab,
QDialog#podcastPreferencesDialog QTabBar::tab:top {
background: #e2eaf3;
color: #475569;
border: 1px solid #d9e0e8;
border-radius: 6px;
padding: 8px 18px;
margin-right: 8px;
font-weight: 600;
}

QDialog#podcastPreferencesDialog QTabBar::tab:selected {
background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #5aa5e0, stop: 1 #3d8fd1);
color: #ffffff;
border: 1px solid #2a82da;
}

QDialog#podcastPreferencesDialog QTabBar::tab:hover:!selected {
background: #e8eff7;
color: #1e293b;
}

QDialog#podcastPreferencesDialog QLabel#podcastPreferencesProfileTabValue {
min-width: 32px;
padding: 4px 8px;
background: #ffffff;
color: #0f172a;
border: 1px solid #d9e0e8;
border-radius: 6px;
font-size: 14px;
font-weight: 600;
}

QDialog#podcastPreferencesDialog QWidget#podcastPreferencesHint {
background: #fff8db;
border: 1px solid #ead9a2;
border-radius: 8px;
}

QDialog#podcastPreferencesDialog QLabel#podcastPreferencesHintIcon {
background: transparent;
min-width: 20px;
}

QDialog#podcastPreferencesDialog QLabel#podcastPreferencesHintText {
background: transparent;
color: #5b4b1f;
font-size: 12px;
line-height: 1.3em;
}

QDialog#podcastPreferencesDialog QPushButton#podcastPreferencesResetButton {
padding: 7px 14px;
background: #f7f9fc;
color: #334155;
border: 1px solid #d9e0e8;
border-radius: 6px;
font-weight: 600;
}

QDialog#podcastPreferencesDialog QPushButton#podcastPreferencesResetButton:hover {
background: #eef6ff;
border: 1px solid #d3e4f6;
}

QDialog#podcastPreferencesDialog QPushButton#podcastPreferencesResetButton:focus,
QDialog#podcastPreferencesDialog QPushButton#podcastPreferencesResetButton:pressed,
QDialog#podcastPreferencesDialog QPushButton#podcastPreferencesResetButton:checked,
QDialog#podcastPreferencesDialog QPushButton#podcastPreferencesResetButton:default {
background: #3d8fd1;
color: #ffffff;
border: 1px solid #2a82da;
}

QDialog#podcastPreferencesDialog QDialogButtonBox#podcastPreferencesButtonBox QPushButton {
min-width: 92px;
padding: 8px 18px;
border-radius: 6px;
font-weight: 600;
}

QDialog#podcastPreferencesDialog QDialogButtonBox#podcastPreferencesButtonBox QPushButton:focus,
QDialog#podcastPreferencesDialog QDialogButtonBox#podcastPreferencesButtonBox QPushButton:pressed,
QDialog#podcastPreferencesDialog QDialogButtonBox#podcastPreferencesButtonBox QPushButton:checked,
QDialog#podcastPreferencesDialog QDialogButtonBox#podcastPreferencesButtonBox QPushButton:default {
background-color: #3d8fd1;
color: #ffffff;
border: 1px solid #2a82da;
}

QCheckBox,
QRadioButton {
color: #1f2937;
Expand Down
2 changes: 1 addition & 1 deletion src/core/UBSettings.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -461,7 +461,7 @@ void UBSettings::init()
exportBackgroundGrid = new UBSetting(this, "PDF", "ExportBackgroundGrid", false);
exportBackgroundColor = new UBSetting(this, "PDF", "ExportBackgroundColor", false);

podcastFramesPerSecond = new UBSetting(this, "Podcast", "FramesPerSecond", 10);
podcastFramesPerSecond = new UBSetting(this, "Podcast", "FramesPerSecond", 100);
podcastVideoSize = new UBSetting(this, "Podcast", "VideoSize", "Medium");
podcastAudioRecordingDevice = new UBSetting(this, "Podcast", "AudioRecordingDevice", "Default");

Expand Down
2 changes: 2 additions & 0 deletions src/podcast/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ target_sources(${PROJECT_NAME} PRIVATE
UBAbstractVideoEncoder.h
UBPodcastController.cpp
UBPodcastController.h
UBPodcastPreferencesDialog.cpp
UBPodcastPreferencesDialog.h
UBPodcastRecordingPalette.cpp
UBPodcastRecordingPalette.h
intranet/UBIntranetPodcastPublisher.cpp
Expand Down
Loading