Revision 8999b0bc5b9ad2a29d852e212afdda5d44636a07 authored by jingma-git on 16 November 2021, 15:16:38 UTC, committed by jingma-git on 16 November 2021, 15:16:38 UTC
1 parent 6ea6874
SetInfoDialog.h
#pragma once
#include <QDialog>
#include <vector>
namespace Ui
{
class SetInfoDialog;
}
class EasyGL;
class ToyView;
class XSubToy;
class SetInfoDialog : public QDialog
{
Q_OBJECT
public:
enum SubToyOp
{
SubToyOP_ADD,
SubToyOP_ADJUST_THICK,
SubToyOP_SCALE
};
SetInfoDialog(QWidget *parent = nullptr);
private Q_SLOTS:
void scaleSliderValueChanged(int value);
void thickSliderValueChanged(int value);
void depthSliderValueChanged(int value);
private:
Ui::SetInfoDialog *ui;
EasyGL *gl;
ToyView *m_curView;
XSubToy *subToy;
std::vector<int> layers;
int lastSclValue;
double scl = 1.0;
int op_mode = SubToyOP_ADD;
};
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...