##// END OF EJS Templates
New Plugin Manager and interface to remove all the previous crap!...
New Plugin Manager and interface to remove all the previous crap! Let's use Qt plugin API and make it much simpler.

File last commit:

r91:acc9efbbe625 default
r118:de85e8465e67 tip 1.0
Show More
socexplorersettingsdialog.h
41 lines | 951 B | text/x-c | CLexer
#ifndef SOCEXPLORERSETTINGSDIALOG_H
#define SOCEXPLORERSETTINGSDIALOG_H
#include <QDialog>
namespace Ui {
class SocExplorerSettingsDialog;
}
#include <QListWidgetItem>
class SocExplorerSettingsItem : public QWidget
{
Q_OBJECT
public:
SocExplorerSettingsItem(QWidget *parent = 0):QWidget(parent) {}
~SocExplorerSettingsItem() {}
public slots:
virtual void accept()=0;
};
class SocExplorerSettingsDialog : public QDialog
{
Q_OBJECT
public:
explicit SocExplorerSettingsDialog(QWidget *parent = 0);
~SocExplorerSettingsDialog();
public slots:
void changePage(QListWidgetItem *current, QListWidgetItem *previous);
bool registerConfigEntry(SocExplorerSettingsItem* configEntry, QIcon icon, QString text);
void popConfigDialog(SocExplorerSettingsItem* selectedConfigEntry=0);
protected:
void changeEvent(QEvent *e);
private:
Ui::SocExplorerSettingsDialog *ui;
};
#endif // SOCEXPLORERSETTINGSDIALOG_H