Convenient utility functions for TechDraw Gui Module. More...
#include <DrawGuiUtil.h>
Static Public Member Functions | |
static void | dumpPointF (const char *text, const QPointF &p) |
static void | dumpRectF (const char *text, const QRectF &r) |
static TechDraw::DrawPage * | findPage (Gui::Command *cmd) |
static std::pair< Base::Vector3d, Base::Vector3d > | get3DDirAndRot () |
static std::pair< Base::Vector3d, Base::Vector3d > | getProjDirFromFace (App::DocumentObject *obj, std::string faceName) |
static bool | isArchObject (App::DocumentObject *obj) |
static bool | isArchSection (App::DocumentObject *obj) |
static bool | isDraftObject (App::DocumentObject *obj) |
static void | loadArrowBox (QComboBox *qcb) |
static bool | needPage (Gui::Command *cmd) |
static bool | needView (Gui::Command *cmd, bool partOnly=true) |
|
static |
References Base::Console(), and Base::ConsoleSingleton::Message().
|
static |
References Base::Console(), and Base::ConsoleSingleton::Message().
|
static |
References Base::Persistence::getClassTypeId(), Gui::Command::getDocument(), TechDrawGui::QGSPage::getDrawPage(), Gui::getMainWindow(), App::DocumentObject::getNameInDocument(), App::Document::getObjectsOfType(), draftutils.utils::getObjectsOfType, TechDrawGui::MDIViewPage::getQGSPage(), TechDrawGui::DlgPageChooser::getSelection(), and Gui::Command::getSelection().
|
static |
|
static |
|
static |
References App::PropertyPythonObject::getValue().
|
static |
References App::PropertyPythonObject::getValue().
|
static |
References App::PropertyPythonObject::getValue().
|
static |
|
static |
|
static |