42 LoadRelationCloud = 1 << 0,
45 LoadSubjectHistory = 1 << 1,
48 LoadLeavesHistory = 1 << 2,
50 LoadAll = LoadRelationCloud | LoadSubjectHistory | LoadLeavesHistory
52 Q_DECLARE_FLAGS(HistoryLoadingMode, HistoryLoadingFlag)
70 bool isSingleVertex()
const;
76 bool hasEdges()
const;
88 HistoryLoadingMode loadingMode = LoadAll,
89 ProcessingMode processingMode = PrepareForDisplay);
105 void addScannedHistory(
const DImageHistory& history, qlonglong historySubjectId);
111 void addRelations(
const QList<QPair<qlonglong, qlonglong> >& pairs);
128 bool hasUnresolvedEntries()
const;
134 void dropUnresolvedEntries();
139 void sortForInfo(
const ItemInfo& subject);
144 void prepareForDisplay(
const ItemInfo& subject);
151 QList<QPair<qlonglong, qlonglong> > relationCloud()
const;
152 QPair<QList<qlonglong>, QList<qlonglong> > relationCloudParallel()
const;
157 QList<ItemInfo> allImages()
const;
158 QList<qlonglong> allImageIds()
const;
164 QList<ItemInfo> rootImages()
const;
170 QList<ItemInfo> leafImages()
const;
177 QHash<ItemInfo, HistoryImageId::Types> categorize()
const;
181 QSharedDataPointer<ItemHistoryGraphData> d;
Definition dimagehistory.h:39
Definition historyimageid.h:32
Definition itemhistorygraphdata.h:96
Definition itemhistorygraph.h:36
HistoryLoadingFlag
Definition itemhistorygraph.h:40
ProcessingMode
Definition itemhistorygraph.h:55
@ NoProcessing
Definition itemhistorygraph.h:56