Skip to content

Commit c3110ea

Browse files
authored
Merge pull request #77 from introlab/dev
Main merge for 1.1.2 release
2 parents 9374ec8 + 6eb6bea commit c3110ea

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

45 files changed

+1972
-682
lines changed

CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ cmake_policy(SET CMP0043 NEW)
1717
# Software version
1818
SET(CPACK_PACKAGE_VERSION_MAJOR "1")
1919
SET(CPACK_PACKAGE_VERSION_MINOR "1")
20-
SET(CPACK_PACKAGE_VERSION_PATCH "1")
20+
SET(CPACK_PACKAGE_VERSION_PATCH "2")
2121
SET(CPACK_PACKAGE_VERSION ${CPACK_PACKAGE_VERSION_MAJOR}.${CPACK_PACKAGE_VERSION_MINOR}.${CPACK_PACKAGE_VERSION_PATCH})
2222
add_definitions(-DOPENTERAPLUS_VERSION="${CPACK_PACKAGE_VERSION}" )
2323
add_definitions(-DOPENTERAPLUS_VERSION_MAJOR="${CPACK_PACKAGE_VERSION_MAJOR}" )
@@ -44,7 +44,7 @@ if (UNIX AND NOT APPLE)
4444
# Fix QWebEngine linking issues on Linux (https://bugreports.qt.io/browse/QTBUG-80964)
4545
set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -fuse-ld=gold")
4646
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fuse-ld=gold")
47-
endif(UNIX)
47+
endif(UNIX AND NOT APPLE)
4848

4949

5050
set(CMAKE_VERBOSE_MAKEFILE ON)

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,10 @@ OpenTeraPlus is a client that works with [OpenTera Server](https://github.com/in
88
* Simon Brière, ing. M.Sc.A., Research Center on Aging, CIUSSS de l'Estrie-CHUS (@sbriere)
99
* Dominic Létourneau, ing. M.Sc.A., IntRoLab, Université de Sherbrooke (@doumdi)
1010

11+
## Publication(s)
12+
13+
* Panchea, A.M., Létourneau, D., Brière, S. et al., [OpenTera: A microservice architecture solution for rapid prototyping of robotic solutions to COVID-19 challenges in care facilities](https://rdcu.be/cHzmf), Health Technol. 12, 583–596 (2022)
14+
1115
## Current Features
1216

1317
### High-level features
-860 Bytes
Loading

client/resources/stylesheet.qss

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ QLabel {
183183
*/
184184
QTreeWidget, QTableWidget{
185185
selection-background-color: rgba(255,255,255,50%);/*rgba(0,5,45,50%)*/;
186-
selection-color: black;
186+
selection-color: lightblue;
187187
}
188188

189189
QTreeWidget#treeNavigator {
@@ -581,14 +581,14 @@ QPushButton#btnLogout:hover {
581581
}
582582

583583
/* Green buttons */
584-
QPushButton#btnNewSession, QPushButton#btnStartSession {
584+
QPushButton#btnNewSession, QPushButton#btnStartSession, QPushButton#btnLauncher {
585585
background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 rgba(0,45,5,100%), stop: 1 rgba(10,140,10,100%));/*qlineargradient(x1:0, y1:0, x2:1, y2:1, stop:0 rgba(10,140,10,100%), stop: 0.2 rgba(0,45,5,100%), stop:1 rgba(10,140,10,100%));*/
586586
color: white;
587587
border: 1px solid rgb(0,150,0);
588588
min-height:36px;
589589
}
590590

591-
QPushButton#btnNewSession:hover, QPushButton#btnStartSession:hover {
591+
QPushButton#btnNewSession:hover, QPushButton#btnStartSession:hover, QPushButton#btnLauncher:hover {
592592
background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 rgba(10,140,10,100%), stop: 1 rgba(0,45,5,100%));/*qlineargradient(x1:0, y1:0, x2:1, y2:1, stop:0 rgba(0,45,5,100%), stop: 0.2 rgba(10,140,10,100%), stop:1 rgba(0,45,5,100%));*/
593593
color: white;
594594
border: 1px solid rgb(0,150,0);

client/resources/translations/openteraplus_en.ts

Lines changed: 400 additions & 280 deletions
Large diffs are not rendered by default.

client/resources/translations/openteraplus_fr.ts

Lines changed: 386 additions & 286 deletions
Large diffs are not rendered by default.

client/src/CMakeLists.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,7 @@ set(headers
7272
services/BaseServiceWidget.h
7373
services/BaseServiceToolsWidget.h
7474
services/BaseServiceSetupWidget.h
75+
services/VideoRehabService/ScreenController.h
7576
services/VideoRehabService/VideoRehabWidget.h
7677
services/VideoRehabService/VideoRehabWebPage.h
7778
services/VideoRehabService/VideoRehabSetupWidget.h
@@ -171,6 +172,7 @@ set(srcs
171172
services/BaseServiceWidget.cpp
172173
services/BaseServiceToolsWidget.cpp
173174
services/BaseServiceSetupWidget.cpp
175+
services/VideoRehabService/ScreenController.cpp
174176
services/VideoRehabService/VideoRehabWidget.cpp
175177
services/VideoRehabService/VideoRehabWebPage.cpp
176178
services/VideoRehabService/VideoRehabSetupWidget.cpp

client/src/ClientApp.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ void ClientApp::showMainWindow()
142142
if (m_mainWindow != nullptr){
143143
m_mainWindow->deleteLater();
144144
}
145-
m_mainWindow = new MainWindow(m_comMan);
145+
m_mainWindow = new MainWindow(m_comMan, m_loginDiag->currentServerName());
146146

147147
// Delete login window, if present
148148
if (m_loginDiag){

client/src/dialogs/LoginDialog.cpp

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,14 @@ void LoginDialog::showServers(bool show)
7373
ui->icoServer->setVisible(show);
7474
}
7575

76+
QString LoginDialog::currentServerName()
77+
{
78+
if (ui->cmbServers->currentIndex() >=0 && ui->cmbServers->isVisible()){
79+
return ui->cmbServers->currentText();
80+
}
81+
return QString();
82+
}
83+
7684
void LoginDialog::setStatusMessage(QString message, bool error)
7785
{
7886
if (message.isEmpty()){

client/src/dialogs/LoginDialog.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ class LoginDialog : public QDialog
1919

2020
void setServerNames(QStringList servers);
2121
void showServers(bool show);
22+
QString currentServerName();
2223

2324
void setStatusMessage(QString message, bool error=false);
2425

0 commit comments

Comments
 (0)