LibrePCB Developers Documentation
HAlignActionGroup Class Referencefinal

The HAlignActionGroup class is a helper to add librepcb::HAlign chooser toolbuttons to a toolbar. More...

#include <halignactiongroup.h>

Inherits QActionGroup.

+ Collaboration diagram for HAlignActionGroup:

Signals

void valueChanged (const HAlign &value)
 

Public Member Functions

 HAlignActionGroup (QWidget *parent=nullptr) noexcept
 
 HAlignActionGroup (const HAlignActionGroup &other)=delete
 
virtual ~HAlignActionGroup () noexcept
 
const HAligngetValue () const noexcept
 
void setValue (const HAlign &value) noexcept
 
HAlignActionGroupoperator= (const HAlignActionGroup &rhs)=delete
 

Private Member Functions

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

Private Attributes

HAlign mValue
 

Detailed Description

The HAlignActionGroup class is a helper to add librepcb::HAlign chooser toolbuttons to a toolbar.

See also
librepcb::VAlignActionGroup

Constructor & Destructor Documentation

◆ HAlignActionGroup() [1/2]

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

◆ HAlignActionGroup() [2/2]

HAlignActionGroup ( const HAlignActionGroup other)
delete

◆ ~HAlignActionGroup()

~HAlignActionGroup ( )
virtualnoexcept

Member Function Documentation

◆ getValue()

const HAlign& getValue ( ) const
inlinenoexcept
+ Here is the call graph for this function:

◆ setValue()

void setValue ( const HAlign value)
noexcept
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ operator=()

HAlignActionGroup& operator= ( const HAlignActionGroup rhs)
delete
+ Here is the caller graph for this function:

◆ valueChanged

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

◆ updateSelection()

void updateSelection ( )
privatenoexcept
+ Here is the caller graph for this function:

◆ actionTriggered()

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

Member Data Documentation

◆ mValue

HAlign mValue
private

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