[libcamera-devel] [PATCH v7 0/8] Introduce capture scripts to qcam

Utkarsh Tiwari utkarsh02t at gmail.com
Tue Aug 9 22:50:34 CEST 2022


Difference from v6 :
  1. This series now merges https://lists.libcamera.org/pipermail/libcamera-devel/2022-August/033137.html
  2. The capture script button now lives in the CameraSelectorDialog
  3. We now show the capture selected scripts path
  4. Now the implementation of CameraSelectorDialog lives in it .cpp

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.

A Screenshot :
  https://pasteboard.co/mO811IF3RQtk.png

Utkarsh Tiwari (8):
  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: CamSelectDialog: Display Capture script path
  qcam: Add --script to load capture script

 src/qcam/cam_select_dialog.cpp | 203 +++++++++++++++++++++++++++++++++
 src/qcam/cam_select_dialog.h   |  76 ++++++++++++
 src/qcam/main.cpp              |   3 +
 src/qcam/main_window.cpp       | 144 ++++++++++++++++-------
 src/qcam/main_window.h         |  20 +++-
 src/qcam/meson.build           |   4 +
 6 files changed, 403 insertions(+), 47 deletions(-)
 create mode 100644 src/qcam/cam_select_dialog.cpp
 create mode 100644 src/qcam/cam_select_dialog.h

-- 
2.25.1



More information about the libcamera-devel mailing list