13#include "kdepim_export.h"
15#include "progressmanager.h"
36class OverlayWidgetPrivate;
37class KDEPIM_EXPORT OverlayWidget :
public QFrame
43 ~OverlayWidget()
override;
45 [[nodiscard]]
QWidget *alignWidget()
const;
46 void setAlignWidget(
QWidget *alignWidget);
50 [[nodiscard]]
bool eventFilter(
QObject *o,
QEvent *e)
override;
53 KDEPIM_NO_EXPORT
void reposition();
56 std::unique_ptr<OverlayWidgetPrivate>
const d;
65 ~TransactionItemView()
override;
67 TransactionItem *addTransactionItem(ProgressItem *item,
bool first);
69 [[nodiscard]]
QSize sizeHint()
const override;
70 [[nodiscard]]
QSize minimumSizeHint()
const override;
73 void slotLayoutFirstItem();
82class TransactionItem :
public QWidget
86 TransactionItem(
QWidget *
parent, ProgressItem *item,
bool first);
88 ~TransactionItem()
override;
92 void setProgress(
int progress);
97 void setStatus(
const QString &);
99 void setCryptoStatus(KPIM::ProgressItem::CryptoStatus);
100 void setTotalSteps(
int totalSteps);
102 [[nodiscard]] ProgressItem *item()
const
107 void addSubTransaction(ProgressItem *item);
111 void setItemComplete()
117 void slotItemCanceled();
122 QLabel *mItemLabel =
nullptr;
123 QLabel *mItemStatus =
nullptr;
125 SSLLabel *mSSLLabel =
nullptr;
126 ProgressItem *mItem =
nullptr;
129class KDEPIM_EXPORT ProgressDialog :
public OverlayWidget
134 ~ProgressDialog()
override;
135 void setVisible(
bool b)
override;
137 void setShowTypeProgressItem(
unsigned int type);
139 [[nodiscard]]
bool wasLastShown()
const;
142 void slotToggleVisibility();
151 void slotTransactionCryptoStatus(
KPIM::ProgressItem *item, KPIM::ProgressItem::CryptoStatus);
159 void visibilityChanged(
bool);
164 TransactionItemView *mScrollView =
nullptr;
166 unsigned int mShowTypeProgressItem = 0;
167 bool mWasLastShown =
false;
Class KCheckComboBox::KCheckComboBoxPrivate.
QObject * parent() const const
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 4 2024 16:36:49 by
doxygen 1.12.0 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.