KPropertyThreeStateBoolEditor

Search for usage in LXR

KPropertyThreeStateBoolEditor Class Reference

#include <booledit.h>

Inherits KPropertyComboBoxEditor.

Public Member Functions

 KPropertyThreeStateBoolEditor (const KPropertyListData &listData, QWidget *parent=nullptr)
 
void setValue (const QVariant &value) override
 
QVariant value () const override
 

Detailed Description

A bool editor supporting three states: true, false and null.

The editor is implemented as a drop-down list.

Definition at line 71 of file booledit.h.

Constructor & Destructor Documentation

◆ KPropertyThreeStateBoolEditor()

KPropertyThreeStateBoolEditor::KPropertyThreeStateBoolEditor ( const KPropertyListData & listData,
QWidget * parent = nullptr )
explicit

Definition at line 252 of file booledit.cpp.

◆ ~KPropertyThreeStateBoolEditor()

KPropertyThreeStateBoolEditor::~KPropertyThreeStateBoolEditor ( )
override

Definition at line 262 of file booledit.cpp.

Member Function Documentation

◆ setValue()

void KPropertyThreeStateBoolEditor::setValue ( const QVariant & value)
override

Definition at line 292 of file booledit.cpp.

◆ value()

QVariant KPropertyThreeStateBoolEditor::value ( ) const
override

Definition at line 267 of file booledit.cpp.


The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Tue Mar 26 2024 11:15:40 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.