Go to the documentation of this file.
26 #include <QMainWindow>
27 #include <QMessageBox>
34 #include <Inventor/nodes/SoNode.h>
40 __appMainWindow =
nullptr;
45 if (__widget && !__widget->parent())
58 __widget =
new QWidget();
109 if (instanceName.length() == 0)
111 throw LocalException(
"The instance name of the widget must not be empty");
114 if (__instanceName.length() > 0)
119 __instanceName = instanceName;
126 return __instanceName;
132 __appMainWindow = mainWindow;
138 return __appMainWindow;
150 this->tipDialog = tipDialog;
176 ARMARX_DEBUG << (enable ?
"enabling" :
"disabling") <<
" the main widget";
187 return msgBox.exec();
193 ARMARX_DEBUG <<
"Requesting to " << (enable ?
"enable" :
"disable") <<
" the main widget";
194 if (!QMetaObject::invokeMethod(
this,
"enableMainWidget", Q_ARG(
bool, enable)))
214 stream <<
string.toStdString();
221 stream << point.x() <<
", " << point.y();
228 stream <<
"topleft: " << rect.topLeft() <<
", bottomright:" << rect.bottomRight();
235 stream <<
"SizeF: " << rect.width() <<
"x" << rect.height();
const LogSender::manipulator flush
ARMARXCORE_IMPORT_EXPORT ostream & operator<<(ostream &stream, const armarx::RunningTaskIceBase &task)
#define CHECK_QT_THREAD(qtObject)
Macro to check whether the current function is executed in the thread of the given Qt object.
This file offers overloads of toIce() and fromIce() functions for STL container types.