File indexing completed on 2024-05-05 05:40:58

0001 #ifndef SHORTCUTEDITORDIALOG_H
0002 #define SHORTCUTEDITORDIALOG_H
0003 
0004 #include "rwidgets_global.h"
0005 #include <QDialog>
0006 class ShortCutModel;
0007 namespace Ui
0008 {
0009 class ShortCutEditorDialog;
0010 }
0011 class QAbstractItemModel;
0012 class RWIDGET_EXPORT ShortCutEditorDialog : public QDialog
0013 {
0014     Q_OBJECT
0015 
0016 public:
0017     explicit ShortCutEditorDialog(QWidget* parent= nullptr);
0018     ~ShortCutEditorDialog();
0019 
0020     QAbstractItemModel* model() const;
0021     void setModel(QAbstractItemModel* model);
0022 
0023 private:
0024     Ui::ShortCutEditorDialog* ui;
0025     QAbstractItemModel* m_model;
0026 };
0027 
0028 #endif // SHORTCUTEDITORDIALOG_H