|
LMMS
|
#include <BarModelEditor.h>
Protected Member Functions | |
| void | paintEvent (QPaintEvent *event) override |
| Protected Member Functions inherited from lmms::gui::FloatModelEditorBase | |
| void | contextMenuEvent (QContextMenuEvent *me) override |
| void | dragEnterEvent (QDragEnterEvent *dee) override |
| void | dropEvent (QDropEvent *de) override |
| void | focusOutEvent (QFocusEvent *fe) override |
| void | mousePressEvent (QMouseEvent *me) override |
| void | mouseReleaseEvent (QMouseEvent *me) override |
| void | mouseMoveEvent (QMouseEvent *me) override |
| void | mouseDoubleClickEvent (QMouseEvent *me) override |
| void | paintEvent (QPaintEvent *me) override |
| void | wheelEvent (QWheelEvent *me) override |
| void | enterEvent (QEnterEvent *) override |
| void | leaveEvent (QEvent *event) override |
| virtual float | getValue (const QPoint &p) |
| virtual QString | currentValueToText () |
| virtual std::optional< QString > | currentValueToTextUpdate () |
| virtual QString | getDynamicFloatingText (const QString ¤tValue) const |
| Provides the text to be shown in dynamic floating text. | |
| void | doConnections () override |
| void | showTextFloat (int msecBeforeDisplay, int msecDisplayTime, bool forceTextUpdate=false) |
| void | showTextFloat (bool forceTextUpdate=false) |
| const SimpleTextFloat & | textFloat () const |
| void | setPosition (const QPoint &p) |
| float | pageSize () const |
| DirectionOfManipulation | directionOfManipulation () const |
| InteractionType | currentInteraction () const |
| void | updateInteractionState (QEvent *event) |
| Updates m_interaction based on the event and current state. | |
| FloatingTextType | floatingTextType () const |
| Protected Member Functions inherited from lmms::gui::ModelView | |
| virtual void | modelChanged () |
| QWidget * | widget () |
Properties | |
| QBrush | backgroundBrush |
| QBrush | barBrush |
| QColor | textColor |
Private Attributes | |
| QString const | m_text |
| QBrush | m_backgroundBrush |
| QBrush | m_barBrush |
| QColor | m_textColor |
Additional Inherited Members | |
| Public Types inherited from lmms::gui::FloatModelEditorBase | |
| enum class | DirectionOfManipulation : bool { Vertical , Horizontal } |
| Signals inherited from lmms::gui::FloatModelEditorBase | |
| void | sliderPressed () |
| void | sliderReleased () |
| void | sliderMoved (float value) |
| Protected Types inherited from lmms::gui::FloatModelEditorBase | |
| enum class | InteractionType : std::uint8_t { None , MouseHover , MouseDrag , MouseWheel } |
| Types of user interaction with the control. More... | |
| enum class | FloatingTextType : std::uint8_t { None , Static , Dynamic } |
| Protected Attributes inherited from lmms::gui::FloatModelEditorBase | |
| QPoint | m_lastMousePos |
| mouse position in last mouseMoveEvent | |
| float | m_leftOver |
| Protected Attributes inherited from lmms::gui::AutomatableModelView | |
| QString | m_description |
| QString | m_unit |
| float | m_conversionFactor |
| lmms::gui::BarModelEditor::BarModelEditor | ( | QString | text, |
| FloatModel * | floatModel, | ||
| QWidget * | parent = nullptr ) |
| QBrush const & lmms::gui::BarModelEditor::getBackgroundBrush | ( | ) | const |
| QBrush const & lmms::gui::BarModelEditor::getBarBrush | ( | ) | const |
| QColor const & lmms::gui::BarModelEditor::getTextColor | ( | ) | const |
|
override |
|
overrideprotected |
|
override |
| QSizePolicy lmms::gui::BarModelEditor::sizePolicy | ( | ) | const |
|
private |
|
private |
|
private |
|
private |
|
readwrite |
|
readwrite |
|
readwrite |