mailcommon
favoritecollectionwidget.cpp
Go to the documentation of this file.
49 FavoriteCollectionWidget::FavoriteCollectionWidget( KXMLGUIClient *xmlGuiClient, QWidget *parent )
59 Akonadi::CollectionStatisticsDelegate *delegate = new Akonadi::CollectionStatisticsDelegate( this );
101 act = new QAction(QString::fromLatin1( "%1x%2" ).arg( icon_sizes[ i ] ).arg( icon_sizes[ i ] ), iconSizeMenu);
124 d->listMode->setData( QVariant( MailCommon::MailCommonSettings::EnumFavoriteCollectionViewMode::ListMode ) );
135 d->iconMode->setData( QVariant( MailCommon::MailCommonSettings::EnumFavoriteCollectionViewMode::IconMode ) );
246 p.drawText( QRect( 0, 0, width(), height() ), Qt::AlignCenter, i18n( "Drop your favorite folders here..." ) );
void slotGeneralPaletteChanged()
Definition: favoritecollectionwidget.cpp:199
const QBrush & text() const
const QFont & font() const
void setChecked(bool)
QVariant data() const
void setAlpha(int alpha)
void slotChangeIconSize(bool)
Definition: favoritecollectionwidget.cpp:175
QAction * addAction(QAction *action)
void readConfig()
Definition: favoritecollectionwidget.cpp:215
~FavoriteCollectionWidget()
Definition: favoritecollectionwidget.cpp:71
const QColor & color() const
void setFont(const QFont &font)
void changeViewMode(QListView::ViewMode mode)
Definition: favoritecollectionwidget.cpp:168
int toInt(bool *ok) const
FavoriteCollectionWidget(KXMLGUIClient *xmlGuiClient, QWidget *parent=0)
Definition: favoritecollectionwidget.cpp:49
void setPen(const QColor &color)
void slotChangeMode(bool)
Definition: favoritecollectionwidget.cpp:140
void drawText(const QPointF &position, const QString &text)
void updateMode()
Definition: favoritecollectionwidget.cpp:76
void setData(const QVariant &userData)
void setCheckable(bool)
void setItalic(bool enable)
void slotGeneralFontChanged()
Definition: favoritecollectionwidget.cpp:207
QString fromLatin1(const char *str, int size)
void paintEvent(QPaintEvent *)
Definition: favoritecollectionwidget.cpp:232
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:31:40 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:31:40 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.