25 #ifndef DIGIKAM_IMAGE_WINDOW_H
26 #define DIGIKAM_IMAGE_WINDOW_H
30 #include <QCloseEvent>
45 class CollectionImageChangeset;
71 const QString& caption);
96 void loadIndex(
const QModelIndex& index);
99 bool saveAs()
override;
100 bool saveNewVersion()
override;
101 bool saveCurrentVersion()
override;
102 bool saveNewVersionAs()
override;
103 bool saveNewVersionInFormat(
const QString& format)
override;
105 QUrl saveDestinationUrl()
override;
106 bool hasOriginalToRestore()
override;
109 void prepareImageToSave();
110 void saveFaceTagsToImage(
const ItemInfo& info);
112 void saveIsComplete()
override;
113 void saveAsIsComplete()
override;
114 void saveVersionIsComplete()
override;
116 void setViewToURL(
const QUrl& url);
117 void deleteCurrentItem(
bool ask,
bool permanently);
118 void removeCurrent();
120 void assignPickLabel(
const ItemInfo& info,
int pickId);
121 void assignColorLabel(
const ItemInfo& info,
int colorId);
122 void assignRating(
const ItemInfo& info,
int rating);
126 Sidebar* rightSideBar()
const override;
134 void slotLoadItemInfosStage2();
135 void slotThumbBarModelReady();
137 void slotForward()
override;
138 void slotBackward()
override;
139 void slotFirst()
override;
140 void slotLast()
override;
141 void slotFileWithDefaultApplication()
override;
143 void slotToMainWindow();
145 void slotThumbBarImageSelected(
const ItemInfo&);
146 void slotLoadCurrent();
147 void slotDeleteCurrentItem()
override;
148 void slotDeleteCurrentItemPermanently();
149 void slotDeleteCurrentItemPermanentlyDirectly();
150 void slotTrashCurrentItemDirectly();
152 void slotChanged()
override;
153 void slotUpdateItemInfo()
override;
154 void slotFileOriginChanged(
const QString&)
override;
156 void slotRevert()
override;
157 void slotOpenOriginal()
override;
159 void slotAssignTag(
int tagID);
160 void slotRemoveTag(
int tagID);
162 void slotRatingChanged(
const QUrl&,
int);
163 void slotColorLabelChanged(
const QUrl&,
int);
164 void slotPickLabelChanged(
const QUrl&,
int);
165 void slotToggleTag(
const QUrl&,
int);
167 void slotFileMetadataChanged(
const QUrl&);
174 void slotComponentsInfo()
override;
175 void slotDBStat()
override;
176 void slotOnlineVersionCheck()
override;
178 void slotAddedDropedItems(QDropEvent*)
override;
179 void slotOpenWith(QAction* action =
nullptr)
override;
181 void slotRightSideBarActivateTitles();
182 void slotRightSideBarActivateComments();
183 void slotRightSideBarActivateAssignedTags();
198 void setupActions()
override;
199 void setupConnections()
override;
200 void setupUserArea()
override;
202 void addServicesMenu()
override;
206 void slotContextMenu()
override;
212 void slotImportedImagefromScanner(
const QUrl& url);
Definition: dimagehistory.h:49
Definition: dinfointerface.h:56
Definition: dpluginaction.h:40
Definition: editorwindow.h:78
Definition: imagewindow_p.h:176
Definition: imagewindow.h:48
void slotAssignColorLabel(int colorId)
Definition: imagewindow.cpp:446
DInfoInterface * infoIface(DPluginAction *const ac) override
Definition: imagewindow.cpp:1362
void dropEvent(QDropEvent *e) override
Definition: imagewindow.cpp:1104
void showEvent(QShowEvent *) override
Definition: imagewindow.cpp:148
void openImage(const ItemInfo &info)
Definition: imagewindow.cpp:221
void toggleTag(int tagID)
Definition: imagewindow.cpp:405
static ImageWindow * imageWindow()
Definition: imagewindow.cpp:32
void signalSavingDialogProgress(float value)
bool queryClose() override
Definition: imagewindow.cpp:155
void slotSetupChanged()
Definition: imagewindow_config.cpp:39
void loadItemInfos(const ItemInfoList &imageInfoList, const ItemInfo &imageInfoCurrent, const QString &caption)
Definition: imagewindow.cpp:170
void slotAssignPickLabel(int pickId)
Definition: imagewindow.cpp:441
static bool imageWindowCreated()
Definition: imagewindow.cpp:42
~ImageWindow() override
Definition: imagewindow.cpp:103
void slotSetup() override
Definition: imagewindow_config.cpp:29
void dragMoveEvent(QDragMoveEvent *e) override
Definition: imagewindow.cpp:1086
void slotSetupICC() override
Definition: imagewindow_config.cpp:34
void closeEvent(QCloseEvent *e) override
Definition: imagewindow.cpp:112
void signalURLChanged(const QUrl &url)
void slotAssignRating(int rating)
Definition: imagewindow.cpp:467
VersionManager * versionManager() const override
Definition: imagewindow.cpp:818
Definition: iteminfolist.h:47
Definition: iteminfo.h:78
Definition: thumbbardock.h:84
Definition: versionmanager.h:46
qulonglong value
Definition: itemviewutilities.cpp:592
Definition: datefolderview.cpp:43