#include <FloatModelEditorBase.h>
◆ DirectionOfManipulation
| Enumerator |
|---|
| Vertical | |
| Horizontal | |
◆ FloatModelEditorBase() [1/2]
◆ FloatModelEditorBase() [2/2]
| lmms::gui::FloatModelEditorBase::FloatModelEditorBase |
( |
const FloatModelEditorBase & | other | ) |
|
|
delete |
◆ contextMenuEvent()
| void lmms::gui::FloatModelEditorBase::contextMenuEvent |
( |
QContextMenuEvent * | me | ) |
|
|
overrideprotected |
◆ doConnections()
| void lmms::gui::FloatModelEditorBase::doConnections |
( |
| ) |
|
|
overrideprotectedvirtual |
◆ dragEnterEvent()
| void lmms::gui::FloatModelEditorBase::dragEnterEvent |
( |
QDragEnterEvent * | dee | ) |
|
|
overrideprotected |
◆ dropEvent()
| void lmms::gui::FloatModelEditorBase::dropEvent |
( |
QDropEvent * | de | ) |
|
|
overrideprotected |
◆ enterEvent()
| void lmms::gui::FloatModelEditorBase::enterEvent |
( |
QEnterEvent * | | ) |
|
|
overrideprotected |
◆ enterValue
| void lmms::gui::FloatModelEditorBase::enterValue |
( |
| ) |
|
|
privatevirtualslot |
◆ focusOutEvent()
| void lmms::gui::FloatModelEditorBase::focusOutEvent |
( |
QFocusEvent * | fe | ) |
|
|
overrideprotected |
◆ friendlyUpdate
| void lmms::gui::FloatModelEditorBase::friendlyUpdate |
( |
| ) |
|
|
privateslot |
◆ getCustomFloatingText()
| QString lmms::gui::FloatModelEditorBase::getCustomFloatingText |
( |
| ) |
|
|
protectedvirtual |
This method is called just prior to displaying the floating text in order to set its value. If the getCustomFloatingTextUpdate() method is not overridden, this method is also called to periodically update the floating text.
Floating text is displayed in the following format: "[description] [custom text][unit]"
This method controls only the "custom text" portion. To modify the other portions, call setDescription() or setUnit().
Reimplemented in lmms::gui::VolumeKnob, and lmms::gui::VstPluginKnob.
◆ getCustomFloatingTextUpdate()
| virtual std::optional< QString > lmms::gui::FloatModelEditorBase::getCustomFloatingTextUpdate |
( |
| ) |
|
|
inlineprotectedvirtual |
This method is called periodically while the floating text is visible and the value of the float model is changing, allowing dynamic updates of the floating text.
Floating text is displayed in the following format: "[description] [custom text][unit]"
This method controls only the "custom text" portion. To modify the other portions, call setDescription() or setUnit().
- Returns
- the up-to-date value for the floating text, or std::nullopt to indicate nothing changed and the previous floating text value should continue being used
Reimplemented in lmms::gui::VstPluginKnob.
◆ getValue()
| float lmms::gui::FloatModelEditorBase::getValue |
( |
const QPoint & | p | ) |
|
|
protectedvirtual |
◆ initUi()
| void lmms::gui::FloatModelEditorBase::initUi |
( |
const QString & | name | ) |
|
|
private |
◆ leaveEvent()
| void lmms::gui::FloatModelEditorBase::leaveEvent |
( |
QEvent * | event | ) |
|
|
overrideprotected |
◆ mouseDoubleClickEvent()
| void lmms::gui::FloatModelEditorBase::mouseDoubleClickEvent |
( |
QMouseEvent * | me | ) |
|
|
overrideprotected |
◆ mouseMoveEvent()
| void lmms::gui::FloatModelEditorBase::mouseMoveEvent |
( |
QMouseEvent * | me | ) |
|
|
overrideprotected |
◆ mousePressEvent()
| void lmms::gui::FloatModelEditorBase::mousePressEvent |
( |
QMouseEvent * | me | ) |
|
|
overrideprotectedvirtual |
◆ mouseReleaseEvent()
| void lmms::gui::FloatModelEditorBase::mouseReleaseEvent |
( |
QMouseEvent * | me | ) |
|
|
overrideprotected |
◆ pageSize()
| float lmms::gui::FloatModelEditorBase::pageSize |
( |
| ) |
const |
|
inlineprotected |
◆ paintEvent()
| void lmms::gui::FloatModelEditorBase::paintEvent |
( |
QPaintEvent * | me | ) |
|
|
overrideprotected |
◆ setHintText()
| void lmms::gui::FloatModelEditorBase::setHintText |
( |
const QString & | txt_before, |
|
|
const QString & | txt_after ) |
|
inline |
◆ setPosition()
| void lmms::gui::FloatModelEditorBase::setPosition |
( |
const QPoint & | p | ) |
|
|
protected |
◆ showTextFloat() [1/2]
| void lmms::gui::FloatModelEditorBase::showTextFloat |
( |
| ) |
|
|
protected |
◆ showTextFloat() [2/2]
| void lmms::gui::FloatModelEditorBase::showTextFloat |
( |
int | msecBeforeDisplay, |
|
|
int | msecDisplayTime ) |
|
protected |
◆ sliderMoved
| void lmms::gui::FloatModelEditorBase::sliderMoved |
( |
float | value | ) |
|
|
signal |
◆ sliderPressed
| void lmms::gui::FloatModelEditorBase::sliderPressed |
( |
| ) |
|
|
signal |
◆ sliderReleased
| void lmms::gui::FloatModelEditorBase::sliderReleased |
( |
| ) |
|
|
signal |
◆ textFloat()
◆ toggleScale
| void lmms::gui::FloatModelEditorBase::toggleScale |
( |
| ) |
|
|
privateslot |
◆ wheelEvent()
| void lmms::gui::FloatModelEditorBase::wheelEvent |
( |
QWheelEvent * | me | ) |
|
|
overrideprotected |
◆ m_buttonPressed
| bool lmms::gui::FloatModelEditorBase::m_buttonPressed |
|
protected |
◆ m_directionOfManipulation
◆ m_lastMousePos
| QPoint lmms::gui::FloatModelEditorBase::m_lastMousePos |
|
protected |
mouse position in last mouseMoveEvent
◆ m_leftOver
| float lmms::gui::FloatModelEditorBase::m_leftOver |
|
protected |
◆ s_textFloat
The documentation for this class was generated from the following files: