menu - Qt: Adding a special item to QMenu -
some programs maya , wings3d have menu, includes special link on menu items on right side (usually square) triggers different feature. example, wings3d might have item called "cube", makes standard cube. however, if click on highlightable/selectable box beside "cube" item, perform different operation. attached image of wings3d example.
is easy way using qmenu , qaction? should create special layout qmenu or need subclass more fine-grained control?
you try using qwidgetaction accomplish this. might take bit of work ensure actions stay consistent in terms of & feel typical rendering of qactions across different platforms , styles.
Comments
Post a Comment