29 Q_DECLARE_PUBLIC(QQuickMenuItemIconLabel)
32 ~QQuickMenuItemIconLabelPrivate() override;
34 bool hasShortcut()
const;
35 QKeySequence shortcut()
const;
36 bool createShortcutLabel();
37 bool updateShortcutLabel();
38 void syncShortcutLabel();
39 bool destroyShortcutLabel();
40 void updateOrSyncShortcutLabel();
42 void updateImplicitSize() override;
43 void layout() override;
44 void itemDestroyed(QQuickItem *item) override;
46 void textChange() override;
47 void displayChange() override;
49 QQuickMenuItem *menuItem =
nullptr;
50 QQuickText *shortcutLabel =
nullptr;