leocad/common/lc_edgecolordialog.h

54 lines
1.3 KiB
C
Raw Normal View History

2021-01-24 12:53:02 +01:00
#pragma once
#include <QtWidgets>
class lcAutomateEdgeColorDialog : public QDialog
{
Q_OBJECT
public:
lcAutomateEdgeColorDialog(QWidget *Parent, bool ShowHighContrastDialog);
bool mStudCylinderColorEnabled;
2021-01-26 16:42:19 +01:00
quint32 mStudCylinderColor;
bool mPartEdgeColorEnabled;
2021-01-26 16:42:19 +01:00
quint32 mPartEdgeColor;
bool mBlackEdgeColorEnabled;
quint32 mBlackEdgeColor;
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);
void ResetSliderButtonClicked();
2021-01-24 12:53:02 +01:00
void ColorButtonClicked();
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;
QLabel* PartEdgeContrast;
QLabel* PartColorValueLDIndex;
QToolButton* ResetPartEdgeContrastButton;
QToolButton* ResetPartColorValueLDIndexButton;
QCheckBox* StudCylinderColorEnabledBox;
QCheckBox* PartEdgeColorEnabledBox;
QCheckBox* BlackEdgeColorEnabledBox;
QCheckBox* DarkEdgeColorEnabledBox;
2021-01-26 16:42:19 +01:00
QToolButton* StudCylinderColorButton;
QToolButton* PartEdgeColorButton;
QToolButton* BlackEdgeColorButton;
QToolButton* DarkEdgeColorButton;
2021-01-26 16:42:19 +01:00
QToolButton* ResetStudCylinderColorButton;
QToolButton* ResetPartEdgeColorButton;
QToolButton* ResetBlackEdgeColorButton;
QToolButton* ResetDarkEdgeColorButton;
2021-01-24 12:53:02 +01:00
};