No symbolic icons

This commit is contained in:
Alexey Varfolomeev 2021-08-20 08:25:16 +04:00 committed by Nate Graham
parent e729478d09
commit 6336bb71ba
4 changed files with 9 additions and 9 deletions

View file

@ -83,7 +83,7 @@ ScrollViewKCM {
footer: RowLayout {
QQC2.Button {
text: checked ? i18n("Close") : i18n("Add Property...")
icon.name: checked ? "dialog-close" : "list-add-symbolic"
icon.name: checked ? "dialog-close" : "list-add"
checkable: true
checked: propertySheet.sheetOpen
onToggled: {
@ -214,7 +214,7 @@ ScrollViewKCM {
}
}
QQC2.ToolButton {
icon.name: (model.enabled) ? "dialog-ok-apply" : "list-add-symbolic"
icon.name: (model.enabled) ? "dialog-ok-apply" : "list-add"
opacity: propertyDelegate.hovered ? 1 : 0
onClicked: propertyDelegate.clicked()
Layout.preferredWidth: implicitWidth

View file

@ -70,7 +70,7 @@ ScrollViewKCM {
text: i18n("Select the rules to export")
actions: [
Kirigami.Action {
iconName: "object-select-symbolic"
iconName: "dialog-ok-apply"
text: checked ? i18n("Unselect All") : i18n("Select All")
checkable: true
checked: selectedIndexes.length === ruleBookView.count
@ -97,7 +97,7 @@ ScrollViewKCM {
footer: RowLayout {
QQC2.Button {
text: i18n("Add New...")
icon.name: "list-add-symbolic"
icon.name: "list-add"
enabled: !exportInfo.visible
onClicked: {
kcm.createRule();

View file

@ -420,7 +420,7 @@ void RulesModel::populateRuleList()
auto size = addRule(new RuleItem(QLatin1String("size"),
RulePolicy::SetRule, RuleItem::Size,
i18n("Size"), i18n("Size & Position"),
QIcon::fromTheme("image-resize-symbolic")));
QIcon::fromTheme("transform-scale")));
size->setFlag(RuleItem::AffectsWarning);
addRule(new RuleItem(QLatin1String("maximizehoriz"),
@ -500,12 +500,12 @@ void RulesModel::populateRuleList()
addRule(new RuleItem(QLatin1String("minsize"),
RulePolicy::ForceRule, RuleItem::Size,
i18n("Minimum Size"), i18n("Size & Position"),
QIcon::fromTheme("image-resize-symbolic")));
QIcon::fromTheme("transform-scale")));
addRule(new RuleItem(QLatin1String("maxsize"),
RulePolicy::ForceRule, RuleItem::Size,
i18n("Maximum Size"), i18n("Size & Position"),
QIcon::fromTheme("image-resize-symbolic")));
QIcon::fromTheme("transform-scale")));
addRule(new RuleItem(QLatin1String("strictgeometry"),
RulePolicy::ForceRule, RuleItem::Boolean,
@ -721,7 +721,7 @@ QList<OptionsModel::Data> RulesModel::windowTypesModelData() const
{ NET::Splash, i18n("Splash Screen") , QIcon::fromTheme("embosstool") },
{ NET::Desktop, i18n("Desktop") , QIcon::fromTheme("desktop") },
// { NET::Override, i18n("Unmanaged Window") }, deprecated
{ NET::TopMenu, i18n("Standalone Menubar"), QIcon::fromTheme("open-menu-symbolic") },
{ NET::TopMenu, i18n("Standalone Menubar"), QIcon::fromTheme("application-menu") },
{ NET::OnScreenDisplay, i18n("On Screen Display"), QIcon::fromTheme("osd-duplicate") }
};
return modelData;

View file

@ -338,7 +338,7 @@ void UserActionsMenu::init()
action = m_menu->addMenu(advancedMenu);
action->setText(i18n("&More Actions"));
action->setIcon(QIcon::fromTheme(QStringLiteral("view-more-symbolic")));
action->setIcon(QIcon::fromTheme(QStringLiteral("overflow-menu")));
m_closeOperation = m_menu->addAction(i18n("&Close"));
m_closeOperation->setIcon(QIcon::fromTheme(QStringLiteral("window-close")));