KPropertyEditorCreatorOptions

KPropertyEditorCreatorOptions Class Reference

#include <KPropertyWidgetsFactory.h>

Public Member Functions

 KPropertyEditorCreatorOptions (const KPropertyEditorCreatorOptions &other)
 
bool bordersVisible () const
 
bool operator!= (const KPropertyEditorCreatorOptions &other) const
 
KPropertyEditorCreatorOptionsoperator= (const KPropertyEditorCreatorOptions &other)
 
bool operator== (const KPropertyEditorCreatorOptions &other) const
 
void setBordersVisible (bool visible)
 

Detailed Description

Options for altering the editor widget creation process.

See also
KPropertyEditorCreatorInterface::createEditor().
Since
3.1

Definition at line 39 of file KPropertyWidgetsFactory.h.

Member Function Documentation

bool KPropertyEditorCreatorOptions::bordersVisible ( ) const

In order to have better look of the widget within the property editor view, we are usually hiding borders from the widget (see FactoryManager::createEditor()) and adding 1 pixel 'gray border' on the top. Default value of bordersVisible is false.

Definition at line 246 of file KPropertyWidgetsFactory.cpp.

bool KPropertyEditorCreatorOptions::operator!= ( const KPropertyEditorCreatorOptions other) const
inline
Returns
true if these options differs in at least one value from other

Definition at line 61 of file KPropertyWidgetsFactory.h.

KPropertyEditorCreatorOptions & KPropertyEditorCreatorOptions::operator= ( const KPropertyEditorCreatorOptions other)

Assigns other to this KPropertyEditorCreatorOptions.

Definition at line 256 of file KPropertyWidgetsFactory.cpp.

bool KPropertyEditorCreatorOptions::operator== ( const KPropertyEditorCreatorOptions other) const
Returns
true if these options have exactly the same values options as other

Definition at line 264 of file KPropertyWidgetsFactory.cpp.


The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Thu Aug 13 2020 23:03:05 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.