KontactInterface
summary.cpp
116 if ((event->buttons() & Qt::LeftButton) && (event->pos() - d->mDragStartPoint).manhattanLength() > 4) {
123 pm = QPixmap::fromImage(pm.toImage().scaled(300, 300, Qt::KeepAspectRatio, Qt::SmoothTransformation));
147 const int alignment = (event->position().y() < (height() / 2) ? Qt::AlignTop : Qt::AlignBottom);
virtual QStringList configModules() const
Returns a list of names identifying configuration modules for this summary widget.
Definition summary.cpp:93
virtual int summaryHeight() const
Returns the logical height of summary widget.
Definition summary.cpp:62
QWidget * createHeader(QWidget *parent, const QString &icon, const QString &heading)
Creates a heading for a typical summary view with an icon and a heading.
Definition summary.cpp:67
void summaryWidgetDropped(QWidget *target, QObject *object, int alignment)
virtual void updateSummary(bool force=false)
This method is called if the displayed information should be updated.
Definition summary.cpp:102
virtual void configChanged()
This method is called whenever the configuration has been changed.
Definition summary.cpp:98
GeneralFont
QFont systemFont(SystemFont type)
QPixmap pixmap(QWindow *window, const QSize &size, Mode mode, State state) const const
QIcon fromTheme(const QString &name)
QImage scaled(const QSize &size, Qt::AspectRatioMode aspectRatioMode, Qt::TransformationMode transformMode) const const
Q_EMITQ_EMIT
QObject * parent() const const
bool begin(QPaintDevice *device)
void drawRect(const QRect &rectangle)
bool end()
void setPen(Qt::PenStyle style)
AlternateBase
QPixmap fromImage(QImage &&image, Qt::ImageConversionFlags flags)
int height() const const
QImage toImage() const const
int width() const const
PM_ToolBarIconSize
AlignLeft
KeepAspectRatio
MoveAction
LeftButton
SmoothTransformation
QWidget(QWidget *parent, Qt::WindowFlags f)
void setAcceptDrops(bool on)
virtual bool event(QEvent *event) override
void setFont(const QFont &)
QPixmap grab(const QRect &rectangle)
height
virtual void mouseMoveEvent(QMouseEvent *event)
virtual void mousePressEvent(QMouseEvent *event)
QStyle * style() const const
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:19:42 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:19:42 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.