Add imageCropper
This commit is contained in:
26
imagecropper/example/mainwindow.h
Normal file
26
imagecropper/example/mainwindow.h
Normal file
@@ -0,0 +1,26 @@
|
||||
#ifndef MAINWINDOW_H
|
||||
#define MAINWINDOW_H
|
||||
|
||||
#include <QMainWindow>
|
||||
#include <QPushButton>
|
||||
|
||||
class MainWindow : public QMainWindow
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
MainWindow(QWidget *parent = nullptr);
|
||||
~MainWindow();
|
||||
|
||||
public slots:
|
||||
void onCustomCrop();
|
||||
void onSimpleCrop();
|
||||
|
||||
private:
|
||||
void setupLayout();
|
||||
|
||||
private:
|
||||
QPushButton* btnCustomCrop;
|
||||
QPushButton* btnSimpleCrop;
|
||||
};
|
||||
#endif // MAINWINDOW_H
|
||||
Reference in New Issue
Block a user