PeriDyno 1.0.0
Loading...
Searching...
No Matches
dyno::QToggleButton Class Reference

#include <QToggleButton.h>

Inheritance diagram for dyno::QToggleButton:
Collaboration diagram for dyno::QToggleButton:

Public Slots

void ModifyText ()
 

Signals

void clicked ()
 

Public Member Functions

 QToggleButton (QWidget *pParent=NULL)
 
 QToggleButton (bool isChecked, QWidget *pParent=NULL)
 
void setText (std::string textUnCheck, std::string textCheck)
 
void setValue (bool press)
 
void updateText ()
 

Public Attributes

bool isPress = false
 

Private Attributes

std::shared_ptr< FCallBackFunccallback = nullptr
 
std::string textUnChecked = "unCheck"
 
std::string textChecked = "Check"
 

Detailed Description

Definition at line 52 of file QToggleButton.h.

Constructor & Destructor Documentation

◆ QToggleButton() [1/2]

dyno::QToggleButton::QToggleButton ( QWidget * pParent = NULL)

Definition at line 12 of file QToggleButton.cpp.

Here is the call graph for this function:

◆ QToggleButton() [2/2]

dyno::QToggleButton::QToggleButton ( bool isChecked,
QWidget * pParent = NULL )

Definition at line 18 of file QToggleButton.cpp.

Here is the call graph for this function:

Member Function Documentation

◆ clicked

void dyno::QToggleButton::clicked ( )
signal
Here is the caller graph for this function:

◆ ModifyText

void dyno::QToggleButton::ModifyText ( )
slot

Definition at line 24 of file QToggleButton.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ setText()

void dyno::QToggleButton::setText ( std::string textUnCheck,
std::string textCheck )

Definition at line 43 of file QToggleButton.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ setValue()

void dyno::QToggleButton::setValue ( bool press)
inline

Definition at line 64 of file QToggleButton.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ updateText()

void dyno::QToggleButton::updateText ( )
inline

Definition at line 70 of file QToggleButton.h.

Here is the caller graph for this function:

Member Data Documentation

◆ callback

std::shared_ptr<FCallBackFunc> dyno::QToggleButton::callback = nullptr
private

Definition at line 96 of file QToggleButton.h.

◆ isPress

bool dyno::QToggleButton::isPress = false

Definition at line 92 of file QToggleButton.h.

◆ textChecked

std::string dyno::QToggleButton::textChecked = "Check"
private

Definition at line 98 of file QToggleButton.h.

◆ textUnChecked

std::string dyno::QToggleButton::textUnChecked = "unCheck"
private

Definition at line 97 of file QToggleButton.h.


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