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

Author
ubruhin
Date
2017-03-13

Constructor & Destructor Documentation

CenteredCheckBox ( QWidget *  parent = nullptr)
explicitnoexcept
CenteredCheckBox ( const QString &  text,
QWidget *  parent = nullptr 
)
explicitnoexcept
CenteredCheckBox ( const CenteredCheckBox other)
delete
~CenteredCheckBox ( )
noexcept

Member Function Documentation

void setText ( const QString &  text)
inlinenoexcept
bool isChecked ( ) const
inlinenoexcept

+ Here is the caller graph for this function:

void setChecked ( bool  checked)
inlinenoexcept

+ Here is the caller graph for this function:

CenteredCheckBox& operator= ( const CenteredCheckBox rhs)
delete
void toggled ( bool  checked)
signal

+ Here is the caller graph for this function:

void clicked ( bool  checked)
signal

+ Here is the caller graph for this function:

void stateChanged ( int  state)
signal

+ Here is the caller graph for this function:

Member Data Documentation

QCheckBox* mCheckBox
private

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