Skip to content

Commit

Permalink
Add help info
Browse files Browse the repository at this point in the history
  • Loading branch information
Dussed committed Jul 31, 2024
1 parent d0642fc commit 18232b5
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 0 deletions.
18 changes: 18 additions & 0 deletions config-dialog.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
4 changes: 4 additions & 0 deletions data/locale/en-US.ini
Original file line number Diff line number Diff line change
Expand Up @@ -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."
Expand Down

0 comments on commit 18232b5

Please sign in to comment.