mirror of
https://github.com/Chatterino/chatterino2.git
synced 2024-11-21 22:24:07 +01:00
added empty ketboard settings page
This commit is contained in:
parent
36b010e046
commit
93cfcbd3f1
4 changed files with 39 additions and 2 deletions
|
@ -166,7 +166,8 @@ SOURCES += \
|
||||||
src/util/networkrequest.cpp \
|
src/util/networkrequest.cpp \
|
||||||
src/widgets/settingspages/ignoreuserspage.cpp \
|
src/widgets/settingspages/ignoreuserspage.cpp \
|
||||||
src/widgets/settingspages/ignoremessagespage.cpp \
|
src/widgets/settingspages/ignoremessagespage.cpp \
|
||||||
src/widgets/settingspages/specialchannelspage.cpp
|
src/widgets/settingspages/specialchannelspage.cpp \
|
||||||
|
src/widgets/settingspages/keyboardsettingspage.cpp
|
||||||
|
|
||||||
HEADERS += \
|
HEADERS += \
|
||||||
src/precompiled_header.hpp \
|
src/precompiled_header.hpp \
|
||||||
|
@ -272,7 +273,9 @@ HEADERS += \
|
||||||
src/util/networkrequester.hpp \
|
src/util/networkrequester.hpp \
|
||||||
src/widgets/settingspages/ignoreuserspage.hpp \
|
src/widgets/settingspages/ignoreuserspage.hpp \
|
||||||
src/widgets/settingspages/ignoremessagespage.hpp \
|
src/widgets/settingspages/ignoremessagespage.hpp \
|
||||||
src/widgets/settingspages/specialchannelspage.hpp
|
src/widgets/settingspages/specialchannelspage.hpp \
|
||||||
|
src/widgets/settingspages/keyboardsettings.hpp \
|
||||||
|
src/widgets/settingspages/keyboardsettingspage.hpp
|
||||||
|
|
||||||
RESOURCES += \
|
RESOURCES += \
|
||||||
resources/resources.qrc
|
resources/resources.qrc
|
||||||
|
|
|
@ -10,6 +10,7 @@
|
||||||
#include "widgets/settingspages/highlightingpage.hpp"
|
#include "widgets/settingspages/highlightingpage.hpp"
|
||||||
#include "widgets/settingspages/ignoremessagespage.hpp"
|
#include "widgets/settingspages/ignoremessagespage.hpp"
|
||||||
#include "widgets/settingspages/ignoreuserspage.hpp"
|
#include "widgets/settingspages/ignoreuserspage.hpp"
|
||||||
|
#include "widgets/settingspages/keyboardsettingspage.hpp"
|
||||||
#include "widgets/settingspages/logspage.hpp"
|
#include "widgets/settingspages/logspage.hpp"
|
||||||
#include "widgets/settingspages/moderationpage.hpp"
|
#include "widgets/settingspages/moderationpage.hpp"
|
||||||
#include "widgets/settingspages/specialchannelspage.hpp"
|
#include "widgets/settingspages/specialchannelspage.hpp"
|
||||||
|
@ -75,14 +76,20 @@ SettingsDialog *SettingsDialog::getHandle()
|
||||||
|
|
||||||
void SettingsDialog::addTabs()
|
void SettingsDialog::addTabs()
|
||||||
{
|
{
|
||||||
|
this->ui.tabContainer->setSpacing(0);
|
||||||
|
|
||||||
this->addTab(new settingspages::AccountsPage);
|
this->addTab(new settingspages::AccountsPage);
|
||||||
this->addTab(new settingspages::AppearancePage);
|
this->addTab(new settingspages::AppearancePage);
|
||||||
this->addTab(new settingspages::BehaviourPage);
|
this->addTab(new settingspages::BehaviourPage);
|
||||||
this->addTab(new settingspages::CommandPage);
|
this->addTab(new settingspages::CommandPage);
|
||||||
this->addTab(new settingspages::EmotesPage);
|
this->addTab(new settingspages::EmotesPage);
|
||||||
this->addTab(new settingspages::HighlightingPage);
|
this->addTab(new settingspages::HighlightingPage);
|
||||||
|
|
||||||
|
this->ui.tabContainer->addStretch(1);
|
||||||
|
|
||||||
this->addTab(new settingspages::IgnoreMessagesPage);
|
this->addTab(new settingspages::IgnoreMessagesPage);
|
||||||
this->addTab(new settingspages::IgnoreUsersPage);
|
this->addTab(new settingspages::IgnoreUsersPage);
|
||||||
|
this->addTab(new settingspages::KeyboardSettingsPage);
|
||||||
this->addTab(new settingspages::LogsPage);
|
this->addTab(new settingspages::LogsPage);
|
||||||
this->addTab(new settingspages::ModerationPage);
|
this->addTab(new settingspages::ModerationPage);
|
||||||
this->addTab(new settingspages::SpecialChannelsPage);
|
this->addTab(new settingspages::SpecialChannelsPage);
|
||||||
|
|
12
src/widgets/settingspages/keyboardsettingspage.cpp
Normal file
12
src/widgets/settingspages/keyboardsettingspage.cpp
Normal file
|
@ -0,0 +1,12 @@
|
||||||
|
#include "keyboardsettingspage.hpp"
|
||||||
|
|
||||||
|
namespace chatterino {
|
||||||
|
namespace widgets {
|
||||||
|
namespace settingspages {
|
||||||
|
KeyboardSettingsPage::KeyboardSettingsPage()
|
||||||
|
: SettingsPage("Keybindings", "")
|
||||||
|
{
|
||||||
|
}
|
||||||
|
} // namespace settingspages
|
||||||
|
} // namespace widgets
|
||||||
|
} // namespace chatterino
|
15
src/widgets/settingspages/keyboardsettingspage.hpp
Normal file
15
src/widgets/settingspages/keyboardsettingspage.hpp
Normal file
|
@ -0,0 +1,15 @@
|
||||||
|
#pragma once
|
||||||
|
|
||||||
|
#include "widgets/settingspages/settingspage.hpp"
|
||||||
|
|
||||||
|
namespace chatterino {
|
||||||
|
namespace widgets {
|
||||||
|
namespace settingspages {
|
||||||
|
class KeyboardSettingsPage : public SettingsPage
|
||||||
|
{
|
||||||
|
public:
|
||||||
|
KeyboardSettingsPage();
|
||||||
|
};
|
||||||
|
} // namespace settingspages
|
||||||
|
} // namespace widgets
|
||||||
|
} // namespace chatterino
|
Loading…
Reference in a new issue