This class is a dialog used to select the composition mode for a layer. More...
#include <CompositionModeDialog.h>
Public Member Functions | |
| CompositionModeDialog (QWidget *parent=0, Qt::WindowFlags f=0) | |
| QWidget * | getApplyButton () |
| void | setLayer (te::map::AbstractLayerPtr layer) |
| Set the layer that can be used. More... | |
| ~CompositionModeDialog () | |
Private Attributes | |
| te::map::AbstractLayerPtr | m_layer |
| Selected Layer. More... | |
| std::unique_ptr< Ui::CompositionModeDialogForm > | m_ui |
| Qt component. More... | |
This class is a dialog used to select the composition mode for a layer.
Definition at line 54 of file CompositionModeDialog.h.
| te::qt::widgets::CompositionModeDialog::CompositionModeDialog | ( | QWidget * | parent = 0, |
| Qt::WindowFlags | f = 0 |
||
| ) |
Default Constructor
Definition at line 31 of file CompositionModeDialog.cpp.
References m_ui, onClearRadioButtonClicked(), onColorBurnRadioButtonClicked(), onColorDodgeRadioButtonClicked(), onDarkenRadioButtonClicked(), onDestinationAtTopRadioButtonClicked(), onDestinationInRadioButtonClicked(), onDestinationOutRadioButtonClicked(), onDestinationOverRadioButtonClicked(), onDestinationRadioButtonClicked(), onDifferenceRadioButtonClicked(), onExclusionRadioButtonClicked(), onHardLightRadioButtonClicked(), onLightenRadioButtonClicked(), onMultiplyRadioButtonClicked(), onOverlayRadioButtonClicked(), onPlusRadioButtonClicked(), onScreenRadioButtonClicked(), onSoftLightRadioButtonClicked(), onSourceAtTopRadioButtonClicked(), onSourceInRadioButtonClicked(), onSourceOutRadioButtonClicked(), onSourceOverRadioButtonClicked(), onSourceRadioButtonClicked(), onXorRadioButtonClicked(), and ~CompositionModeDialog().
|
default |
Default Destructor
Referenced by CompositionModeDialog().
| QWidget * te::qt::widgets::CompositionModeDialog::getApplyButton | ( | ) |
Definition at line 225 of file CompositionModeDialog.cpp.
References m_ui.
|
slot |
Definition at line 230 of file CompositionModeDialog.cpp.
References te::map::Clear, m_layer, and m_ui.
Referenced by CompositionModeDialog(), and setLayer().
|
slot |
Definition at line 458 of file CompositionModeDialog.cpp.
References te::map::ColorBurn, m_layer, and m_ui.
Referenced by CompositionModeDialog(), and setLayer().
|
slot |
Definition at line 446 of file CompositionModeDialog.cpp.
References te::map::ColorDodge, m_layer, and m_ui.
Referenced by CompositionModeDialog(), and setLayer().
|
slot |
Definition at line 422 of file CompositionModeDialog.cpp.
References te::map::Darken, m_layer, and m_ui.
Referenced by CompositionModeDialog(), and setLayer().
|
slot |
Definition at line 350 of file CompositionModeDialog.cpp.
References te::map::DestinationAtop, m_layer, and m_ui.
Referenced by CompositionModeDialog(), and setLayer().
|
slot |
Definition at line 302 of file CompositionModeDialog.cpp.
References te::map::DestinationIn, m_layer, and m_ui.
Referenced by CompositionModeDialog(), and setLayer().
|
slot |
Definition at line 326 of file CompositionModeDialog.cpp.
References te::map::DestinationOut, m_layer, and m_ui.
Referenced by CompositionModeDialog(), and setLayer().
|
slot |
Definition at line 278 of file CompositionModeDialog.cpp.
References te::map::DestinationOver, m_layer, and m_ui.
Referenced by CompositionModeDialog(), and setLayer().
|
slot |
Definition at line 254 of file CompositionModeDialog.cpp.
References te::map::Destination, m_layer, and m_ui.
Referenced by CompositionModeDialog(), and setLayer().
|
slot |
Definition at line 494 of file CompositionModeDialog.cpp.
References te::map::Difference, m_layer, and m_ui.
Referenced by CompositionModeDialog(), and setLayer().
|
slot |
Definition at line 506 of file CompositionModeDialog.cpp.
References te::map::Exclusion, m_layer, and m_ui.
Referenced by CompositionModeDialog(), and setLayer().
|
slot |
Definition at line 470 of file CompositionModeDialog.cpp.
References te::map::HardLight, m_layer, and m_ui.
Referenced by CompositionModeDialog(), and setLayer().
|
slot |
Definition at line 434 of file CompositionModeDialog.cpp.
References te::map::Lighten, m_layer, and m_ui.
Referenced by CompositionModeDialog(), and setLayer().
|
slot |
Definition at line 386 of file CompositionModeDialog.cpp.
References m_layer, m_ui, and te::map::Multiply.
Referenced by CompositionModeDialog(), and setLayer().
|
slot |
Definition at line 410 of file CompositionModeDialog.cpp.
References m_layer, m_ui, and te::map::Overlay.
Referenced by CompositionModeDialog(), and setLayer().
|
slot |
Definition at line 374 of file CompositionModeDialog.cpp.
References m_layer, m_ui, and te::map::Plus.
Referenced by CompositionModeDialog(), and setLayer().
|
slot |
Definition at line 398 of file CompositionModeDialog.cpp.
References m_layer, m_ui, and te::map::Screen.
Referenced by CompositionModeDialog(), and setLayer().
|
slot |
Definition at line 482 of file CompositionModeDialog.cpp.
References m_layer, m_ui, and te::map::SoftLight.
Referenced by CompositionModeDialog(), and setLayer().
|
slot |
Definition at line 338 of file CompositionModeDialog.cpp.
References m_layer, m_ui, and te::map::SourceAtop.
Referenced by CompositionModeDialog(), and setLayer().
|
slot |
Definition at line 290 of file CompositionModeDialog.cpp.
References m_layer, m_ui, and te::map::SourceIn.
Referenced by CompositionModeDialog(), and setLayer().
|
slot |
Definition at line 314 of file CompositionModeDialog.cpp.
References m_layer, m_ui, and te::map::SourceOut.
Referenced by CompositionModeDialog(), and setLayer().
|
slot |
Definition at line 266 of file CompositionModeDialog.cpp.
References m_layer, m_ui, and te::map::SourceOver.
Referenced by CompositionModeDialog(), and setLayer().
|
slot |
Definition at line 242 of file CompositionModeDialog.cpp.
References m_layer, m_ui, and te::map::Source.
Referenced by CompositionModeDialog(), and setLayer().
|
slot |
Definition at line 362 of file CompositionModeDialog.cpp.
References m_layer, m_ui, and te::map::Xor.
Referenced by CompositionModeDialog(), and setLayer().
| void te::qt::widgets::CompositionModeDialog::setLayer | ( | te::map::AbstractLayerPtr | layer | ) |
Set the layer that can be used.
| layer | Pointer to the selected layer. |
Definition at line 73 of file CompositionModeDialog.cpp.
References te::map::Clear, te::map::ColorBurn, te::map::ColorDodge, te::map::Darken, te::map::Destination, te::map::DestinationAtop, te::map::DestinationIn, te::map::DestinationOut, te::map::DestinationOver, te::map::Difference, te::map::Exclusion, te::map::HardLight, te::map::Lighten, m_layer, m_ui, te::map::Multiply, onClearRadioButtonClicked(), onColorBurnRadioButtonClicked(), onColorDodgeRadioButtonClicked(), onDarkenRadioButtonClicked(), onDestinationAtTopRadioButtonClicked(), onDestinationInRadioButtonClicked(), onDestinationOutRadioButtonClicked(), onDestinationOverRadioButtonClicked(), onDestinationRadioButtonClicked(), onDifferenceRadioButtonClicked(), onExclusionRadioButtonClicked(), onHardLightRadioButtonClicked(), onLightenRadioButtonClicked(), onMultiplyRadioButtonClicked(), onOverlayRadioButtonClicked(), onPlusRadioButtonClicked(), onScreenRadioButtonClicked(), onSoftLightRadioButtonClicked(), onSourceAtTopRadioButtonClicked(), onSourceInRadioButtonClicked(), onSourceOutRadioButtonClicked(), onSourceOverRadioButtonClicked(), onSourceRadioButtonClicked(), onXorRadioButtonClicked(), te::map::Overlay, te::map::Plus, te::map::Screen, te::map::SoftLight, te::map::Source, te::map::SourceAtop, te::map::SourceIn, te::map::SourceOut, te::map::SourceOver, and te::map::Xor.
|
private |
Selected Layer.
Definition at line 130 of file CompositionModeDialog.h.
Referenced by onClearRadioButtonClicked(), onColorBurnRadioButtonClicked(), onColorDodgeRadioButtonClicked(), onDarkenRadioButtonClicked(), onDestinationAtTopRadioButtonClicked(), onDestinationInRadioButtonClicked(), onDestinationOutRadioButtonClicked(), onDestinationOverRadioButtonClicked(), onDestinationRadioButtonClicked(), onDifferenceRadioButtonClicked(), onExclusionRadioButtonClicked(), onHardLightRadioButtonClicked(), onLightenRadioButtonClicked(), onMultiplyRadioButtonClicked(), onOverlayRadioButtonClicked(), onPlusRadioButtonClicked(), onScreenRadioButtonClicked(), onSoftLightRadioButtonClicked(), onSourceAtTopRadioButtonClicked(), onSourceInRadioButtonClicked(), onSourceOutRadioButtonClicked(), onSourceOverRadioButtonClicked(), onSourceRadioButtonClicked(), onXorRadioButtonClicked(), and setLayer().
|
private |
Qt component.
Definition at line 128 of file CompositionModeDialog.h.
Referenced by CompositionModeDialog(), getApplyButton(), onClearRadioButtonClicked(), onColorBurnRadioButtonClicked(), onColorDodgeRadioButtonClicked(), onDarkenRadioButtonClicked(), onDestinationAtTopRadioButtonClicked(), onDestinationInRadioButtonClicked(), onDestinationOutRadioButtonClicked(), onDestinationOverRadioButtonClicked(), onDestinationRadioButtonClicked(), onDifferenceRadioButtonClicked(), onExclusionRadioButtonClicked(), onHardLightRadioButtonClicked(), onLightenRadioButtonClicked(), onMultiplyRadioButtonClicked(), onOverlayRadioButtonClicked(), onPlusRadioButtonClicked(), onScreenRadioButtonClicked(), onSoftLightRadioButtonClicked(), onSourceAtTopRadioButtonClicked(), onSourceInRadioButtonClicked(), onSourceOutRadioButtonClicked(), onSourceOverRadioButtonClicked(), onSourceRadioButtonClicked(), onXorRadioButtonClicked(), and setLayer().