LibrePCB Developers Documentation
VAlignActionGroup Class Referencefinal

The VAlignActionGroup class is a helper to add librepcb::VAlign chooser toolbuttons to a toolbar. More...

#include <valignactiongroup.h>

Inherits QActionGroup.

+ Collaboration diagram for VAlignActionGroup:

Signals

void valueChanged (const VAlign &value)
 

Public Member Functions

 VAlignActionGroup (QWidget *parent=nullptr) noexcept
 
 VAlignActionGroup (const VAlignActionGroup &other)=delete
 
virtual ~VAlignActionGroup () noexcept
 
const VAligngetValue () const noexcept
 
void setValue (const VAlign &value) noexcept
 
VAlignActionGroupoperator= (const VAlignActionGroup &rhs)=delete
 

Private Member Functions

void updateSelection () noexcept
 
void actionTriggered (QAction *action) noexcept
 

Private Attributes

VAlign mValue
 

Detailed Description

The VAlignActionGroup class is a helper to add librepcb::VAlign chooser toolbuttons to a toolbar.

See also
librepcb::editor::HAlignActionGroup

Constructor & Destructor Documentation

◆ VAlignActionGroup() [1/2]

VAlignActionGroup ( QWidget *  parent = nullptr)
explicitnoexcept
+ Here is the call graph for this function:

◆ VAlignActionGroup() [2/2]

VAlignActionGroup ( const VAlignActionGroup other)
delete

◆ ~VAlignActionGroup()

~VAlignActionGroup ( )
virtualnoexcept

Member Function Documentation

◆ getValue()

const VAlign & getValue ( ) const
inlinenoexcept

◆ setValue()

void setValue ( const VAlign value)
noexcept

◆ operator=()

VAlignActionGroup & operator= ( const VAlignActionGroup rhs)
delete

◆ valueChanged

void valueChanged ( const VAlign value)
signal
+ Here is the caller graph for this function:

◆ updateSelection()

void updateSelection ( )
privatenoexcept

◆ actionTriggered()

void actionTriggered ( QAction *  action)
privatenoexcept
+ Here is the caller graph for this function:

Member Data Documentation

◆ mValue

VAlign mValue
private

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