InspectorNetworkSourceWidget::InspectorNetworkSourceWidget(QWidget* parent)
    : QWidget(parent),
      model(NULL), command(NULL)
{
    setupUi(this);

    loadTriCasterNetworkTarget();

    qApp->installEventFilter(this);
}
InspectorNetworkSourceWidget::InspectorNetworkSourceWidget(QWidget* parent)
    : QWidget(parent),
      model(NULL), command(NULL)
{
    setupUi(this);

    QObject::connect(&EventManager::getInstance(), SIGNAL(rundownItemSelected(const RundownItemSelectedEvent&)), this, SLOT(rundownItemSelected(const RundownItemSelectedEvent&)));

    loadTriCasterNetworkTarget();
}