/dports/audio/geonkick-lv2/geonkick-2.8.0/src/ |
H A D | geonkick_slider.cpp | 33 , sliderValue{0} 64 onSetValue(sliderValue); in mouseButtonPressEvent() 65 if (sliderValue < 0) in mouseButtonPressEvent() 66 sliderValue = 0; in mouseButtonPressEvent() 67 else if (sliderValue > 100) in mouseButtonPressEvent() 68 sliderValue = 100; in mouseButtonPressEvent() 91 sliderValue = value; in mouseMoveEvent() 92 valueUpdated(sliderValue); in mouseMoveEvent() 130 return sliderValue; in getValue() 150 if (value != sliderValue) { in onSetValue() [all …]
|
/dports/devel/okteta/okteta-0.26.6/libs/kasten/controllers/view/zoom/ |
H A D | zoomslider.cpp | 88 const int sliderValue = mSlider->value(); in setTargetModel() local 90 mZoomInButton->setEnabled(sliderValue < mSlider->maximum()); in setTargetModel() 103 void ZoomSlider::updateToolTip(int sliderValue) in updateToolTip() argument 105 const float zoomLevel = 50.0 / (100 - sliderValue); in updateToolTip() 123 void ZoomSlider::onSliderValueChanged(int sliderValue) in onSliderValueChanged() argument 125 updateToolTip(sliderValue); in onSliderValueChanged() 126 mZoomOutButton->setEnabled(sliderValue > mSlider->minimum()); in onSliderValueChanged() 127 mZoomInButton->setEnabled(sliderValue < mSlider->maximum()); in onSliderValueChanged() 130 mZoomControl->setZoomLevel(50.0 / (100 - sliderValue)); in onSliderValueChanged() 138 void ZoomSlider::onSliderMoved(int sliderValue) in onSliderMoved() argument [all …]
|
H A D | zoomslider.hpp | 37 void updateToolTip(int sliderValue); 42 void onSliderValueChanged(int sliderValue); 43 void onSliderMoved(int sliderValue);
|
/dports/graphics/lightzone/LightZone-4.1.8-3-g36e87773/lightcrafts/src/com/lightcrafts/ui/operation/generic/ |
H A D | ConfiguredBoundedRangeModel.java | 64 int sliderValue; in setConfiguredValue() local 67 sliderValue = (int) Math.round(Math.log(confValue / A) / B); in setConfiguredValue() 71 sliderValue = (int) Math.round((confValue - b) / m); in setConfiguredValue() 75 if (sliderValue != oldValue) { in setConfiguredValue() 76 setValue(sliderValue); in setConfiguredValue()
|
/dports/print/a2ps/a2ps-4.13/tests/tstfiles/ |
H A D | Converter.java | 213 int sliderValue = (int)f; in setSliderValue() local 215 if (sliderValue > max) in setSliderValue() 216 sliderValue = max; in setSliderValue() 217 if (sliderValue < min) in setSliderValue() 218 sliderValue = min; in setSliderValue() 219 slider.setValue(sliderValue); in setSliderValue()
|
/dports/graphics/krita/krita-4.4.8/plugins/paintops/colorsmudge/ |
H A D | kis_smudge_radius_option.cpp | 53 const qreal sliderValue = computeSizeLikeValue(info); in sampleRect() local 54 const int smudgeRadius = ((sliderValue * diameter) * 0.5) / 100.0; in sampleRect() 68 qreal sliderValue = computeSizeLikeValue(info); in apply() local 70 int smudgeRadius = ((sliderValue * diameter) * 0.5) / 100.0; in apply()
|
/dports/multimedia/shotcut/shotcut-21.03.21/src/qml/filters/corners/ |
H A D | ui.qml | 138 function sliderValue(slider) { 181 updateFilter(corner1xProperty, sliderValue(corner1xSlider), corner1KeyframesButton) 182 updateFilter(corner1yProperty, sliderValue(corner1ySlider), corner1KeyframesButton) 305 var newValue = sliderValue(corner1xSlider) 381 var newValue = sliderValue(corner1ySlider) 405 var newValue = sliderValue(corner2xSlider) 429 var newValue = sliderValue(corner2ySlider) 453 var newValue = sliderValue(corner3xSlider) 477 var newValue = sliderValue(corner3ySlider) 501 var newValue = sliderValue(corner4xSlider) [all …]
|
/dports/graphics/cegui/cegui-0.8.7/cegui/src/CommonDialogs/ColourPicker/ |
H A D | Controls.cpp | 1069 float sliderValue = imageSlider->getCurrentValue(); in handleColourPickerSliderValueChanged() local 1077 colourLAB.L = LAB_L_MIN + LAB_L_DIFF * sliderValue; in handleColourPickerSliderValueChanged() 1082 colourLAB.a = LAB_A_MIN + LAB_A_DIFF * sliderValue; in handleColourPickerSliderValueChanged() 1092 colourHSV.H = sliderValue; in handleColourPickerSliderValueChanged() 1097 colourHSV.S = sliderValue; in handleColourPickerSliderValueChanged() 1102 colourHSV.V = sliderValue; in handleColourPickerSliderValueChanged() 1125 setColourAlpha(sliderValue); in handleAlphaSliderValueChanged() 1470 float sliderValue = 0.0f; in refreshColourSliderPosition() local 1487 sliderValue = value; in refreshColourSliderPosition() 1491 sliderValue = value; in refreshColourSliderPosition() [all …]
|
/dports/games/libretro-scummvm/scummvm-7b1e929/engines/illusions/duckman/ |
H A D | menusystem_duckman.cpp | 124 int sliderValue = 0; in createOptionsSliderMenuItem() local 127 case SFX : sliderValue = _vm->_soundMan->getSfxVolume()/(256/15); break; in createOptionsSliderMenuItem() 128 case MUSIC : sliderValue = _vm->_soundMan->getMusicVolume()/(256/15); break; in createOptionsSliderMenuItem() 129 case VOICE : sliderValue = _vm->_soundMan->getSpeechVolume()/(256/15); break; in createOptionsSliderMenuItem() 130 case TEXT_DURATION : sliderValue = _vm->getSubtitleDuration()/(256/15); break; in createOptionsSliderMenuItem() 134 sliderText[sliderValue + 1] = '|'; in createOptionsSliderMenuItem()
|
/dports/multimedia/vlc/vlc-3.0.16/modules/gui/qt/components/ |
H A D | interface_widgets.cpp | 775 int sliderValue = (int) ( ( value > 0 ) ? value + .5 : value - .5 ); in updateControls() local 777 if( sliderValue < speedSlider->minimum() ) in updateControls() 779 sliderValue = speedSlider->minimum(); in updateControls() 781 else if( sliderValue > speedSlider->maximum() ) in updateControls() 783 sliderValue = speedSlider->maximum(); in updateControls() 785 lastValue = sliderValue; in updateControls() 787 speedSlider->setValue( sliderValue ); in updateControls() 791 void SpeedControlWidget::updateRate( int sliderValue ) in updateRate() argument 793 if( sliderValue == lastValue ) in updateRate() 795 lastValue = sliderValue; in updateRate() [all …]
|
/dports/x11-toolkits/ctk/CTK-2018-10-29/Libs/Widgets/ |
H A D | ctkSliderWidget.cpp | 53 bool equal(double spinBoxValue, double sliderValue)const in equal() 58 sliderValue = this->Proxy.data()->proxyValueFromValue(sliderValue); in equal() 60 return qAbs(sliderValue - spinBoxValue) < std::pow(10., -this->SpinBox->decimals()); in equal() 354 void ctkSliderWidget::setSpinBoxValue(double sliderValue) in setSpinBoxValue() argument 360 d->SpinBox->setValue(sliderValue); in setSpinBoxValue() 366 emit this->valueIsChanging(sliderValue); in setSpinBoxValue() 370 emit this->valueChanged(sliderValue); in setSpinBoxValue()
|
H A D | ctkRangeSlider.cpp | 143 option.sliderValue = this->m_MinimumValue; in handleAtPos() 152 option.sliderValue = this->m_MaximumValue; in handleAtPos() 276 option.sliderValue = m_MinimumValue; in drawMinimumSlider() 301 option.sliderValue = m_MaximumValue; in drawMaximumSlider() 554 option.sliderValue = this->minimum() - this->maximum(); in paintEvent() 833 opt.sliderValue = d->m_MinimumValue; in event() 847 opt.sliderValue = d->m_MaximumValue; in event()
|
/dports/science/simbody/simbody-Simbody-3.7/examples/ |
H A D | ChainExample.cpp | 161 int whichSlider; Real sliderValue; in handleEvent() local 177 while (m_silo.takeSliderMove(whichSlider, sliderValue)) { in handleEvent() 179 m_gravity.setMagnitude(state, sliderValue); in handleEvent() 183 Real remaining = std::sqrt(std::max(Real(0), 1-square(sliderValue))); in handleEvent() 189 gdir[axis]=sliderValue; gdir[prev]=other[0]; gdir[next]=other[1]; in handleEvent()
|
/dports/cad/ktechlab/ktechlab-0.50.0/src/gui/ |
H A D | settingsdlg.h | 40 static int sliderValueToRefreshRate( int sliderValue ); 45 void slotUpdateRefreshRateLabel( int sliderValue );
|
H A D | settingsdlg.cpp | 161 void SettingsDlg::slotUpdateRefreshRateLabel( int sliderValue ) in slotUpdateRefreshRateLabel() argument 163 const QString number = QString::number( sliderValueToRefreshRate(sliderValue) ); in slotUpdateRefreshRateLabel() 164 switch(sliderValue) in slotUpdateRefreshRateLabel() 316 int SettingsDlg::sliderValueToRefreshRate( int sliderValue ) in sliderValueToRefreshRate() argument 318 switch (sliderValue) in sliderValueToRefreshRate()
|
/dports/audio/faust/faust-2.37.3/architecture/iOS/iOS/ |
H A D | FIFlipsideViewController.h | 68 - (int)sliderValueToSampleRate:(int)sliderValue; 70 - (int)sliderValueToBufferSize:(int)sliderValue;
|
/dports/www/grafana8/grafana-8.3.6/packages/grafana-ui/src/components/Slider/ |
H A D | Slider.tsx | 31 const [sliderValue, setSliderValue] = useState<number>(value ?? min); 93 value={sliderValue} 106 value={`${sliderValue}`} // to fix the react leading zero issue
|
/dports/games/scummvm/scummvm-2.5.1/engines/illusions/duckman/ |
H A D | menusystem_duckman.cpp | 151 int sliderValue = 0; in createOptionsSliderMenuItem() local 154 case SFX : sliderValue = _vm->_soundMan->getSfxVolume()/(256/15); break; in createOptionsSliderMenuItem() 155 case MUSIC : sliderValue = _vm->_soundMan->getMusicVolume()/(256/15); break; in createOptionsSliderMenuItem() 156 case VOICE : sliderValue = _vm->_soundMan->getSpeechVolume()/(256/15); break; in createOptionsSliderMenuItem() 157 case TEXT_DURATION : sliderValue = _vm->getSubtitleDuration()/(256/15); break; in createOptionsSliderMenuItem() 161 sliderText[sliderValue + 1] = '|'; in createOptionsSliderMenuItem()
|
/dports/games/xonotic/Xonotic/source/qcsrc/menu/item/ |
H A D | slider.qc | 13 …me.sliderAnim = makeHostedEasing(me, Slider_setSliderValue, easingQuadOut, t, me.sliderValue, val); 14 else me.sliderAnim.update(me.sliderAnim, t, me.sliderValue, val); 32 me.sliderValue = val; 58 me.sliderValue = theValue; 243 if (almost_in_bounds(me.valueMin, me.sliderValue, me.valueMax)) 245 …controlLeft = (me.sliderValue - me.valueMin) / (me.valueMax - me.valueMin) * (1 - me.textSpace - m…
|
/dports/audio/elisa/elisa-21.12.3/src/qml/mobile/ |
H A D | MobileVolumeButton.qml | 18 property alias sliderValue: slider.sliderValue
|
/dports/audio/supercollider/SuperCollider-3.11.0-Source/editors/sc-ide/widgets/util/ |
H A D | volume_widget.cpp | 77 float VolumeWidget::volumeFromSlider(int sliderValue) { in volumeFromSlider() argument 78 float slider = sliderValue / 1000.f; in volumeFromSlider()
|
/dports/audio/sayonara/sayonara-player-5bbf1399332d5d59362ad03bf625f9132be72206/src/Gui/Player/ |
H A D | GUI_ControlsBase.cpp | 50 QString getPositionStringFromSliderValue(int sliderValue, int max, MilliSeconds duration) in getPositionStringFromSliderValue() argument 52 sliderValue = std::max(sliderValue, 0); in getPositionStringFromSliderValue() 53 sliderValue = std::min(max, sliderValue); in getPositionStringFromSliderValue() 55 const auto percent = (sliderValue * 1.0) / max; in getPositionStringFromSliderValue()
|
/dports/multimedia/opentoonz/opentoonz-1.5.0/toonz/sources/toonzqt/ |
H A D | doublefield.cpp | 156 double sliderValue = round((double)m_slider->minimum() + rangeSize * t); in pos2value() local 157 return sliderValue * pow(0.1, dicimal); in pos2value() 164 double sliderValue = round(v * pow(10., dicimal)); in value2pos() local 165 if (m_isLinearSlider) return (int)sliderValue; in value2pos() 169 double valueRatio = (sliderValue - (double)m_slider->minimum()) / rangeSize; in value2pos()
|
/dports/astro/kstars/kstars-3.5.6/kstars/auxiliary/ |
H A D | ctkrangeslider.cpp | 128 option.sliderValue = this->m_MinimumValue; in handleAtPos() 137 option.sliderValue = this->m_MaximumValue; in handleAtPos() 261 option.sliderValue = m_MinimumValue; in drawMinimumSlider() 286 option.sliderValue = m_MaximumValue; in drawMaximumSlider() 539 option.sliderValue = this->minimum() - this->maximum(); in paintEvent() 814 opt.sliderValue = d->m_MinimumValue; in event() 828 opt.sliderValue = d->m_MaximumValue; in event()
|
/dports/comms/gqrx/gqrx-2.15/src/qtgui/ctk/ |
H A D | ctkRangeSlider.cpp | 143 option.sliderValue = this->m_MinimumValue; in handleAtPos() 152 option.sliderValue = this->m_MaximumValue; in handleAtPos() 276 option.sliderValue = m_MinimumValue; in drawMinimumSlider() 301 option.sliderValue = m_MaximumValue; in drawMaximumSlider() 554 option.sliderValue = this->minimum() - this->maximum(); in paintEvent() 829 opt.sliderValue = d->m_MinimumValue; in event() 843 opt.sliderValue = d->m_MaximumValue; in event()
|