statedebugdialog.h 594 B

123456789101112131415161718192021222324252627282930
  1. #ifndef STATEDEBUGDIALOG_H
  2. #define STATEDEBUGDIALOG_H
  3. #include <QtGui>
  4. #include "fshost.h"
  5. namespace Ui {
  6. class StateDebugDialog;
  7. }
  8. class StateDebugDialog : public QDialog {
  9. Q_OBJECT
  10. public:
  11. StateDebugDialog(QWidget *parent = 0);
  12. ~StateDebugDialog();
  13. private slots:
  14. void newEvent(QSharedPointer<switch_event_t> event);
  15. void currentUuidChanged();
  16. void currentEventsChanged();
  17. protected:
  18. void changeEvent(QEvent *e);
  19. private:
  20. Ui::StateDebugDialog *ui;
  21. QHash<QString, QList<QSharedPointer<switch_event_t> > > _events;
  22. };
  23. #endif // STATEDEBUGDIALOG_H