Go to the documentation of this file.
29 #include <Inventor/nodes/SoNode.h>
31 #include <QMainWindow>
32 #include <QMessageBox>
41 __appMainWindow =
nullptr;
46 if (__widget && !__widget->parent())
58 __widget =
new QWidget();
101 if (instanceName.length() == 0)
103 throw LocalException(
"The instance name of the widget must not be empty");
106 if (__instanceName.length() > 0)
111 __instanceName = instanceName;
117 return __instanceName;
122 __appMainWindow = mainWindow;
127 return __appMainWindow;
137 this->tipDialog = tipDialog;
160 ARMARX_DEBUG << (enable ?
"enabling" :
"disabling") <<
" the main widget";
171 return msgBox.exec();
176 ARMARX_DEBUG <<
"Requesting to " << (enable ?
"enable" :
"disable") <<
" the main widget";
177 if (!QMetaObject::invokeMethod(
this,
"enableMainWidget", Q_ARG(
bool, enable)))
188 std::ostream&
std::operator<< (std::ostream& stream,
const QString&
string)
190 stream <<
string.toStdString();
194 std::ostream&
std::operator<< (std::ostream& stream,
const QPointF& point)
196 stream << point.x() <<
", " << point.y();
200 std::ostream&
std::operator<<(std::ostream& stream,
const QRectF& rect)
202 stream <<
"topleft: " << rect.topLeft() <<
", bottomright:" << rect.bottomRight();
206 std::ostream&
std::operator<<(std::ostream& stream,
const QSizeF& rect)
208 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.