#include <qtpropertybrowserutils_p.h>
Inheritance diagram for QtBoolEdit:
Collaboration diagram for QtBoolEdit:Signals | |
| void | toggled (bool) |
Public Member Functions | |
| bool | blockCheckBoxSignals (bool block) |
| Qt::CheckState | checkState () const |
| bool | isChecked () const |
| QtBoolEdit (QWidget *parent=nullptr) | |
| void | setChecked (bool c) |
| void | setCheckState (Qt::CheckState state) |
| void | setTextVisible (bool textVisible) |
| bool | textVisible () const |
Protected Member Functions | |
| void | mousePressEvent (QMouseEvent *event) override |
| void | paintEvent (QPaintEvent *) override |
Private Attributes | |
| QCheckBox * | m_checkBox |
| bool | m_textVisible {true} |
| QtBoolEdit::QtBoolEdit | ( | QWidget * | parent = nullptr | ) |
References m_checkBox, and toggled().
| bool QtBoolEdit::blockCheckBoxSignals | ( | bool | block | ) |
References m_checkBox.
Referenced by QtCheckBoxFactoryPrivate::slotPropertyChanged().
Here is the caller graph for this function:| Qt::CheckState QtBoolEdit::checkState | ( | ) | const |
References m_checkBox.
| bool QtBoolEdit::isChecked | ( | ) | const |
References m_checkBox.
Referenced by setChecked(), and setTextVisible().
Here is the caller graph for this function:
|
overrideprotected |
|
overrideprotected |
| void QtBoolEdit::setChecked | ( | bool | c | ) |
References isChecked(), m_checkBox, and m_textVisible.
Referenced by QtCheckBoxFactory::createEditor(), and QtCheckBoxFactoryPrivate::slotPropertyChanged().
Here is the call graph for this function:
Here is the caller graph for this function:| void QtBoolEdit::setCheckState | ( | Qt::CheckState | state | ) |
References m_checkBox.
| void QtBoolEdit::setTextVisible | ( | bool | textVisible | ) |
References isChecked(), m_checkBox, m_textVisible, and textVisible().
Here is the call graph for this function:
|
inline |
References m_textVisible.
Referenced by setTextVisible().
Here is the caller graph for this function:
|
signal |
|
private |
Referenced by blockCheckBoxSignals(), checkState(), isChecked(), mousePressEvent(), QtBoolEdit(), setChecked(), setCheckState(), and setTextVisible().
|
private |
Referenced by setChecked(), setTextVisible(), and textVisible().