3#ifndef CONNECT_NEW_DLG__
4#define CONNECT_NEW_DLG__
9#include <wx/scrolwin.h>
10#include "model/conn_params.h"
11#include "observable_evtvar.h"
16 const std::vector<ConnectionParams*>& connections);
31 void DoApply(wxWindow* root);
32 void DoCancel(wxWindow* root);
34 const std::vector<ConnectionParams*>& m_connections;
35 std::function<void()> m_on_exit;
void ApplySettings()
Traverse root's children and invoke Apply if they implement ApplyCancel.
ConnectionsDlg(wxWindow *parent, const std::vector< ConnectionParams * > &connections)
Main window: connections grid, "Add new connection", general options.
void CancelSettings()
Traverse root's children and invoke Cancel if they implement ApplyCancel.
Generic event handling between MVC Model and Controller based on a shared EventVar variable.
Define an action to be performed when a KeyProvider is notified.