Show marked files in file list bold
This commit is contained in:
+5
-1
@@ -45,6 +45,8 @@ protected slots:
|
||||
|
||||
typedef std::shared_ptr<Image> ImagePtr;
|
||||
|
||||
class Database;
|
||||
|
||||
class ImageRingList : public QAbstractItemModel
|
||||
{
|
||||
Q_OBJECT
|
||||
@@ -57,8 +59,9 @@ class ImageRingList : public QAbstractItemModel
|
||||
bool m_liveMode;
|
||||
AnalyzeLevel m_analyzeLevel;
|
||||
QThreadPool *m_thumbPool;
|
||||
Database *m_database;
|
||||
public:
|
||||
explicit ImageRingList(QObject *parent = 0);
|
||||
explicit ImageRingList(Database *database, QObject *parent = 0);
|
||||
~ImageRingList() override;
|
||||
bool setDir(const QString path, const QString ¤tFile = QString());
|
||||
void setFile(const QString &file);
|
||||
@@ -75,6 +78,7 @@ public:
|
||||
void stopLoading();
|
||||
int imageCount() const;
|
||||
QStringList imageNames() const;
|
||||
void updateMark();
|
||||
|
||||
QModelIndex index(int row, int column, const QModelIndex &parent = QModelIndex()) const override;
|
||||
QModelIndex parent(const QModelIndex &child) const override;
|
||||
|
||||
Reference in New Issue
Block a user