Issue Regarding Stack View Implementation of Item Properties SideBar

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Issue Regarding Stack View Implementation of Item Properties SideBar

kartikx
Hello All,

This issue is regarding a feature I'm implementing as mentioned here.

I've implemented a new class, to serve as the second page of a Stacked Widget in item properties sidebar.
Sorry, if these seems like a stupid question, but I'm not able to include ItemInfos.h properly. Here is my implementation to calculate the size of the selection of images.

I've included iteminfo.h at the top, however I'm facing linking issues during make. Here's my error log when I run make from build/core/app.

I feel like I should modify libs/properties/CMakeLists.txt , however I'm not aware of the correct way to do so. Please advise me on how to do this.

My newly added source files are available here.

Thanks in advance
Kartik.


Reply | Threaded
Open this post in threaded view
|

Re: Issue Regarding Stack View Implementation of Item Properties SideBar

Maik Qualmann
The ItemPropertiesSideBar is for showFoto without database support. You cannot
add an ItemInfo here, this class speaks directly to DMetadata. The
ItemPropertiesSideBarDB is for digiKam with database support.

So you can not install any database stuff in the "* PropertiesTab", because it
also has to run under showFoto.

Maik

Am Mittwoch, 8. April 2020, 16:54:24 CEST schrieb Kartik Ramesh:

> Hello All,
>
> This issue is regarding a feature I'm implementing as mentioned here
> <https://bugs.kde.org/show_bug.cgi?id=279372>.
>
> I've implemented a new class, to serve as the second page of a Stacked
> Widget in item properties sidebar.
> Sorry, if these seems like a stupid question, but I'm not able to include
> ItemInfos.h properly. Here
> <https://invent.kde.org/kartikx/digikam/-/blob/itemPropertyStackView/core/li
> bs/properties/itemselectionpropertiestab.cpp#L70> is my implementation to
> calculate the size of the selection of images.
>
> I've included iteminfo.h at the top, however I'm facing linking issues
> during make. Here <https://pastebin.com/Px1KwnEh>'s my error log when I run
> make from build/core/app.
>
> I feel like I should modify libs/properties/CMakeLists.txt , however I'm
> not aware of the correct way to do so. Please advise me on how to do this.
>
> My newly added source files are available here
> <https://invent.kde.org/kartikx/digikam/-/tree/itemPropertyStackView/core/li
> bs/properties> .
>
> Thanks in advance
> Kartik.