FlowVis 1.0
|
Settings Widget. More...
#include <SettingsWidget.h>
Signals | |
void | sliderChanged (int value, int slider) |
Slider changed. | |
void | streamlineModeChanged (int value) |
Streamline mode changed. | |
void | streamlineInterpolationChanged (int value) |
Streamline interpolation changed. | |
void | streamlineComputeClicked () |
Apply changes. | |
void | needSliderValue (int slider) |
Update Slider value. | |
Public Member Functions | |
SettingsWidget (QWidget *parent=NULL) | |
Private Slots | |
void | arrowsCountSliderChanged (int value) |
Arrow count changed. | |
void | arrowsSizeSliderChanged (int value) |
Arrow Size changed. | |
void | textureResolutionSliderChanged (int value) |
Texture resolution changed. | |
void | sldsepSliderChanged (int value) |
Streamline d_sep changed. | |
void | sldtestSliderChanged (int value) |
Streamline d_test changed. | |
void | sldtSliderChanged (int value) |
Streamline d_t changed. | |
void | updateSlider (int value, int slider) |
Private Member Functions | |
void | ConnectSignals () |
Connects the Signals. | |
void | Init () |
Initialization. | |
Private Attributes | |
QVBoxLayout * | layout |
QGroupBox * | arrows |
QGroupBox * | texture |
QGroupBox * | streamlines |
QGridLayout * | gridArrows |
QGridLayout * | gridTexture |
QGridLayout * | gridStreamlines |
QSlider * | sliderArrowsCount |
QSlider * | sliderArrowsSize |
QSlider * | sliderTextureResolution |
QSlider * | sliderSLdsep |
QSlider * | sliderSLdtest |
QSlider * | sliderSLdt |
QPushButton * | computeButton |
QRadioButton * | radioSNormal |
QRadioButton * | radioSLtapering |
QRadioButton * | radioSLglyph |
QRadioButton * | radioSLtexture |
QRadioButton * | radioEuler |
QRadioButton * | radioRK2 |
QRadioButton * | radioRK4 |
QButtonGroup * | interpolationGroup |
QButtonGroup * | checkboxGroup |
Settings Widget.
This Widget handles the configuration of the global settings. This includes global configuration of all layer types (arrows, texture and streamlines).
Definition at line 17 of file SettingsWidget.h.
void SettingsWidget::arrowsCountSliderChanged | ( | int | value | ) | [inline, private, slot] |
Arrow count changed.
This slot is used to signal that the slider value representing the number of arrows has been changed.
value | the new number of arrows - [0,100] |
Definition at line 153 of file SettingsWidget.h.
void SettingsWidget::arrowsSizeSliderChanged | ( | int | value | ) | [inline, private, slot] |
Arrow Size changed.
This slot is used to signal that the slider value representing the arrows size has been changed.
value | the new arrow size - [0,100] |
Definition at line 165 of file SettingsWidget.h.
void SettingsWidget::ConnectSignals | ( | ) | [private] |
Connects the Signals.
This function is used to connect the signals of the widget controls like buttons with the slots provided by this widgets.
Definition at line 177 of file SettingsWidget.cpp.
void SettingsWidget::Init | ( | ) | [private] |
Initialization.
This function is used to initialize the controls of the widget.
Definition at line 12 of file SettingsWidget.cpp.
void SettingsWidget::needSliderValue | ( | int | slider | ) | [signal] |
Update Slider value.
This signal is emitted when the widget requests new slider values for a specified slider.
slider | specified slider |
void SettingsWidget::sldsepSliderChanged | ( | int | value | ) | [inline, private, slot] |
Streamline d_sep changed.
This slot is used to signal that the slider value representing d_sep has been changed.
value | new d_sep - [0,100] |
Definition at line 189 of file SettingsWidget.h.
void SettingsWidget::sldtestSliderChanged | ( | int | value | ) | [inline, private, slot] |
Streamline d_test changed.
This slot is used to signal that the slider value representing d_test has been changed.
value | new d_sep - [0,100] |
Definition at line 201 of file SettingsWidget.h.
void SettingsWidget::sldtSliderChanged | ( | int | value | ) | [inline, private, slot] |
Streamline d_t changed.
This slot is used to signal that the slider value representing d_t has been changed.
value | new d_t - [0,100] |
This slot is used to signal that the slider value of a specified slider has to be updated.
value | new value - [0,100] |
slider | specified slider |
Definition at line 213 of file SettingsWidget.h.
void SettingsWidget::sliderChanged | ( | int | value, |
int | slider | ||
) | [signal] |
Slider changed.
This signal is emitted when a slider value of a specified slider has been changed.
value | the new value of the slider |
slider | specified slider |
void SettingsWidget::streamlineComputeClicked | ( | ) | [signal] |
Apply changes.
This signal is emitted when the "Apply" button has been clicked. This signals that the changes made on the sliders have to be applied.
void SettingsWidget::streamlineInterpolationChanged | ( | int | value | ) | [signal] |
Streamline interpolation changed.
This signal is emitted when the streamline interpolation mode has been changed.
value | the new streamline interpolation mode |
void SettingsWidget::streamlineModeChanged | ( | int | value | ) | [signal] |
Streamline mode changed.
This signal is emitted when the streamline mode has been changed.
value | the new streamline mode |
void SettingsWidget::textureResolutionSliderChanged | ( | int | value | ) | [inline, private, slot] |
Texture resolution changed.
This slot is used to signal that the slider value representing the texture resolution has been changed.
value | the new texture resolution - [0,100] |
Definition at line 177 of file SettingsWidget.h.