OSCAR-code/profileselect.h

43 lines
770 B
C
Raw Normal View History

2011-10-01 12:54:20 +00:00
#ifndef PROFILESELECT_H
#define PROFILESELECT_H
#include <QDialog>
#include <QModelIndex>
2011-10-02 03:38:51 +00:00
#include <QMenu>
2011-10-01 12:54:20 +00:00
namespace Ui {
class ProfileSelect;
}
class ProfileSelect : public QDialog
{
Q_OBJECT
public:
explicit ProfileSelect(QWidget *parent = 0);
~ProfileSelect();
QString selectedProfile();
private slots:
void on_selectButton_clicked();
void on_newProfileButton_clicked();
void on_listView_activated(const QModelIndex &index);
void earlyExit();
2011-10-01 12:54:20 +00:00
2011-10-02 03:38:51 +00:00
void openProfile();
void editProfile();
void deleteProfile();
void on_listView_customContextMenuRequested(const QPoint &pos);
2011-10-01 12:54:20 +00:00
private:
Ui::ProfileSelect *ui;
QString m_selectedProfile;
int m_tries;
2011-10-02 03:38:51 +00:00
QMenu *popupMenu;
2011-10-01 12:54:20 +00:00
};
#endif // PROFILESELECT_H