Summary: | Remote control of Camera (similar to gtkam) | ||
---|---|---|---|
Product: | [Applications] digikam | Reporter: | Vikram Ramchandran <vikram.ramchandran> |
Component: | Import-Gphoto2 | Assignee: | Digikam Developers <digikam-bugs-null> |
Status: | RESOLVED DUPLICATE | ||
Severity: | wishlist | CC: | caulier.gilles, info, marcus, mike |
Priority: | NOR | ||
Version: | 1.0.0 | ||
Target Milestone: | --- | ||
Platform: | Unlisted Binaries | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Vikram Ramchandran
2009-09-20 03:07:56 UTC
I had a look at how the --get-config and --set-config options in gphoto work a while back. Apparently, libgphoto does not provide direct access to these configuration options, but a configuration dialog. The command line gphoto program requests the configuration dialog and then analyzes the widgets in the dialog to see which options it can offer. When you use --set-config, it modifies the values of these widgets and "presses OK" in the dialog, all without ever showing it. So there are two options: - simply request the gtk-based configuration dialog from libgphoto and display it to the user - reuse or rewrite the code that takes this dialog apart and create a KDE/Qt based one `gphoto2 --summary` also shows camera properties, but I don't know how easy it is to relate these to the convenient options presented by --set-config. The dialog is not a GTK dialog, it is more or less a abstract dialog tree. The whole configuration display/setting is already implemented in the kio_kamera kconfig module. Just the actual remote capture / preview is not implemented in a KDE/QT program yet. >- simply request the gtk-based configuration dialog from libgphoto and display >it to the user Certainly the better way. Never tested to be clear. >- reuse or rewrite the code that takes this dialog apart and create a KDE/Qt >based one Already tested. Very difficult (look in cameraui dir, there is a Qt3 dialog code not compiled). Problem is the GTK loop messages and Qt signals/slots conversion. It think it's impossible to do. >`gphoto2 --summary` also shows camera properties, but I don't know how easy it >is to relate these to the convenient options presented by --set-config. Already implemented. Go to Device/Information dialog. IMPORTANT : A camera capture tool is already implemented. I have used my old Olympus C3000Z few year ago, but now, device is dead. I cannot test anymore. Try it using Device/Capture dialog (work only with specific Gphoto2 camera) Gilles Caulier Gphoto2 camera config dialog code : http://lxr.kde.org/source/extragear/graphics/digikam/utilities/cameragui/gpconfigdlg.cpp Code do not compile and is not yet complete... Gilles Caulier There are three enhancement requests for this in the database: Bug 186574 Bug 207936 Bug 258227 Should they be marked as duplicates of only one ? *** This bug has been marked as a duplicate of bug 136742 *** |