33 lines
558 B
C++
33 lines
558 B
C++
#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
|