summaryrefslogtreecommitdiff
path: root/src/qcam/main_window.h
diff options
context:
space:
mode:
authorKieran Bingham <kieran.bingham@ideasonboard.com>2020-02-05 14:41:14 +0000
committerKieran Bingham <kieran.bingham@ideasonboard.com>2020-02-14 12:34:33 +0000
commit2dc85eabe1d9e9946f39692ea9a3bf1bb635bbcc (patch)
treebafc799250835bd3e417cd60cdaf55b0c214be04 /src/qcam/main_window.h
parentfc9fe45580839cee9420415f6d04052f9dfcaa62 (diff)
qcam: Provide initial icon buttons "Play/Stop"
Provide Quit, Play, Stop icons. Create a Qt resource to compile icons into the binary and present them on the toolbar. Update the Quit button with a 'cross', and implement Play/Stop buttons. Signed-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Diffstat (limited to 'src/qcam/main_window.h')
-rw-r--r--src/qcam/main_window.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/qcam/main_window.h b/src/qcam/main_window.h
index 12af103f..27ceed61 100644
--- a/src/qcam/main_window.h
+++ b/src/qcam/main_window.h
@@ -46,14 +46,14 @@ private Q_SLOTS:
void switchCamera(int index);
+ int startCapture();
+ void stopCapture();
+
private:
int createToolbars();
std::string chooseCamera();
int openCamera();
- int startCapture();
- void stopCapture();
-
void requestComplete(Request *request);
int display(FrameBuffer *buffer);