-class ConfigView : public QVBox {
- Q_OBJECT
- typedef class QVBox Parent;
-public:
- ConfigView(QWidget* parent, const char *name = 0);
- ~ConfigView(void);
- static void updateList(ConfigItem* item);
- static void updateListAll(void);
-
- bool showAll(void) const { return list->showAll; }
- bool showName(void) const { return list->showName; }
- bool showRange(void) const { return list->showRange; }
- bool showData(void) const { return list->showData; }
-public slots:
- void setShowAll(bool);
- void setShowName(bool);
- void setShowRange(bool);
- void setShowData(bool);
-signals:
- void showAllChanged(bool);
- void showNameChanged(bool);
- void showRangeChanged(bool);
- void showDataChanged(bool);
-public:
- ConfigList* list;
- ConfigLineEdit* lineEdit;
-
- static ConfigView* viewList;
- ConfigView* nextView;
-};
-
-class ConfigInfoView : public QTextBrowser {
- Q_OBJECT
- typedef class QTextBrowser Parent;
-public:
- ConfigInfoView(QWidget* parent, const char *name = 0);
- bool showDebug(void) const { return _showDebug; }
-
-public slots:
- void setInfo(struct menu *menu);
- void saveSettings(void);
- void setSource(const QString& name);
- void setShowDebug(bool);
-
-signals:
- void showDebugChanged(bool);
- void menuSelected(struct menu *);
-
-protected:
- void symbolInfo(void);
- void menuInfo(void);
- QString debug_info(struct symbol *sym);
- static QString print_filter(const QString &str);
- static void expr_print_help(void *data, struct symbol *sym, const char *str);
- QPopupMenu* createPopupMenu(const QPoint& pos);
- void contentsContextMenuEvent(QContextMenuEvent *e);
-
- struct symbol *sym;
- struct menu *menu;
- bool _showDebug;
-};
-
-class ConfigSearchWindow : public QDialog {
- Q_OBJECT
- typedef class QDialog Parent;
-public:
- ConfigSearchWindow(QWidget* parent, const char *name = 0);
-
-public slots:
- void saveSettings(void);
- void search(void);
-
-protected:
- QLineEdit* editField;
- QPushButton* searchButton;
- QSplitter* split;
- ConfigView* list;
- ConfigInfoView* info;
-
- struct symbol **result;
-};
-