5 #ifndef BALL_VIEW_DIALOGS_MATERIALSETTINGS_H
6 #define BALL_VIEW_DIALOGS_MATERIALSETTINGS_H
8 #ifndef BALL_COMMON_GLOBAL_H
12 #ifndef BALL_VIEW_KERNEL_PREFERENCESENTRY
16 #include <BALL/VIEW/UIC/ui_materialSettings.h>
18 #include <QtGui/QWidget>
19 #include <QtGui/QLabel>
35 public Ui_MaterialSettingsData,
58 void updateDefaultMaterialsFromStage();
62 virtual void ambientFactorChanged();
63 virtual void specularityFactorChanged();
64 virtual void reflectivenessFactorChanged();
65 virtual void shininessFactorChanged();
66 virtual void transparencyFactorChanged();
67 virtual void updateDirectlyBoxChanged();
68 virtual void editAmbientColor();
69 virtual void editSpecularityColor();
70 virtual void editReflectivenessColor();
73 void setLabel_(QLabel& label,
float value);
74 void setValues_(
const QSlider& slider, QLabel& label,
int divisor);
75 void setQuadraticValues_(
const QSlider& slider, QLabel& label,
int divisor);
~MaterialSettings()
Destructor.