marble
PluginItemDelegate.cpp
Go to the documentation of this file.
void aboutPluginClicked(const QModelIndex &index)
This signal is emitted if the user clicks on a "about"-button of an item in the view passed to the co...
QSize sizeHint(const QStyleOptionViewItem &option, const QModelIndex &index) const
Definition: PluginItemDelegate.cpp:121
void setHeight(int height)
Type type() const
int width() const
void paint(QPainter *painter, const QStyleOptionViewItem &option, const QModelIndex &index) const
Definition: PluginItemDelegate.cpp:46
void save()
T value() const
PluginItemDelegate(QAbstractItemView *view, QObject *parent=0)
Definition: PluginItemDelegate.cpp:34
int height() const
Qt::MouseButtons buttons() const
QString tr(const char *sourceText, const char *disambiguation, int n)
~PluginItemDelegate()
Definition: PluginItemDelegate.cpp:42
void moveLeft(int x)
int x() const
QPixmap pixmap(const QSize &size, Mode mode, State state) const
virtual bool event(QEvent *e)
const char * name() const
bool isValid() const
void append(const T &value)
Definition: tools/osm-addresses/OsmParser.h:40
int toInt(bool *ok) const
void setWidth(int width)
virtual void drawItemText(QPainter *painter, const QRect &rectangle, int alignment, const QPalette &palette, bool enabled, const QString &text, QPalette::ColorRole textRole) const
bool contains(const QPoint &point, bool proper) const
void moveTop(int y)
const QSize iconSize(16, 16)
virtual void drawItemPixmap(QPainter *painter, const QRect &rectangle, int alignment, const QPixmap &pixmap) const
void restore()
void setTopLeft(const QPoint &position)
int width() const
QVariant data(int role) const
QStyle * style()
bool isNull() const
virtual void drawControl(ControlElement element, const QStyleOption *option, QPainter *painter, const QWidget *widget) const =0
int height() const
void configPluginClicked(const QModelIndex &index)
This signal is emitted if the user clicks on a "configure"-button of an item in the view passed to th...
QFontMetrics fontMetrics()
bool toBool() const
void translate(const QPointF &offset)
void setMouseTracking(bool enable)
virtual void drawPrimitive(PrimitiveElement element, const QStyleOption *option, QPainter *painter, const QWidget *widget) const =0
virtual bool setData(const QModelIndex &index, const QVariant &value, int role)
bool isValid() const
virtual Qt::ItemFlags flags(const QModelIndex &index) const
void setAboutIcon(const QIcon &icon)
Definition: PluginItemDelegate.cpp:146
void setConfigIcon(const QIcon &icon)
Definition: PluginItemDelegate.cpp:151
const QPoint & pos() const
void moveRight(int x)
QString toString() const
virtual QSize sizeFromContents(ContentsType type, const QStyleOption *option, const QSize &contentsSize, const QWidget *widget) const =0
bool editorEvent(QEvent *event, QAbstractItemModel *model, const QStyleOptionViewItem &option, const QModelIndex &index)
Definition: PluginItemDelegate.cpp:156
typedef ItemFlags
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:13:41 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:13:41 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.