LibrePCB Developers Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
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 ( QWidget *  parent = nullptr)
explicitnoexcept

+ Here is the call graph for this function:

HAlignActionGroup ( const HAlignActionGroup other)
delete
~HAlignActionGroup ( )
virtualnoexcept

Member Function Documentation

const HAlign& getValue ( ) const
inlinenoexcept
void setValue ( const HAlign value)
noexcept
HAlignActionGroup& operator= ( const HAlignActionGroup rhs)
delete
void valueChanged ( const HAlign 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

HAlign mValue
private

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