CCIMXDesktop
 
Loading...
Searching...
No Matches
SaveWindow.h
1#ifndef SAVEWINDOW_H
2#define SAVEWINDOW_H
3
4#include <QMainWindow>
5
6namespace Ui {
7class SaveWindow;
8}
9
10class SaveWindow : public QMainWindow {
11 Q_OBJECT
12
13public:
19 explicit SaveWindow(QWidget* parent = nullptr);
24 inline void bindImage(const QImage& image) {
25 holdingImage = image;
26 processImageIssue();
27 }
31 void processSave();
32
34
35private slots:
41 void on_height_spinbox_valueChanged(int arg1);
47 void on_width_spinbox_valueChanged(int arg1);
48
52 void on_btn_save_clicked();
53
57 void on_btn_quit_clicked();
58
59private:
60 Ui::SaveWindow* ui;
61 QImage holdingImage;
65 void processImageIssue();
66};
67
68#endif // SAVEWINDOW_H
Definition SaveWindow.h:10
void processSave()
processSave process the save sessions
Definition SaveWindow.cpp:10
void bindImage(const QImage &image)
bindImage bind the image for saving
Definition SaveWindow.h:24