FlowVis 1.0

SettingsWidget Class Reference

Settings Widget. More...

#include <SettingsWidget.h>

List of all members.

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

Detailed Description

Settings Widget.

This Widget handles the configuration of the global settings. This includes global configuration of all layer types (arrows, texture and streamlines).

Date:
15.01.2011

Definition at line 17 of file SettingsWidget.h.


Member Function Documentation

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.

Date:
15.01.2011
Parameters:
valuethe 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.

Date:
15.01.2011
Parameters:
valuethe 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.

Date:
15.01.2011

Definition at line 177 of file SettingsWidget.cpp.

void SettingsWidget::Init ( ) [private]

Initialization.

This function is used to initialize the controls of the widget.

Date:
15.01.2011

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.

Date:
15.01.2011
Parameters:
sliderspecified 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.

Date:
15.01.2011
Parameters:
valuenew 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.

Date:
15.01.2011
Parameters:
valuenew 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.

Date:
15.01.2011
Parameters:
valuenew d_t - [0,100]

This slot is used to signal that the slider value of a specified slider has to be updated.

Date:
15.01.2011
Parameters:
valuenew value - [0,100]
sliderspecified 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.

Date:
15.01.2011
Parameters:
valuethe new value of the slider
sliderspecified 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.

Date:
15.01.2011
void SettingsWidget::streamlineInterpolationChanged ( int  value) [signal]

Streamline interpolation changed.

This signal is emitted when the streamline interpolation mode has been changed.

Date:
15.01.2011
Parameters:
valuethe new streamline interpolation mode
void SettingsWidget::streamlineModeChanged ( int  value) [signal]

Streamline mode changed.

This signal is emitted when the streamline mode has been changed.

Date:
15.01.2011
Parameters:
valuethe 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.

Date:
15.01.2011
Parameters:
valuethe new texture resolution - [0,100]

Definition at line 177 of file SettingsWidget.h.


The documentation for this class was generated from the following files:
 All Classes Functions Variables Friends