parley
dashboard.cpp
Go to the documentation of this file.
125 m_themedBackgroundRenderer = new Practice::ThemedBackgroundRenderer(this, "startpagethemecache.bin");
381 QColor c = m_themedBackgroundRenderer->fontColor("Start", p.color(QPalette::Active, QPalette::WindowText));
virtual QLayoutItem * itemAt(int index) const =0
void setPalette(const QPalette &)
void getItemPosition(int index, int *row, int *column, int *rowSpan, int *columnSpan)
void removeRecentFile(const KUrl &url)
remove an entry from the list of recent files
Definition: parleymainwindow.cpp:124
void addWidget(QWidget *widget, int row, int column, QFlags< Qt::AlignmentFlag > alignment)
void slotRemoveButtonClicked(const QString &urlString)
Definition: dashboard.cpp:325
Definition: parleymainwindow.h:41
virtual QWidget * widget()
virtual QLayout * layout()
void slotPracticeButtonClicked(const QString &urlString)
Definition: dashboard.cpp:316
QPixmap getScaledBackground()
Definition: themedbackgroundrenderer.cpp:78
Definition: gradereferencewidget.h:19
QMargins contentMargins()
Definition: themedbackgroundrenderer.cpp:190
Definition: collection.h:34
Definition: utils.h:30
void setScalingEnabled(bool scaling, bool onlyDownscaling=true)
Definition: imagewidget.cpp:224
width
size
void setMinimumSize(const QSize &)
QColor fontColor(const QString &context, const QColor &fallback)
Definition: themedbackgroundrenderer.cpp:106
void remove(QGridLayout *layout, int row, int column, bool deleteWidgets)
Helper function.
Definition: dashboard.cpp:164
void setMapping(QObject *sender, int id)
Definition: parleydocument.h:29
QString number(int n, int base)
virtual int count() const
void append(const T &value)
void setKeepAspectRatio(Qt::AspectRatioMode mode)
Definition: imagewidget.cpp:230
int toInt(bool *ok) const
void showPracticeConfiguration()
Definition: parleymainwindow.cpp:272
StandardButton question(QWidget *parent, const QString &title, const QString &text, QFlags< QMessageBox::StandardButton > buttons, StandardButton defaultButton)
Item next()
virtual QLayoutItem * takeAt(int index)
void addRect(const QString &name, const QRect &rect)
Definition: themedbackgroundrenderer.cpp:69
void setPixmap(const QPixmap &pixmap)
Definition: imagewidget.cpp:200
void setHorizontalSpacing(int spacing)
const Key & key() const
QPalette palette()
const T & value() const
int msec() const
bool isNull() const
void setFixedSize(const QSize &s)
virtual void setDocument(KEduVocDocument *doc)
Prepare for practice using the entries in this document.
Definition: sessionmanagerbase.cpp:55
void setTheme(const QString &theme)
Definition: themedbackgroundrenderer.cpp:50
void setVerticalSpacing(int spacing)
QTime currentTime()
int rowCount() const
void updateBackground()
Definition: themedbackgroundrenderer.cpp:119
QVariant data(int role) const
void addItem(QLayoutItem *item, int row, int column, int rowSpan, int columnSpan, QFlags< Qt::AlignmentFlag > alignment)
virtual int count() const =0
void setFadingEnabled(bool fading)
Definition: imagewidget.cpp:235
Definition: imagewidget.h:24
Definition: collectionwidget.h:35
iterator insert(const Key &key, const T &value)
void clearRects()
Definition: themedbackgroundrenderer.cpp:63
bool open(const KUrl &)
Opens the given url, displays an error message and returns false on failure.
Definition: parleydocument.cpp:191
ParleyDocument * parleyDocument()
Return the ParleyDocument member object.
Definition: parleymainwindow.cpp:413
int columnCount() const
bool hasNext() const
void setContentsMargins(int left, int top, int right, int bottom)
int remove(const Key &key)
singleShot
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:15:56 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:15:56 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.