-
Notifications
You must be signed in to change notification settings - Fork 772
Labels
a:language-slintCompiler for the .slint language (mO,bF)Compiler for the .slint language (mO,bF)
Description
We should add a way to disable MenuItem and have an Icon
Menu {
MenuItem {
title: @tr("Copy");
icon: @image-url("icons/copy.png")
enabled: root.has-selection;
activated => { ... }
}
}Update: enabled property was added in #8145
This issue now tracks the icon property.
FloVanGHultimaweapon and JoeJoeTV
Metadata
Metadata
Assignees
Labels
a:language-slintCompiler for the .slint language (mO,bF)Compiler for the .slint language (mO,bF)
Type
Projects
Milestone
Relationships
Development
Select code repository
Activity
Menu: Add enabled property
Menu: Add enabled property
Menu: Add enabled property (#8145)
[-]More properties for MenuItem: `enabled`, `icon`[/-][+]More properties for MenuItem: ~`enabled`~~, `icon`[/+][-]More properties for MenuItem: ~`enabled`~~, `icon`[/-][+]More properties for MenuItem: ~~`enabled`~~, `icon`[/+][-]More properties for MenuItem: ~~`enabled`~~, `icon`[/-][+]More properties for MenuItem: `icon`[/+]Menu: Add icon property
Menu: Add icon property
Menu: Add icon property
Menu: Add icon property
Menu: Add icon property
Menu: Add icon property
Menu: Add icon property
Menu: Add icon property