mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-04 13:13:25 +03:00
0029674: Improvements in Inspector tool
- preferences for dock windows geometry, tree view columns and current view projection; - ViewControl package for common functionality between plugins; - processing Location and Orientation for external TopoDS_Shape object - 'F5' key to update content of each plugin - visibility column in tree view (used now only in ShapeView) - properties child item for context (presents tree of current Filters of context)
This commit is contained in:
@@ -25,9 +25,7 @@
|
||||
#include <TopoDS_Shape.hxx>
|
||||
|
||||
#include <Standard_WarningsDisable.hxx>
|
||||
#include <QApplication>
|
||||
#include <QString>
|
||||
#include <QStyle>
|
||||
#include <QString>
|
||||
#include <QVariant>
|
||||
#include <Standard_WarningsRestore.hxx>
|
||||
@@ -45,10 +43,6 @@ public:
|
||||
//! \returns value
|
||||
Standard_EXPORT static int DefaultPanelColumnWidth (const int theColumnId);
|
||||
|
||||
//! Returns header margin, defined in style settings of application
|
||||
//! \return integer value
|
||||
Standard_EXPORT static int HeaderSectionMargin() { return qApp->style()->pixelMetric (QStyle::PM_HeaderMargin); }
|
||||
|
||||
//! Returns a string presentation of the label
|
||||
//! \param theLabel a label object
|
||||
//! \return the string value
|
||||
@@ -69,7 +63,7 @@ public:
|
||||
//! Returns "true" or "false" text for the given boolean state
|
||||
//! \param theValue a boolean value
|
||||
//! \return string value
|
||||
Standard_EXPORT static QString BoolToStr (const Standard_Boolean theValue) { return theValue ? "true" : "false"; }
|
||||
Standard_EXPORT static QString BoolToStr (const bool theValue) { return theValue ? "true" : "false"; }
|
||||
|
||||
//! Converts a Qt string to OCCT extended string
|
||||
//! \param theValue a converted string
|
||||
|
Reference in New Issue
Block a user