aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/debugger/gdboptionspage.h
blob: bd70ed68ec6aa4203862ec0f438ad885190473fb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
#ifndef GDBOPTIONSPAGE_H
#define GDBOPTIONSPAGE_H

#include <coreplugin/dialogs/ioptionspage.h>
#include <utils/savedaction.h>

#include "ui_gdboptionspage.h"

namespace Debugger {
namespace Internal {

class GdbOptionsPage : public Core::IOptionsPage
{
    Q_OBJECT
public:
    GdbOptionsPage();

    virtual QString id() const { return settingsId(); }
    virtual QString trName() const;
    virtual QString category() const;
    virtual QString trCategory() const;

    virtual QWidget *createPage(QWidget *parent);
    virtual void apply();
    virtual void finish();

    static QString settingsId();

private:
    Ui::GdbOptionsPage m_ui;
    Core::Utils::SavedActionSet m_group;
};

} // namespace Internal
} // namespace Debugger

#endif // GDBOPTIONSPAGE_H