liblancelot
Go to the documentation of this file.
20 #ifndef LANCELOT_PANEL_H
21 #define LANCELOT_PANEL_H
23 #include <QtGui/QIcon>
25 #include <Plasma/Plasma>
42 Q_PROPERTY ( QIcon icon READ icon WRITE setIcon )
43 Q_PROPERTY ( QSize iconSize READ iconSize WRITE setIconSize )
44 Q_PROPERTY ( QString title READ title WRITE setTitle )
L_EXTRA ( i18n )
45 Q_PROPERTY (
bool showingTitle READ isShowingTitle WRITE setShowingTitle )
55 Panel(QGraphicsItem * parent = 0);
63 explicit
Panel(QIcon icon, QString title = QString(),
64 QGraphicsItem * parent = 0);
71 explicit
Panel(QString title, QGraphicsItem * parent = 0);
82 void setTitle(const QString & title);
87 QString title() const;
93 void setIcon(QIcon icon);
104 void setIconSize(QSize size);
109 QSize iconSize() const;
114 void setShowingTitle(
bool value);
119 bool isShowingTitle() const;
126 void setLayoutItem(QGraphicsLayoutItem * layoutItem);
131 QGraphicsLayoutItem * layoutItem() const;
137 qreal borderSize(Plasma::MarginEdge edge) const;
143 L_Override QSizeF sizeHint(Qt::SizeHint which,
144 const QSizeF & constraint = QSizeF()) const;
145 L_Override void resizeEvent(QGraphicsSceneResizeEvent * event);
Represents a group of object.
A container widget with optional title-bar.
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Mon Oct 13 2014 22:55:07 by
doxygen 1.8.7 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.