Libkdepim
progressdialog.cpp
220 mItemLabel = new QLabel(fontMetrics().elidedText(item->label(), Qt::ElideRight, MAX_LABEL_WIDTH), h);
232 mCancelButton = new QPushButton(QIcon::fromTheme(QStringLiteral("dialog-cancel")), QString(), h);
252 mItemStatus->setText(fontMetrics().elidedText(item->status(), Qt::ElideRight, MAX_LABEL_WIDTH));
338 connect(pm, &ProgressManager::progressItemCompleted, this, &ProgressDialog::slotTransactionCompleted);
339 connect(pm, &ProgressManager::progressItemProgress, this, &ProgressDialog::slotTransactionProgress);
340 connect(pm, &ProgressManager::progressItemStatus, this, &ProgressDialog::slotTransactionStatus);
342 connect(pm, &ProgressManager::progressItemCryptoStatus, this, &ProgressDialog::slotTransactionCryptoStatus);
343 connect(pm, &ProgressManager::progressItemUsesBusyIndicator, this, &ProgressDialog::slotTransactionUsesBusyIndicator);
431void ProgressDialog::slotTransactionCryptoStatus(ProgressItem *item, KPIM::ProgressItem::CryptoStatus value)
The ProgressManager singleton keeps track of all ongoing transactions and notifies observers (progres...
Definition progressmanager.h:268
void progressItemAdded(KPIM::ProgressItem *)
void progressItemLabel(KPIM::ProgressItem *, const QString &)
static ProgressManager * instance()
Definition progressmanager.cpp:211
void progressItemUsesBusyIndicator(KPIM::ProgressItem *, bool)
void progressItemStatus(KPIM::ProgressItem *, const QString &)
void progressItemCryptoStatus(KPIM::ProgressItem *, KPIM::ProgressItem::CryptoStatus)
void progressItemProgress(KPIM::ProgressItem *, unsigned int)
void progressItemCompleted(KPIM::ProgressItem *)
void showProgressDialog()
Emitted when an operation requests the listeners to be shown.
Q_SCRIPTABLE CaptureState status()
QString i18nc(const char *context, const char *text, const TYPE &arg...)
VehicleSection::Type type(QStringView coachNumber, QStringView coachClassification)
void clicked(bool checked)
QScrollBar * verticalScrollBar() const const
Move
void accept()
Type type() const const
Raised
HLine
frameWidth
QIcon fromTheme(const QString &name)
void setText(const QString &)
void addWidget(QWidget *w)
Q_EMITQ_EMIT
QMetaObject::Connection connect(const QObject *sender, PointerToMemberFunction signal, Functor functor)
void deleteLater()
void destroyed(QObject *obj)
virtual bool eventFilter(QObject *watched, QEvent *event)
T findChild(const QString &name, Qt::FindChildOptions options) const const
QObject * parent() const const
void setX(int x)
void setY(int y)
void setMaximum(int maximum)
void setValue(int value)
virtual bool event(QEvent *e) override
virtual void resizeEvent(QResizeEvent *) override
virtual QSize sizeHint() const const override
int height() const const
void setHeight(int height)
void setWidth(int width)
int width() const const
Preferred
LeftToRight
ElideRight
RichText
QFuture< ArgsType< Signal > > connect(Sender *sender, Signal signal)
singleShot
QWidget * topLevelWidget() const const
QFontMetrics fontMetrics() const const
height
void hide()
bool isHidden() const const
QLayout * layout() const const
layoutDirection
QPoint mapFrom(const QWidget *parent, const QPoint &pos) const const
minimumSizeHint
QWidget * parentWidget() const const
void move(const QPoint &)
virtual void resizeEvent(QResizeEvent *event)
void resize(const QSize &)
sizeHint
void updateGeometry()
virtual void setVisible(bool visible)
width
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Sep 27 2024 11:59:00 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Sep 27 2024 11:59:00 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.