LibrePCB Developers Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
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::HAlignActionGroup

Constructor & Destructor Documentation

VAlignActionGroup ( QWidget *  parent = nullptr)
explicitnoexcept

+ Here is the call graph for this function:

VAlignActionGroup ( const VAlignActionGroup other)
delete
~VAlignActionGroup ( )
virtualnoexcept

Member Function Documentation

const VAlign& getValue ( ) const
inlinenoexcept
void setValue ( const VAlign value)
noexcept
VAlignActionGroup& operator= ( const VAlignActionGroup rhs)
delete
void valueChanged ( const VAlign value)
signal

+ Here is the caller graph for this function:

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

+ Here is the caller graph for this function:

Member Data Documentation

VAlign mValue
private

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