23 #if defined (HAVE_CONFIG_H) 44 return new ToggleTool (go,
new QAction (parentWidget));
55 action->setCheckable (
true);
56 action->setChecked (tp.is_state ());
58 connect (action, SIGNAL (toggled (
bool)),
69 QAction *action = qWidget<QAction> ();
73 case uitoggletool::properties::ID_STATE:
74 action->setChecked (tp.is_state ());
static void post_callback(const graphics_handle &h, const std::string &name, const octave_value &data=Matrix())
static Object * parentObject(const graphics_object &go)
static void post_set(const graphics_handle &h, const std::string &name, const octave_value &value, bool notify_toolkit=true)