added rightclicking selections to copy them

This commit is contained in:
fourtf
2018-06-04 14:39:26 +02:00
parent 2299030deb
commit 829809b0e1
5 changed files with 210 additions and 155 deletions
+7 -1
View File
@@ -50,8 +50,14 @@ AppearancePage::AppearancePage()
{
auto form = application.emplace<QFormLayout>();
auto *theme = this->createComboBox({THEME_ITEMS}, app->themes->themeName);
QObject::connect(theme, &QComboBox::currentTextChanged, [](const QString &) {
getApp()->fonts->incGeneration();
getApp()->windows->repaintVisibleChatWidgets();
});
// clang-format off
form->addRow("Theme:", this->createComboBox({THEME_ITEMS}, app->themes->themeName));
form->addRow("Theme:", theme);
// form->addRow("Theme color:", this->createThemeColorChanger());
form->addRow("Font:", this->createFontChanger());