LMMS
Loading...
Searching...
No Matches
lmms::gui::Lv2ViewBase Class Reference

Base class for view for one Lv2 plugin. More...

#include <Lv2ViewBase.h>

Inheritance diagram for lmms::gui::Lv2ViewBase:
lmms::gui::LinkedModelGroupsView lmms::gui::Lv2FxControlDialog lmms::gui::Lv2InsView

Protected Member Functions

 Lv2ViewBase (class QWidget *pluginWidget, Lv2ControlBase *ctrlBase)
 ~Lv2ViewBase ()
void toggleUI ()
void toggleHelp (bool visible)
void closeHelpWindow ()
void modelChanged (Lv2ControlBase *ctrlBase)
 Reconnect models if model changed.
Protected Member Functions inherited from lmms::gui::LinkedModelGroupsView
 ~LinkedModelGroupsView ()=default
void modelChanged (LinkedModelGroups *ctrlBase)
 Reconnect models if model changed; to be called by child virtuals.

Protected Attributes

QPushButton * m_reloadPluginButton = nullptr
QPushButton * m_toggleUIButton = nullptr
QPushButton * m_helpButton = nullptr

Private Types

enum  Rows { ButtonRow , ProcRow , LinkChannelsRow }

Private Member Functions

LinkedModelGroupViewgetGroupView () override
void onHelpWindowClosed ()

Static Private Member Functions

static AutoLilvNode uri (const char *uriStr)

Private Attributes

Lv2ViewProcm_procView
const int m_colNum = 6
 Numbers of controls per row; must be multiple of 2 for mono effects.
QMdiSubWindow * m_helpWindow = nullptr
HelpWindowEventFilter m_helpWindowEventFilter

Friends

class HelpWindowEventFilter

Detailed Description

Base class for view for one Lv2 plugin.

Member Enumeration Documentation

◆ Rows

Enumerator
ButtonRow 
ProcRow 
LinkChannelsRow 

Constructor & Destructor Documentation

◆ Lv2ViewBase()

lmms::gui::Lv2ViewBase::Lv2ViewBase ( class QWidget * pluginWidget,
Lv2ControlBase * ctrlBase )
protected
Parameters
pluginWidgetA child class which inherits QWidget

◆ ~Lv2ViewBase()

lmms::gui::Lv2ViewBase::~Lv2ViewBase ( )
protected

Member Function Documentation

◆ closeHelpWindow()

void lmms::gui::Lv2ViewBase::closeHelpWindow ( )
protected

◆ getGroupView()

LinkedModelGroupView * lmms::gui::Lv2ViewBase::getGroupView ( )
inlineoverrideprivatevirtual

The base class must return the addressed group view, which has the same value as "this"

Implements lmms::gui::LinkedModelGroupsView.

◆ modelChanged()

void lmms::gui::Lv2ViewBase::modelChanged ( Lv2ControlBase * ctrlBase)
protected

Reconnect models if model changed.

◆ onHelpWindowClosed()

void lmms::gui::Lv2ViewBase::onHelpWindowClosed ( )
private

◆ toggleHelp()

void lmms::gui::Lv2ViewBase::toggleHelp ( bool visible)
protected

◆ toggleUI()

void lmms::gui::Lv2ViewBase::toggleUI ( )
protected

◆ uri()

AutoLilvNode lmms::gui::Lv2ViewBase::uri ( const char * uriStr)
staticprivate

◆ HelpWindowEventFilter

friend class HelpWindowEventFilter
friend

Member Data Documentation

◆ m_colNum

const int lmms::gui::Lv2ViewBase::m_colNum = 6
private

Numbers of controls per row; must be multiple of 2 for mono effects.

◆ m_helpButton

QPushButton* lmms::gui::Lv2ViewBase::m_helpButton = nullptr
protected

◆ m_helpWindow

QMdiSubWindow* lmms::gui::Lv2ViewBase::m_helpWindow = nullptr
private

◆ m_helpWindowEventFilter

HelpWindowEventFilter lmms::gui::Lv2ViewBase::m_helpWindowEventFilter
private

◆ m_procView

Lv2ViewProc* lmms::gui::Lv2ViewBase::m_procView
private

◆ m_reloadPluginButton

QPushButton* lmms::gui::Lv2ViewBase::m_reloadPluginButton = nullptr
protected

◆ m_toggleUIButton

QPushButton* lmms::gui::Lv2ViewBase::m_toggleUIButton = nullptr
protected

The documentation for this class was generated from the following files: