-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathiconlist.h
More file actions
37 lines (32 loc) · 1.4 KB
/
iconlist.h
File metadata and controls
37 lines (32 loc) · 1.4 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
/////////////////////////////////////////////////////////////////////////////
// Name: iconlist.h
// Purpose: List of SVG icons for note listbox (header)
// Author: Jan Buchholz
// Created: 2025-10-13
/////////////////////////////////////////////////////////////////////////////
#pragma once
#include <QObject>
#include <QIcon>
class IconList : public QObject {
Q_OBJECT
public:
explicit IconList(QObject *parent = nullptr);
const QString m_icon_prefix = ":/list/assets/";
const QStringList m_listIcons = {{"list_Article.svg"},
{"list_Bookmarks.svg"},
{"list_Calendar.svg"},
{"list_Contacts.svg"},
{"list_DataTable.svg"},
{"list_Drafts.svg"},
{"list_Favorite.svg"},
{"list_Folder.svg"},
{"list_Label.svg"},
{"list_Library.svg"},
{"list_Objects.svg"},
{"list_Pin.svg"},
{"list_Smiley.svg"},
{"list_Support.svg"},
{"list_Work.svg"}
};
QIcon getIconAtIndex(int index);
};