libs/libkdcraw/libkdcraw
Go to the documentation of this file.
30 #ifndef REXPANDERBOX_H
31 #define REXPANDERBOX_H
35 #include <QtCore/QObject>
36 #include <QtGui/QPixmap>
37 #include <QtGui/QLabel>
38 #include <QtGui/QWidget>
39 #include <QtGui/QScrollArea>
43 #include <ksqueezedtextlabel.h>
74 virtual void keyPressEvent(
QKeyEvent* event);
98 virtual void keyPressEvent(
QKeyEvent* event);
112 void setArrowType(Qt::ArrowType arrowType);
113 Qt::ArrowType arrowType()
const;
115 virtual QSize sizeHint ()
const;
124 virtual void mouseReleaseEvent(
QMouseEvent* event);
145 void setCheckBoxVisible(
bool b);
146 bool checkBoxIsVisible()
const;
148 void setChecked(
bool b);
149 bool isChecked()
const;
151 void setLineVisible(
bool b);
152 bool lineIsVisible()
const;
154 void setText(
const QString& txt);
157 void setIcon(
const QPixmap& pix);
160 void setWidget(
QWidget*
const widget);
163 void setExpanded(
bool b);
164 bool isExpanded()
const;
166 void setExpandByDefault(
bool b);
167 bool isExpandByDefault()
const;
171 void signalExpanded(
bool);
172 void signalToggled(
bool);
176 void slotToggleContainer();
207 const QString& objName,
bool expandBydefault);
209 const QString& objName,
bool expandBydefault);
219 const QString& objName,
bool expandBydefault);
221 const QString& objName,
bool expandBydefault);
223 void removeItem(
int index);
225 void setCheckBoxVisible(
int index,
bool b);
226 bool checkBoxIsVisible(
int index)
const;
228 void setChecked(
int index,
bool b);
229 bool isChecked(
int index)
const;
231 void setItemText(
int index,
const QString& txt);
232 QString itemText (
int index)
const;
234 void setItemIcon(
int index,
const QPixmap& pix);
235 const QPixmap* itemIcon(
int index)
const;
237 void setItemToolTip(
int index,
const QString& tip);
238 QString itemToolTip(
int index)
const;
240 void setItemEnabled(
int index,
bool enabled);
241 bool isItemEnabled(
int index)
const;
244 void insertStretch(
int index);
246 void setItemExpanded(
int index,
bool b);
247 bool isItemExpanded(
int index)
const;
254 virtual void readSettings(KConfigGroup& group);
255 virtual void writeSettings(KConfigGroup& group);
259 void signalItemExpanded(
int index,
bool b);
260 void signalItemToggled(
int index,
bool b);
264 void slotItemExpanded(
bool b);
265 void slotItemToggled(
bool b);
285 void setIsToolBox(
bool b);
286 bool isToolBox()
const;
290 void slotItemExpanded(
bool b);
299 #endif // REXPANDERBOX_H
Qt::ArrowType m_arrowType
===========================================================This file is part of the KDE project ...
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:19:36 by
doxygen 1.8.7 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.