20 #ifndef XGUI_INSPECTIONPANEL_H_
21 #define XGUI_INSPECTIONPANEL_H_
25 #include <ModelAPI_Feature.h>
26 #include <GeomAlgoAPI_ShapeInfo.h>
28 #include <QDockWidget>
47 MAYBE_UNUSED
const static char* INSPECTION_PANEL =
"inspection_panel_dock";
80 virtual std::string translate(
const char* theSource)
override;
84 virtual void showEvent(QShowEvent* theEvent);
88 void onSelectionChanged();
94 void setSubShapeValue(SudShape theId,
int theVal);
98 void setName(
const QString& theName);
102 void setShapeContent(
const TopoDS_Shape& theShape);
109 void setParamsText(
const QString& theText);
113 void buildFeaturePane(
const FeaturePtr& theFeature);
119 QTableWidget* mySubShapesTab;
121 QTextBrowser* myTypeParams;
122 QVBoxLayout* myMainLayout;
124 QGridLayout* myFeatureLayout;
125 QStackedWidget* myStackWgt;
127 int myFeaturePanelId;
A translator to the current language is needed for HTML export.
Definition: GeomAlgoAPI_ShapeInfo.h:79
Definition: ModuleBase_PageWidget.h:37
A class which represents an inspection panel: to show content of currently selected objects.
Definition: XGUI_InspectionPanel.h:55
SudShape
Type of selected objects.
Definition: XGUI_InspectionPanel.h:59
Class which defines a configuration of the application (Workshop) and launches it.
Definition: XGUI_Workshop.h:83