forked from blue/squawk
progress for VCard widget, date of receiving
This commit is contained in:
parent
f3515f1104
commit
e924715a57
8 changed files with 832 additions and 730 deletions
|
@ -27,10 +27,14 @@
|
|||
#include <QMimeDatabase>
|
||||
#include <QImage>
|
||||
#include <QStandardPaths>
|
||||
#include <QLabel>
|
||||
#include <QGraphicsOpacityEffect>
|
||||
#include <QVBoxLayout>
|
||||
|
||||
#include <set>
|
||||
|
||||
#include "../../global.h"
|
||||
#include "../utils/progress.h"
|
||||
|
||||
namespace Ui
|
||||
{
|
||||
|
@ -50,6 +54,8 @@ public:
|
|||
void setVCard(const Shared::VCard& card);
|
||||
void setVCard(const QString& jid, const Shared::VCard& card);
|
||||
QString getJid() const;
|
||||
void showProgress(const QString& = "");
|
||||
void hideProgress();
|
||||
|
||||
signals:
|
||||
void saveVCard(const Shared::VCard& card);
|
||||
|
@ -67,6 +73,9 @@ private:
|
|||
bool editable;
|
||||
Shared::Avatar currentAvatarType;
|
||||
QString currentAvatarPath;
|
||||
Progress* progress;
|
||||
QLabel* progressLabel;
|
||||
QWidget* overlay;
|
||||
|
||||
static const std::set<QString> supportedTypes;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue