diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2015-10-30 07:37:41 +0100 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2015-10-30 08:39:32 +0100 |
commit | aa066bdd4622d4f6824fee864f6be6806813f04d (patch) | |
tree | 3df328b8b364cba2373a85827191b259bd78d546 /ftnoir_tracker_rs/ftnoir_tracker_rs_controls.cpp | |
parent | d6a54431d178632a2bf466c9904f74abd143afe6 (diff) |
move to subdirectory-based build system
Closes #224
Diffstat (limited to 'ftnoir_tracker_rs/ftnoir_tracker_rs_controls.cpp')
-rw-r--r-- | ftnoir_tracker_rs/ftnoir_tracker_rs_controls.cpp | 40 |
1 files changed, 0 insertions, 40 deletions
diff --git a/ftnoir_tracker_rs/ftnoir_tracker_rs_controls.cpp b/ftnoir_tracker_rs/ftnoir_tracker_rs_controls.cpp deleted file mode 100644 index 6c71d58f..00000000 --- a/ftnoir_tracker_rs/ftnoir_tracker_rs_controls.cpp +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Copyright (c) 2015, Intel Corporation - * Author: Xavier Hallade <xavier.hallade@intel.com> - * Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies. - * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. - */ - -#include "ftnoir_tracker_rs_controls.h" - -#include <QProcess> -#include <QMessageBox> - -RSTrackerControls::RSTrackerControls() -{ - ui.setupUi(this); - connect(ui.triggerSDKInstallButton, SIGNAL(clicked(bool)), this, SLOT(doInstallRSRuntime())); - connect(ui.buttonBox, SIGNAL(rejected()), this, SLOT(doCancel())); - connect(ui.buttonBox, SIGNAL(accepted()), this, SLOT(doOK())); -} - -void RSTrackerControls::doInstallRSRuntime() -{ - bool processStarted = QProcess::startDetached("contrib\\intel_rs_sdk_runtime_websetup_6.0.21.6598.exe --finstall=core,face3d --fnone=all"); - if(processStarted){ - this->close(); - } - else{ - QMessageBox::warning(0, "IntelĀ® RealSenseTM Runtime Installation", "Installation process failed to start.", QMessageBox::Ok); - } -} - -void RSTrackerControls::doOK() -{ - this->close(); -} - -void RSTrackerControls::doCancel() -{ - this->close(); -} |