leocad/common/lc_edgecolordialog.h

44 lines
1,014 B
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);
2021-01-24 12:53:02 +01:00
quint32 mStudColor;
quint32 mStudEdgeColor;
quint32 mDarkEdgeColor;
quint32 mBlackEdgeColor;
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 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;
2021-01-24 12:53:02 +01:00
QToolButton* StudColorButton;
QToolButton* StudEdgeColorButton;
QToolButton* BlackEdgeColorButton;
QToolButton* DarkEdgeColorButton;
2021-01-24 12:53:02 +01:00
QToolButton* ResetStudColorButton;
QToolButton* ResetStudEdgeColorButton;
QToolButton* ResetBlackEdgeColorButton;
QToolButton* ResetDarkEdgeColorButton;
2021-01-24 12:53:02 +01:00
};