Add help info

This commit is contained in:
David Marsh 2024-07-31 14:24:39 +01:00
parent d0642fce05
commit 18232b56e4
2 changed files with 22 additions and 0 deletions

View File

@ -170,13 +170,31 @@ OBSBasicSettings::OBSBasicSettings(QMainWindow *parent) : QDialog(parent)
scrollArea->setFrameShape(QFrame::NoFrame);
settingsPages->addWidget(scrollArea);
// Help page
auto helpPage = new QWidget;
auto helpPageLayout = new QVBoxLayout;
helpPage->setLayout(helpPageLayout);
scrollArea = new QScrollArea;
scrollArea->setWidget(helpPage);
scrollArea->setWidgetResizable(true);
scrollArea->setLineWidth(0);
scrollArea->setFrameShape(QFrame::NoFrame);
auto helpInfoBox = ConfigUtils::generateSettingsGroupBox(QString::fromUtf8(obs_module_text("HelpTitle")));
helpInfoBox->setStyleSheet("padding-top: 12px");
auto helpLayout = new QVBoxLayout;
helpInfoBox->setLayout(helpLayout);
auto helpLabel = new QLabel(QString::fromUtf8(obs_module_text("HelpText")));
helpLabel->setStyleSheet("font-size: 14px");
helpLabel->setWordWrap(true);
helpLabel->setTextFormat(Qt::RichText);
helpLabel->setOpenExternalLinks(true);
helpLayout->addWidget(helpLabel, 1);
helpPageLayout->addWidget(helpInfoBox, 1, Qt::AlignTop);
settingsPages->addWidget(scrollArea);
//mainOutputsPage

View File

@ -50,6 +50,10 @@ SupportButton="Support Aitum"
SupportTitle="Supporting Aitum"
SupportText="Aitum Multistream is provided free by the Aitum Team for <u>you, the streaming community</u>.<br /><br />Your support is essential in helping us to continue our journey of making useful tools that empower creators to make awesome content.<br /><br />If our tools have helped streamline your workflows, enabled your channel to grow or even inspired you to start crearting content, please consider supporting our team.<br /><br /><strong><a href='https://merch.aitum.tv/pages/donations'>Support the Aitum Team</a></strong>"
# Help Page
HelpTitle="Getting Help with Aitum Multistream"
HelpText="As Aitum Multistream has only just released, we have yet to discover the burning issues from the community.<br /><br />In the coming weeks after launch, an update will be released linking a dedicated troubleshooter for Multistream.<br /><br />Until then, <strong><a href='https://aitum.tv/discord'>please join our Discord to discuss Multistream & Report issues!</a></strong>"
# Main canvas
SettingsMainCanvasTitle="Main Canvas"
SettingsMainCanvasDescription="You can manage your Main Canvas (the default canvas) settings here. \nPlease note that to change your Built-in Output settings, you need to do this from within the normal OBS settings."