Also fix some related UI issues.
add_feature_info(WITH_KDE WITH_KDE "Integrate with the KDE Frameworks runtime environment")
endif()
-cmake_dependent_option(WITH_OXYGEN "Install Oxygen icon set (usually shipped with KDE)" ON "NOT WITH_KDE" OFF)
-cmake_dependent_option(WITH_BREEZE "Install Breeze icon set (usually shipped with KDE)" OFF "NOT WITH_KDE" OFF)
-cmake_dependent_option(WITH_BREEZE_DARK "Install Dark Breeze icon set (usually shipped with KDE)" OFF "NOT WITH_KDE" OFF)
+cmake_dependent_option(WITH_BREEZE "Install Breeze icon theme (usually shipped with KDE)" ON "NOT WITH_KDE" OFF)
+cmake_dependent_option(WITH_BREEZE_DARK "Install Dark Breeze icon theme (usually shipped with KDE)" OFF "NOT WITH_KDE" OFF)
+cmake_dependent_option(WITH_OXYGEN "Install Oxygen icon theme (usually shipped with KDE)" OFF "NOT WITH_KDE" OFF)
if (NOT WITH_KDE)
- add_feature_info(WITH_OXYGEN WITH_OXYGEN "Install Oxygen icon set")
- add_feature_info(WITH_BREEZE WITH_BREEZE "Install Breeze icon set. Alternative to Oxygen.")
- add_feature_info(WITH_BREEZE_DARK WITH_BREEZE_DARK "Install Dark Breeze icon set. Alternative to Oxygen.")
+ add_feature_info(WITH_BREEZE WITH_BREEZE "Install Breeze icon theme")
+ add_feature_info(WITH_BREEZE_DARK WITH_BREEZE_DARK "Install Dark Breeze icon theme")
+ add_feature_info(WITH_OXYGEN WITH_OXYGEN "Install Oxygen icon theme")
endif()
if (WITH_OXYGEN)
-DWITH_KDE=ON
Enable integration into KDE4 (with Qt4) or KDE Frameworks (with Qt5).
--DWITH_OXYGEN=(ON|OFF)
- Install the parts of the Oxygen icon set Quassel uses. Oxygen is the default
- icon set for KDE4, and thus already available on systems where KDE4 is
- installed. By default, WITH_OXYGEN is ON iff WITH_KDE is OFF. If you are
+-DWITH_BREEZE=(ON|OFF)
+ Install the parts of the Breeze icon theme Quassel uses. Breeze is the default
+ icon theme for Plasma 5, and thus already available on systems where Plasma is
+ installed. By default, WITH_BREEZE is ON iff WITH_KDE is OFF. If you are
sure that you have the icon set already installed on your system regardless,
use this option to disable installing the bundled icons.
--DWITH_BREEZE=(ON|OFF)
- Alternative icon set to Oxygen.
- By default, WITH_BREEZE is OFF.
-
-DWITH_BREEZE_DARK=(ON|OFF)
- Alternative icon set to Oxygen.
+ Alternative icon theme to Breeze, optimized for dark desktop themes.
By default, WITH_BREEZE_DARK is OFF.
+-DWITH_OXYGEN=(ON|OFF)
+ Alternative icon theme to Breeze. Oxygen was the default theme in KDE 4, and
+ also the bundled icon theme in Quassel before version 0.13.
+ By default, WITH_OXYGEN is OFF.
+
-DWITH_WEBKIT=OFF
Use Webkit for showing previews of webpages linked in the chat. Requires
the QtWebkit module to be available, and increases the client's RAM usage
#ifndef BUILD_CORE
// put client-only arguments here
- cliParser->addOption("icontheme", 0, "Override the system icon theme ('oxygen' is recommended)", "theme");
+ cliParser->addOption("icontheme", 0, "Override the system icon theme ('breeze' is recommended)", "theme");
cliParser->addOption("qss", 0, "Load a custom application stylesheet", "file.qss");
cliParser->addSwitch("debugbufferswitches", 0, "Enables debugging for bufferswitches");
cliParser->addSwitch("debugmodel", 0, "Enables debugging for models");
else if (QtUiSettings().value("IconTheme", QVariant("")).toString() != "")
QIcon::setThemeName(QtUiSettings().value("IconTheme").toString());
else if (QIcon::themeName().isEmpty())
- // Some platforms don't set a default icon theme; chances are we can find our bundled Oxygen theme though
- QIcon::setThemeName("oxygen");
+ // Some platforms don't set a default icon theme; chances are we can find our bundled theme though
+ QIcon::setThemeName("breeze");
// session resume
QtUi *gui = new QtUi();
void AppearanceSettingsPage::initIconThemeComboBox()
{
+ // TODO Replace by runtime detection
#if defined WITH_OXYGEN || defined WITH_BREEZE || defined WITH_BREEZE_DARK
-# if defined WITH_OXYGEN
- ui.iconthemeComboBox->addItem(tr("Oxygen"), QVariant("oxygen"));
-# endif
# if defined WITH_BREEZE
ui.iconthemeComboBox->addItem(tr("Breeze Light"), QVariant("breeze"));
# endif
# if defined WITH_BREEZE_DARK
ui.iconthemeComboBox->addItem(tr("Breeze Dark"), QVariant("breezedark"));
# endif
+# if defined WITH_OXYGEN
+ ui.iconthemeComboBox->addItem(tr("Oxygen"), QVariant("oxygen"));
+# endif
#else
+ ui.iconthemeLabel->hide();
ui.iconthemeComboBox->hide();
#endif
}
</spacer>
</item>
<item row="2" column="0">
- <widget class="QLabel" name="label_10">
+ <widget class="QLabel" name="iconthemeLabel">
<property name="text">
- <string>Icon Theme:</string>
+ <string>Icon theme:</string>
</property>
</widget>
</item>
<item row="2" column="1">
<widget class="QComboBox" name="iconthemeComboBox">
<property name="toolTip">
- <string>Choose from the bundled Icon-Themes! May need restart...</string>
+ <string>Choose from the bundled icon themes! May need restart...</string>
</property>
<item>
<property name="text">