2021-01-24 12:53:02 +01:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include <QtWidgets>
|
|
|
|
|
|
|
|
class lcAutomateEdgeColorDialog : public QDialog
|
|
|
|
{
|
|
|
|
Q_OBJECT
|
|
|
|
public:
|
2021-01-25 13:35:04 +01:00
|
|
|
lcAutomateEdgeColorDialog(QWidget *Parent, bool ShowHighContrastDialog);
|
2023-04-17 18:37:56 +02:00
|
|
|
bool mStudCylinderColorEnabled;
|
2021-01-26 16:42:19 +01:00
|
|
|
quint32 mStudCylinderColor;
|
2023-04-17 18:37:56 +02:00
|
|
|
bool mPartEdgeColorEnabled;
|
2021-01-26 16:42:19 +01:00
|
|
|
quint32 mPartEdgeColor;
|
2023-04-17 18:37:56 +02:00
|
|
|
bool mBlackEdgeColorEnabled;
|
2021-01-25 13:35:04 +01:00
|
|
|
quint32 mBlackEdgeColor;
|
2023-04-17 18:37:56 +02:00
|
|
|
bool mDarkEdgeColorEnabled;
|
|
|
|
quint32 mDarkEdgeColor;
|
2021-01-24 12:53:02 +01:00
|
|
|
float mPartEdgeContrast;
|
2021-01-25 08:34:22 +01:00
|
|
|
float mPartColorValueLDIndex;
|
2021-01-24 12:53:02 +01:00
|
|
|
|
|
|
|
protected slots:
|
|
|
|
void SliderValueChanged(int);
|
2021-01-25 21:43:26 +01:00
|
|
|
void ResetSliderButtonClicked();
|
2021-01-24 12:53:02 +01:00
|
|
|
void ColorButtonClicked();
|
2023-04-17 18:37:56 +02:00
|
|
|
void ColorCheckBoxClicked();
|
2021-01-24 12:53:02 +01:00
|
|
|
void ResetColorButtonClicked();
|
|
|
|
|
|
|
|
protected:
|
2021-01-25 08:34:22 +01:00
|
|
|
QSlider* PartColorValueLDIndexSlider;
|
2021-01-24 12:53:02 +01:00
|
|
|
QSlider* PartEdgeContrastSlider;
|
|
|
|
|
2021-01-25 13:35:04 +01:00
|
|
|
QLabel* PartEdgeContrast;
|
|
|
|
QLabel* PartColorValueLDIndex;
|
|
|
|
|
2021-01-25 21:43:26 +01:00
|
|
|
QToolButton* ResetPartEdgeContrastButton;
|
|
|
|
QToolButton* ResetPartColorValueLDIndexButton;
|
|
|
|
|
2023-04-17 18:37:56 +02:00
|
|
|
QCheckBox* StudCylinderColorEnabledBox;
|
|
|
|
QCheckBox* PartEdgeColorEnabledBox;
|
|
|
|
QCheckBox* BlackEdgeColorEnabledBox;
|
|
|
|
QCheckBox* DarkEdgeColorEnabledBox;
|
|
|
|
|
2021-01-26 16:42:19 +01:00
|
|
|
QToolButton* StudCylinderColorButton;
|
|
|
|
QToolButton* PartEdgeColorButton;
|
2021-01-25 13:35:04 +01:00
|
|
|
QToolButton* BlackEdgeColorButton;
|
|
|
|
QToolButton* DarkEdgeColorButton;
|
|
|
|
|
2021-01-26 16:42:19 +01:00
|
|
|
QToolButton* ResetStudCylinderColorButton;
|
|
|
|
QToolButton* ResetPartEdgeColorButton;
|
2021-01-25 13:35:04 +01:00
|
|
|
QToolButton* ResetBlackEdgeColorButton;
|
|
|
|
QToolButton* ResetDarkEdgeColorButton;
|
2021-01-24 12:53:02 +01:00
|
|
|
};
|
|
|
|
|