CMake build error, status icon text tooltip

This commit is contained in:
Blue 2021-04-26 19:37:36 +03:00
parent 8310708c92
commit 4c5efad9dc
4 changed files with 59 additions and 11 deletions

View file

@ -28,6 +28,7 @@
#include <QFontMetrics>
#include <QPushButton>
#include <QProgressBar>
#include <QLabel>
#include "shared/icons.h"
#include "shared/global.h"
@ -61,6 +62,7 @@ protected:
void paintPreview(const Models::FeedItem& data, QPainter* painter, QStyleOptionViewItem& option) const;
QPushButton* getButton(const Models::FeedItem& data) const;
QProgressBar* getBar(const Models::FeedItem& data) const;
QLabel* getStatusIcon(const Models::FeedItem& data) const;
void clearHelperWidget(const Models::FeedItem& data) const;
QSize calculateAttachSize(const QString& path, const QRect& bounds) const;
QSize constrainAttachSize(QSize src, QSize bounds) const;
@ -87,6 +89,7 @@ private:
std::map<QString, FeedButton*>* buttons;
std::map<QString, QProgressBar*>* bars;
std::map<QString, QLabel*>* statusIcons;
std::set<QString>* idsToKeep;
bool clearingWidgets;