MCPcopy Create free account
hub / github.com/KLayout/klayout / sync_qaction

Method sync_qaction

src/laybasic/laybasic/layAbstractMenu.cc:716–726  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

714#endif
715
716void
717Action::sync_qaction ()
718{
719#if defined(HAVE_QT)
720 if (mp_action) {
721 mp_action->setVisible (is_effective_visible ());
722 mp_action->setShortcut (get_key_sequence ());
723 mp_action->setEnabled (is_effective_enabled ());
724 }
725#endif
726}
727
728#if defined(HAVE_QT)
729void

Callers 1

menu_about_to_showMethod · 0.80

Calls 1

setVisibleMethod · 0.45

Tested by

no test coverage detected