[GUI] Enable sort of zoom in Light Sources dialog

This commit is contained in:
xtemp09
2024-09-02 15:30:03 +07:00
committed by Yorik van Havre
parent 7b3eca8396
commit 0995e1d5ec
3 changed files with 345 additions and 167 deletions

View File

@@ -31,6 +31,7 @@
class SoDragger;
class SoDirectionalLightDragger;
class SoOrthographicCamera;
namespace Gui {
class View3DInventorViewer;
@@ -61,6 +62,9 @@ public Q_SLOTS:
void lightIntensity(int value);
void lightColor();
void pushIn (void);
void pullOut(void);
protected:
void changeEvent(QEvent* event) override;
@@ -75,6 +79,9 @@ private:
std::unique_ptr<Ui_DlgSettingsLightSources> ui;
QPointer <View3DInventorViewer> view;
SoDirectionalLightDragger* lightDragger = nullptr;
SoOrthographicCamera *camera = nullptr;
float cam_step = 3.0f;
};
} // namespace Dialog