27 #include <QApplication>
43 # define OCTAVE_PTR_TYPE octave_uint64
44 # define OCTAVE_INTPTR_TYPE uint64_t
45 # define OCTAVE_PTR_SCALAR uint64_scalar_value
54 if (go.
isa (
"figure"))
55 return std::string (
"__plot_stream__");
56 else if (go.
isa (
"uicontrol")
59 || go.
isa (
"uicontextmenu")
60 || go.
isa (
"uitoolbar")
61 || go.
isa (
"uipushtool")
62 || go.
isa (
"uitoggletool"))
63 return std::string (
"__object__");
65 qCritical (
"QtHandles::Backend: no __object__ property known for object "
66 "of type %s", go.
type ().c_str ());
68 return std::string ();
88 || go.
isa (
"uicontrol")
91 || go.
isa (
"uicontextmenu")
92 || go.
isa (
"uitoolbar")
93 || go.
isa (
"uipushtool")
94 || go.
isa (
"uitoggletool"))
97 go.
type ().c_str (), QThread::currentThreadId ());
129 go.
type ().c_str (), pId, QThread::currentThreadId ());
135 if (go.
isa (
"uicontrol")
153 go.
type ().c_str (), QThread::currentThreadId ());
182 const std::string& term,
183 const std::string& file_cmd,
bool ,
184 const std::string& )
const
void update(const graphics_object &obj, int pId)
bool is_visible(void) const
bool initialize(const graphics_object &obj)
bool isa(const std::string &go_name) const
bool is_defined(void) const
QString fromStdString(const std::string &s)
octave_value get(bool all=false) const
void redraw_figure(const graphics_object &h) const
void createObject(double handle)
static ObjectFactory * instance(void)
static void debug(const char *fmt,...)
#define OCTAVE_INTPTR_TYPE
void print_figure(const graphics_object &go, const std::string &term, const std::string &file_cmd, bool, const std::string &) const
static ObjectProxy * toolkitObjectProxy(const graphics_object &go)
base_properties & get_properties(void)
static std::string toolkitObjectProperty(const graphics_object &go)
std::string type(void) const
bool is_empty(void) const
static Object * toolkitObject(const graphics_object &go)
graphics_handle get_handle(void) const
virtual void set(const caseless_str &, const octave_value &)
void finalize(const graphics_object &obj)
void print(const QString &file_cmd, const QString &term)