code_app/app/scanner/dialog_multirotate.h

36 lines
687 B
C
Raw Normal View History

2022-05-03 10:25:52 +00:00
#ifndef DIALOG_MULTIROTATE_H
#define DIALOG_MULTIROTATE_H
#include <QDialog>
class QButtonGroup;
namespace Ui {
class Dialog_MultiRotate;
}
class Dialog_MultiRotate : public QDialog
{
Q_OBJECT
public:
explicit Dialog_MultiRotate(QWidget *parent = nullptr);
~Dialog_MultiRotate();
int getRotateType() { return m_rotate_type; }
int getRotatePageType() {return m_rotate_page_type; }
private slots:
void on_rotation_rbtn_clicked(int id);
void on_page_rbtn_clicked(int id);
private:
Ui::Dialog_MultiRotate *ui;
QButtonGroup *m_group_rotation, *m_group_page;
int m_rotate_type;
int m_rotate_page_type;
};
#endif // DIALOG_MULTIROTATE_H