[libcamera-devel,v2,00/11] Introduce control interaction to qcam
mbox series

Message ID 20220812124651.27496-1-utkarsh02t@gmail.com
Headers show
Series
  • Introduce control interaction to qcam
Related show

Message

Utkarsh Tiwari Aug. 12, 2022, 12:46 p.m. UTC
Difference from v1:
  1. This series now dependent on https://lists.libcamera.org/pipermail/libcamera-devel/2022-August/033351.html
  2. Most of the patches remain same, now except of using toggleScriptAction()
    we use infromScriptRest()
  3. Added a youtube video link in cover letter

Hi,

This patch series brings control manipulation from qcam. It provides
the GUI needed to change control values for ControlTypeBool,
ControlTypeFloat, ControlTypeIntger32. Also this displays the controls
and their default values.

It also displays the current values for the controls which have been
set by qcam itself either through capture script or through the GUI.

The patch series starts with building the basic GUI and just showing
the name of the controls. then proceeds to add deault value and then
implement just for ControlTypeBool and then for the other types
mentioned above.

This patch series implements the basic groundwork to facilitate the
manipulation of controls. The design for various control components
can be ofcourse improved, I have tried to isolate the design part much
to be disconnected.

Demo :
  https://youtu.be/DNa-RugEiOs


Utkarsh Tiwari (11):
  qcam: Add settings Dialog with Control tab
  qcam: ControlFrame: Display defualt value of controls
  qcam: Add GUI way to change control values
  qcam: ControlsTab: Implement QScrollArea
  qcam: ControlFrame: Add Current Value label
  qcam: Add Float Slider
  qcam: Slider: Add SliderLayout to display value
  qcam: ControlsTab: Allow widget to resizeable
  qcam: ControlFrame: Add GUI interaction to float controls
  qcam: ControlFrame: Add GUI way to interact with ControlTypeIntger32
  qcam: ControlFrame: Implement Current Values for integer types

 src/qcam/assets/feathericons/feathericons.qrc |   1 +
 src/qcam/main_window.cpp                      |  67 +++++-
 src/qcam/main_window.h                        |  12 +
 src/qcam/meson.build                          |   6 +
 src/qcam/settings/control_frame.cpp           | 217 ++++++++++++++++++
 src/qcam/settings/control_frame.h             |  54 +++++
 src/qcam/settings/controls_tab.cpp            |  68 ++++++
 src/qcam/settings/controls_tab.h              |  40 ++++
 src/qcam/settings/settings_dialog.h           |  47 ++++
 src/qcam/settings/slider.h                    | 138 +++++++++++
 10 files changed, 647 insertions(+), 3 deletions(-)
 create mode 100644 src/qcam/settings/control_frame.cpp
 create mode 100644 src/qcam/settings/control_frame.h
 create mode 100644 src/qcam/settings/controls_tab.cpp
 create mode 100644 src/qcam/settings/controls_tab.h
 create mode 100644 src/qcam/settings/settings_dialog.h
 create mode 100644 src/qcam/settings/slider.h