7#ifndef VARIABLE_EDITOR_H
8#define VARIABLE_EDITOR_H
14class VariableBoolItem;
15class VariableColorItem;
16class VariableFontItem;
18class VariableStringListItem;
20class VariableStringItem;
21class VariableSpellCheckItem;
22class VariableRemoveSpacesItem;
34class DictionaryComboBox;
37class VariableEditor :
public QWidget
42 explicit VariableEditor(VariableItem *item,
QWidget *
parent =
nullptr);
44 VariableItem *item()
const;
64 KateHelpButton *m_btnHelp;
67class VariableIntEditor :
public VariableEditor
73 void setItemValue(
int newValue);
79class VariableBoolEditor :
public VariableEditor
91class VariableStringListEditor :
public VariableEditor
94 VariableStringListEditor(VariableStringListItem *item,
QWidget *
parent);
97 void setItemValue(
const QString &newValue);
103class VariableColorEditor :
public VariableEditor
106 VariableColorEditor(VariableColorItem *item,
QWidget *
parent);
109 void setItemValue(
const QColor &newValue);
115class VariableFontEditor :
public VariableEditor
121 void setItemValue(
const QFont &newValue);
127class VariableStringEditor :
public VariableEditor
130 VariableStringEditor(VariableStringItem *item,
QWidget *
parent);
133 void setItemValue(
const QString &newValue);
139class VariableSpellCheckEditor :
public VariableEditor
142 VariableSpellCheckEditor(VariableSpellCheckItem *item,
QWidget *
parent);
145 void setItemValue(
const QString &newValue);
151class VariableRemoveSpacesEditor :
public VariableEditor
154 VariableRemoveSpacesEditor(VariableRemoveSpacesItem *item,
QWidget *
parent);
157 void setItemValue(
int enabled);
QObject * parent() const const
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Dec 6 2024 12:05:18 by
doxygen 1.12.0 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.