Add new debug tools to FSComm to help on development. Check tools->debug.

This commit is contained in:
Joao Mesquita
2010-04-07 02:05:03 -03:00
parent d2ca27259a
commit ec8ab06c66
14 changed files with 1177 additions and 6 deletions

View File

@@ -0,0 +1,30 @@
#ifndef STATEDEBUGDIALOG_H
#define STATEDEBUGDIALOG_H
#include <QtGui>
#include "fshost.h"
namespace Ui {
class StateDebugDialog;
}
class StateDebugDialog : public QDialog {
Q_OBJECT
public:
StateDebugDialog(QWidget *parent = 0);
~StateDebugDialog();
private slots:
void newEvent(QSharedPointer<switch_event_t> event);
void currentUuidChanged();
void currentEventsChanged();
protected:
void changeEvent(QEvent *e);
private:
Ui::StateDebugDialog *ui;
QHash<QString, QList<QSharedPointer<switch_event_t> > > _events;
};
#endif // STATEDEBUGDIALOG_H