[libcamera-devel,v9,0/7] Introduce capture scripts to qcam
mbox series

Message ID 20220831054938.21617-1-utkarsh02t@gmail.com
Headers show
Series
  • Introduce capture scripts to qcam
Related show

Message

Utkarsh Tiwari Aug. 31, 2022, 5:49 a.m. UTC
Difference from v8:
    1. Dropped v7 7/8 as displaying of Capture Script path is now
    displayed on the tooltip of the QLabel showing the script name.
    2. This Patch updates the design of displaying the capture script
    path and button.
    3. The CameraSelectorDialog is now oblivious of script reset and
    scriptLoad.

Difference from v7:
    1. Fixes the commit message in 1/8
    2. Removes various useless headers in cam_select_dialog.h
    3. The cameraSelectDialog_ is now only created once in 6/8
    4. scriptPathLabel_ now has permanent parent captureWidget

Each patch include their differences from previous versions.

Normal Introduction:
Hi,

This series aims to add a Dialog box which can be used to select
camera while at startup and trying to switch cameras.

The series first adds the dialog to be used just for selection of
camera at startup and then moves on to replace the current QCombBox
in favour of the dialog box.

We already got the ability to load capture scripts to run the
capture sessions in cam.

This is patch series introduces both a GUI way and a cmdline way to
load the capture script in qcam.

With this we get the ability to load a capture script and
to stop a running one.

It utilizes the parser in cam.


Utkarsh Tiwari (7):
  qcam: Use QDialog for selection of cameras at startup
  qcam: Support Hotplug for Camera Selection Dialog
  qcam: MainWindow: Replace cameraCombo_ with CameraSelectorDialog
  qcam: CamSelectDialog: Display Location and Model propety of camera
  qcam: Queue requests only through MainWindow::queueRequest()
  qcam: CamSelectDialog: Add capture script button
  qcam: Add --script to load capture script

 src/qcam/assets/feathericons/feathericons.qrc |   2 +
 src/qcam/cam_select_dialog.cpp                | 197 ++++++++++++++++++
 src/qcam/cam_select_dialog.h                  |  66 ++++++
 src/qcam/main.cpp                             |   3 +
 src/qcam/main_window.cpp                      | 143 +++++++++----
 src/qcam/main_window.h                        |  19 +-
 src/qcam/meson.build                          |   4 +
 7 files changed, 390 insertions(+), 44 deletions(-)
 create mode 100644 src/qcam/cam_select_dialog.cpp
 create mode 100644 src/qcam/cam_select_dialog.h