LibrePCB Developers Documentation
CenteredCheckBox Class Referencefinal

The CenteredCheckBox class is a centered variant of the QCheckBox. More...

#include <centeredcheckbox.h>

Inherits QWidget.

+ Collaboration diagram for CenteredCheckBox:

Signals

void toggled (bool checked)
 
void clicked (bool checked)
 
void stateChanged (int state)
 

Public Member Functions

 CenteredCheckBox (QWidget *parent=nullptr) noexcept
 
 CenteredCheckBox (const QString &text, QWidget *parent=nullptr) noexcept
 
 CenteredCheckBox (const CenteredCheckBox &other)=delete
 
 ~CenteredCheckBox () noexcept
 
void setText (const QString &text) noexcept
 
bool isChecked () const noexcept
 
void setChecked (bool checked) noexcept
 
CenteredCheckBoxoperator= (const CenteredCheckBox &rhs)=delete
 

Private Attributes

QCheckBox * mCheckBox
 

Detailed Description

The CenteredCheckBox class is a centered variant of the QCheckBox.

Constructor & Destructor Documentation

◆ CenteredCheckBox() [1/3]

CenteredCheckBox ( QWidget *  parent = nullptr)
explicitnoexcept

◆ CenteredCheckBox() [2/3]

CenteredCheckBox ( const QString &  text,
QWidget *  parent = nullptr 
)
explicitnoexcept

◆ CenteredCheckBox() [3/3]

CenteredCheckBox ( const CenteredCheckBox other)
delete

◆ ~CenteredCheckBox()

~CenteredCheckBox ( )
noexcept

Member Function Documentation

◆ setText()

void setText ( const QString &  text)
inlinenoexcept

◆ isChecked()

bool isChecked ( ) const
inlinenoexcept

◆ setChecked()

void setChecked ( bool  checked)
inlinenoexcept
+ Here is the call graph for this function:

◆ operator=()

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

◆ toggled

void toggled ( bool  checked)
signal
+ Here is the caller graph for this function:

◆ clicked

void clicked ( bool  checked)
signal
+ Here is the caller graph for this function:

◆ stateChanged

void stateChanged ( int  state)
signal
+ Here is the caller graph for this function:

Member Data Documentation

◆ mCheckBox

QCheckBox* mCheckBox
private

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