MCPcopy Create free account
hub / github.com/AIRLegend/aitrack / WindowMain

Method WindowMain

Client/src/view/WindowMain.cpp:6–26  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4#include <iostream>
5
6WindowMain::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
28WindowMain::~WindowMain()
29{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected