A dialog used to build a ContrastEnhancementWidget element. More...
#include <ContrastEnhancementWidget.h>
Signals | |
void | contrastEnhancementChanged () |
Public Member Functions | |
te::se::ContrastEnhancement * | getContrastEnhancement () const |
void | setContrastEnhancement (te::se::ContrastEnhancement *ce) |
Initializer Methods | |
Methods related to instantiation and destruction. | |
ContrastEnhancementWidget (QWidget *parent=0, Qt::WindowFlags f=0) | |
Constructs a ContrastEnhancementWidget dialog which is a child of parent, with widget flags set to f. More... | |
~ContrastEnhancementWidget () | |
Destructor. More... | |
Protected Slots | |
void | onGammaValueChanged (double value) |
void | onTypeChanged (QString value) |
Protected Member Functions | |
void | initialize () |
Internal method to initialize the widget (e.g.: color, combos, icons, etc.) More... | |
void | updateUi () |
Updates the widget form based on internal fill element. More... | |
Private Attributes | |
std::map< te::se::ContrastEnhancement::ContrastEnhancementType, QString > | m_ceNames |
Contrast Types Names. More... | |
te::se::ContrastEnhancement * | m_contrast |
SE Contrast element. More... | |
std::auto_ptr< Ui::ContrastEnhancementWidgetForm > | m_ui |
Dialog form. More... | |
A dialog used to build a ContrastEnhancementWidget element.
Definition at line 62 of file ContrastEnhancementWidget.h.
te::qt::widgets::ContrastEnhancementWidget::ContrastEnhancementWidget | ( | QWidget * | parent = 0 , |
Qt::WindowFlags | f = 0 |
||
) |
Constructs a ContrastEnhancementWidget dialog which is a child of parent, with widget flags set to f.
Definition at line 39 of file ContrastEnhancementWidget.cpp.
References initialize(), m_ui, onGammaValueChanged(), and onTypeChanged().
te::qt::widgets::ContrastEnhancementWidget::~ContrastEnhancementWidget | ( | ) |
Destructor.
Definition at line 53 of file ContrastEnhancementWidget.cpp.
|
signal |
te::se::ContrastEnhancement * te::qt::widgets::ContrastEnhancementWidget::getContrastEnhancement | ( | ) | const |
Definition at line 71 of file ContrastEnhancementWidget.cpp.
References te::se::ContrastEnhancement::clone().
|
protected |
Internal method to initialize the widget (e.g.: color, combos, icons, etc.)
Definition at line 76 of file ContrastEnhancementWidget.cpp.
References te::se::ContrastEnhancement::ENHANCEMENT_HISTOGRAM, te::se::ContrastEnhancement::ENHANCEMENT_NONE, and te::se::ContrastEnhancement::ENHANCEMENT_NORMALIZE.
Referenced by ContrastEnhancementWidget().
|
protectedslot |
Definition at line 111 of file ContrastEnhancementWidget.cpp.
Referenced by ContrastEnhancementWidget().
|
protectedslot |
Definition at line 118 of file ContrastEnhancementWidget.cpp.
Referenced by ContrastEnhancementWidget().
void te::qt::widgets::ContrastEnhancementWidget::setContrastEnhancement | ( | te::se::ContrastEnhancement * | ce | ) |
Definition at line 60 of file ContrastEnhancementWidget.cpp.
References te::se::ContrastEnhancement::clone().
|
protected |
Updates the widget form based on internal fill element.
Definition at line 105 of file ContrastEnhancementWidget.cpp.
|
private |
Contrast Types Names.
Definition at line 112 of file ContrastEnhancementWidget.h.
|
private |
SE Contrast element.
Definition at line 110 of file ContrastEnhancementWidget.h.
|
private |
Dialog form.
Definition at line 108 of file ContrastEnhancementWidget.h.
Referenced by ContrastEnhancementWidget().