mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-14 02:07:54 -06:00
ENH: [STUDIO-2446] support select media files by group of month/year
Change-Id: I10d26e34405a13daa477be011e7353d79232b4b3
This commit is contained in:
parent
2573d3c112
commit
ef1e4a132d
4 changed files with 156 additions and 70 deletions
|
@ -146,6 +146,8 @@ public:
|
|||
|
||||
File const &GetFile(size_t index);
|
||||
|
||||
File const &GetFile(size_t index, bool &select);
|
||||
|
||||
enum Status {
|
||||
Initializing,
|
||||
Connecting,
|
||||
|
@ -170,6 +172,8 @@ public:
|
|||
private:
|
||||
void BuildGroups();
|
||||
|
||||
void UpdateGroupSelect();
|
||||
|
||||
void DeleteFilesContinue();
|
||||
|
||||
void DownloadNextFile();
|
||||
|
@ -266,6 +270,7 @@ protected:
|
|||
FileList m_file_list2;
|
||||
std::vector<size_t> m_group_year;
|
||||
std::vector<size_t> m_group_month;
|
||||
std::vector<int> m_group_flags;
|
||||
|
||||
private:
|
||||
size_t m_select_count = 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue