| 4 | #include <iostream> |
| 5 | |
| 6 | WindowMain::WindowMain(QWidget *parent) |
| 7 | : QMainWindow(parent) |
| 8 | { |
| 9 | ui.setupUi(this); |
| 10 | |
| 11 | this->presenter = NULL; |
| 12 | btn_track = findChild<QPushButton*>("trackBtn"); |
| 13 | tracking_frame = findChild<QLabel*>("cameraView"); |
| 14 | |
| 15 | gp_box_prefs = findChild<QGroupBox*>("prefsGroupbox"); |
| 16 | gp_box_address = gp_box_prefs->findChild<QGroupBox*>("sendGroupbox"); |
| 17 | gp_box_priors = gp_box_prefs->findChild<QGroupBox*>("paramsGroupBox"); |
| 18 | |
| 19 | btn_save = gp_box_prefs->findChild<QPushButton*>("saveBtn"); |
| 20 | |
| 21 | |
| 22 | connect(btn_track, SIGNAL(released()), this, SLOT(onTrackClick())); |
| 23 | connect(btn_save, SIGNAL(released()), this, SLOT(onSaveClick())); |
| 24 | |
| 25 | statusBar()->setSizeGripEnabled(false); |
| 26 | } |
| 27 | |
| 28 | WindowMain::~WindowMain() |
| 29 | { |
nothing calls this directly
no outgoing calls
no test coverage detected