Loading...
Searching...
No Matches
coloringSettingsDialog.h
Go to the documentation of this file.
// -*- Mode: C++; tab-width: 2; -*-
// vi: set ts=2:
//
#ifndef BALL_VIEW_DIALOGS_COLORINGSETTINGSDIALOG_H
#define BALL_VIEW_DIALOGS_COLORINGSETTINGSDIALOG_H
#ifndef BALL_COMMON_GLOBAL_H
# include <BALL/COMMON/global.h>
#endif
#ifndef BALL_VIEW_KERNEL_PREFERENCESENTRY
# include <BALL/VIEW/KERNEL/preferencesEntry.h>
#endif
#ifndef BALL_VIEW_KERNEL_COMMON_H
# include <BALL/VIEW/KERNEL/common.h>
#endif
#ifndef BALL_VIEW_DATATYPE_COLORRGBA_H
# include <BALL/VIEW/DATATYPE/colorRGBA.h>
#endif
#include <BALL/VIEW/UIC/ui_coloringSettingsDialog.h>
#include <vector>
namespace BALL
{
class PTE;
namespace VIEW
{
class ColorProcessor;
class BALL_VIEW_EXPORT ColoringSettingsDialog
: public QWidget,
public Ui_ColoringSettingsDialogData,
public PreferencesEntry
{
Q_OBJECT
public:
ColoringSettingsDialog( QWidget* parent = 0, const char* name = "ColoringSettings", Qt::WindowFlags fl = 0 );
virtual ~ColoringSettingsDialog() {}
virtual void applySettingsTo(ColorProcessor& cp) const;
virtual ColorProcessor* createColorProcessor(ColoringMethod method) const;
virtual void getSettings(const ColorProcessor& cp);
virtual QWidget* getEntryFor(ColoringMethod method);
virtual vector<ColorRGBA> getColors(ColoringMethod method) const;
virtual void writePreferenceEntries(INIFile& inifile);
virtual void readPreferenceEntries(INIFile& inifile);
protected Q_SLOTS:
virtual void maxDistanceChanged();
virtual void maxTFChanged();
virtual void forceMaxValueChanged();
virtual void forceMinValueChanged();
protected:
virtual void setDefaultValues_();
};
} }
#endif
global.h
BALL_VIEW_EXPORT
#define BALL_VIEW_EXPORT
Definition COMMON/global.h:52
common.h
BALL::INIFile
Definition INIFile.h:29
BALL::VIEW::ColorProcessor
Definition colorProcessor.h:52
BALL::VIEW::ColoringSettingsDialog::forceMaxValueChanged
virtual void forceMaxValueChanged()
BALL::VIEW::ColoringSettingsDialog::~ColoringSettingsDialog
virtual ~ColoringSettingsDialog()
Destructor.
Definition coloringSettingsDialog.h:54
BALL::VIEW::ColoringSettingsDialog::maxDistanceChanged
virtual void maxDistanceChanged()
BALL::VIEW::ColoringSettingsDialog::createColorProcessor
virtual ColorProcessor * createColorProcessor(ColoringMethod method) const
BALL::VIEW::ColoringSettingsDialog::maxTFChanged
virtual void maxTFChanged()
BALL::VIEW::ColoringSettingsDialog::applySettingsTo
virtual void applySettingsTo(ColorProcessor &cp) const
BALL::VIEW::ColoringSettingsDialog::getColors
virtual vector< ColorRGBA > getColors(ColoringMethod method) const
BALL::VIEW::ColoringSettingsDialog::setDefaultValues_
virtual void setDefaultValues_()
BALL::VIEW::ColoringSettingsDialog::getSettings
virtual void getSettings(const ColorProcessor &cp)
BALL::VIEW::ColoringSettingsDialog::ColoringSettingsDialog
ColoringSettingsDialog(QWidget *parent=0, const char *name="ColoringSettings", Qt::WindowFlags fl=0)
Constructor.
BALL::VIEW::ColoringSettingsDialog::getEntryFor
virtual QWidget * getEntryFor(ColoringMethod method)
BALL::VIEW::ColoringSettingsDialog::forceMinValueChanged
virtual void forceMinValueChanged()
BALL::VIEW::ColoringSettingsDialog::writePreferenceEntries
virtual void writePreferenceEntries(INIFile &inifile)
Store the settings of all registered objects.
BALL::VIEW::ColoringSettingsDialog::readPreferenceEntries
virtual void readPreferenceEntries(INIFile &inifile)
BALL::VIEW::PreferencesEntry::PreferencesEntry
PreferencesEntry()
QWidget
colorRGBA.h
BALL::PTE
BALL_EXPORT PTE_ PTE
BALL::VIEW
Definition constraints.h:35
BALL::VIEW::ColoringMethod
ColoringMethod
Definition VIEW/KERNEL/common.h:243
BALL
Definition constants.h:13
preferencesEntry.h