26#if defined (HAVE_CONFIG_H)
42 octave::interpreter& interp,
43 const graphics_object& go)
53 new QCheckBox (container));
60 octave::interpreter& interp,
61 const graphics_object& go, QCheckBox *
box)
66 box->setAutoFillBackground (
true);
67 if (up.enable_is (
"inactive"))
68 box->setCheckable (
false);
78 QCheckBox *
box = qWidget<QCheckBox> ();
82 case uicontrol::properties::ID_ENABLE:
84 if (up.enable_is (
"inactive"))
85 box->setCheckable (
false);
87 box->setCheckable (
true);
CheckBoxControl(octave::base_qobject &oct_qobj, octave::interpreter &interp, const graphics_object &go, QCheckBox *box)
static CheckBoxControl * create(octave::base_qobject &oct_qobj, octave::interpreter &interp, const graphics_object &go)
virtual Container * innerContainer(void)=0
static Object * parentObject(octave::interpreter &interp, const graphics_object &go)
Base class for Octave interfaces that use Qt.
T::properties & properties(graphics_object obj)
static octave_value box(JNIEnv *jni_env, void *jobj, void *jcls_arg=nullptr)
Convert the Java object pointed to by jobj_arg with class jcls_arg to an Octave value.