refactor: Refactor feature browser, move to top-left, and increase font size
Co-authored-by: aider (gemini/gemini-2.5-pro) <aider@aider.chat>
This commit is contained in:
@@ -11,7 +11,7 @@
|
||||
class ViewCube;
|
||||
class SketchGrid;
|
||||
class Document;
|
||||
class Feature;
|
||||
class FeatureBrowser;
|
||||
|
||||
class ViewportWidget : public QOpenGLWidget, protected QOpenGLFunctions
|
||||
{
|
||||
@@ -43,12 +43,11 @@ protected:
|
||||
private:
|
||||
QVector3D project(const QVector3D& worldCoord, const QMatrix4x4& modelView, const QMatrix4x4& projection, const QRect& viewport);
|
||||
void drawAxisLabels(QPainter& painter, const QMatrix4x4& modelView, const QMatrix4x4& projection);
|
||||
void drawFeatureBrowser(QPainter& painter);
|
||||
|
||||
QMatrix4x4 projection;
|
||||
ViewCube* m_viewCube;
|
||||
SketchGrid* m_sketchGrid = nullptr;
|
||||
Document* m_document = nullptr;
|
||||
FeatureBrowser* m_featureBrowser = nullptr;
|
||||
SketchPlane m_currentPlane = SketchPlane::NONE;
|
||||
|
||||
float xRot = 0;
|
||||
|
||||
Reference in New Issue
Block a user