mirror of
https://github.com/leozide/leocad
synced 2024-12-25 21:58:23 +01:00
53 lines
1.3 KiB
C++
53 lines
1.3 KiB
C++
#pragma once
|
|
|
|
#include <QtWidgets>
|
|
|
|
class lcAutomateEdgeColorDialog : public QDialog
|
|
{
|
|
Q_OBJECT
|
|
public:
|
|
lcAutomateEdgeColorDialog(QWidget *Parent, bool ShowHighContrastDialog);
|
|
bool mStudCylinderColorEnabled;
|
|
quint32 mStudCylinderColor;
|
|
bool mPartEdgeColorEnabled;
|
|
quint32 mPartEdgeColor;
|
|
bool mBlackEdgeColorEnabled;
|
|
quint32 mBlackEdgeColor;
|
|
bool mDarkEdgeColorEnabled;
|
|
quint32 mDarkEdgeColor;
|
|
float mPartEdgeContrast;
|
|
float mPartColorValueLDIndex;
|
|
|
|
protected slots:
|
|
void SliderValueChanged(int);
|
|
void ResetSliderButtonClicked();
|
|
void ColorButtonClicked();
|
|
void ColorCheckBoxClicked();
|
|
void ResetColorButtonClicked();
|
|
|
|
protected:
|
|
QSlider* PartColorValueLDIndexSlider;
|
|
QSlider* PartEdgeContrastSlider;
|
|
|
|
QLabel* PartEdgeContrast;
|
|
QLabel* PartColorValueLDIndex;
|
|
|
|
QToolButton* ResetPartEdgeContrastButton;
|
|
QToolButton* ResetPartColorValueLDIndexButton;
|
|
|
|
QCheckBox* StudCylinderColorEnabledBox;
|
|
QCheckBox* PartEdgeColorEnabledBox;
|
|
QCheckBox* BlackEdgeColorEnabledBox;
|
|
QCheckBox* DarkEdgeColorEnabledBox;
|
|
|
|
QToolButton* StudCylinderColorButton;
|
|
QToolButton* PartEdgeColorButton;
|
|
QToolButton* BlackEdgeColorButton;
|
|
QToolButton* DarkEdgeColorButton;
|
|
|
|
QToolButton* ResetStudCylinderColorButton;
|
|
QToolButton* ResetPartEdgeColorButton;
|
|
QToolButton* ResetBlackEdgeColorButton;
|
|
QToolButton* ResetDarkEdgeColorButton;
|
|
};
|
|
|