code_app/app/scanner2/dialog_insertindex.h

33 lines
558 B
C
Raw Normal View History

2022-05-03 10:25:52 +00:00
#ifndef DIALOG_INSERTINDEX_H
#define DIALOG_INSERTINDEX_H
#include <QDialog>
class QButtonGroup;
namespace Ui {
class Dialog_InsertIndex;
}
class Dialog_InsertIndex : public QDialog
{
Q_OBJECT
public:
explicit Dialog_InsertIndex(QWidget *parent = nullptr);
~Dialog_InsertIndex();
int selectedLocation() { return m_index; }
private slots:
void on_rbtn_clicked(int id);
void on_buttonBox_accepted();
private:
Ui::Dialog_InsertIndex *ui;
QButtonGroup *button_group;
int m_index;
};
#endif // DIALOG_INSERTINDEX_H