Skip to content

Commit f2ed1dc

Browse files
authored
Merge pull request #101 from introlab/dev
Main merge for 1.3.0 release
2 parents 246f0e6 + fe4b0fc commit f2ed1dc

File tree

132 files changed

+21472
-3101
lines changed

Some content is hidden

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

132 files changed

+21472
-3101
lines changed

.github/workflows/build_on_pull_request.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
- name: Install Qt
1616
uses: jurplel/install-qt-action@v3.3.0
1717
with:
18-
version: '6.5.3'
18+
version: '6.7.3'
1919
host: 'windows'
2020
target: 'desktop'
2121
arch: 'win64_msvc2019_64'

.gitignore

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
11
/client/resources/translations/*.qm
22
deploy
3-
/build-*
3+
/build
44
*.user
55

6-
html
76
venv
87
doctrees
98
CMakeLists.txt.user

CMakeLists.txt

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
#Look for minimum cmake version
2+
cmake_minimum_required(VERSION 3.21)
3+
14
if (APPLE)
25
set(CMAKE_OSX_DEPLOYMENT_TARGET "11.0" CACHE STRING "Minimum OS X deployment version")
36
endif(APPLE)
@@ -8,15 +11,13 @@ project(OpenTeraPlus)
811
#enable_testing()
912
#include(CheckFunctionExists)
1013

11-
#Look for minimum cmake version
12-
cmake_minimum_required(VERSION 3.21)
13-
1414
#DEFINITIONS POLICY, NEW SINCE 3.0.2
1515
cmake_policy(SET CMP0043 NEW)
16+
cmake_policy(SET CMP0007 NEW)
1617

1718
# Software version
1819
SET(CPACK_PACKAGE_VERSION_MAJOR "1")
19-
SET(CPACK_PACKAGE_VERSION_MINOR "2")
20+
SET(CPACK_PACKAGE_VERSION_MINOR "3")
2021
SET(CPACK_PACKAGE_VERSION_PATCH "0")
2122
SET(CPACK_PACKAGE_VERSION ${CPACK_PACKAGE_VERSION_MAJOR}.${CPACK_PACKAGE_VERSION_MINOR}.${CPACK_PACKAGE_VERSION_PATCH})
2223
add_definitions(-DOPENTERAPLUS_VERSION="${CPACK_PACKAGE_VERSION}" )

client/resources/CMakeLists.txt

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,8 @@
11
set(TERACLIENT_RES_INCLUDES ${CMAKE_CURRENT_SOURCE_DIR} CACHE INTERNAL "doc string")
2+
3+
set(translations
4+
translations/openteraplus_en.ts
5+
translations/openteraplus_fr.ts
6+
)
7+
8+
add_custom_target(translation_files SOURCES ${translations})

client/resources/stylesheet.qss

Lines changed: 37 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -286,21 +286,31 @@ QTreeWidget::branch:open:has-children:has-siblings {
286286
/*
287287
QLineEdit
288288
*/
289-
QLineEdit, QSpinBox, QTextEdit, QDateTimeEdit, QTimeEdit{
290-
background-color: rgba(255,255,255,50%);
289+
QLineEdit, QSpinBox, QTextEdit, QDateTimeEdit, QTimeEdit, QDateEdit{
290+
background-color: rgba(255,255,255,70%);
291291
color:black;
292292
min-height: 25px;
293293
padding-left: 5px;
294294
}
295295

296-
QLineEdit:!enabled, QSpinBox:!enabled, QTextEdit:!enabled, QDateTimeEdit:!enabled, QTimeEdit:!enabled{
296+
QLineEdit:!enabled, QSpinBox:!enabled, QDateTimeEdit:!enabled, QTimeEdit:!enabled, QDateEdit:!enabled{
297297
background-color: rgba(0,0,0,0%);
298298
color:rgba(255,255,255,80%);
299299
padding-left: 0px;
300300
}
301301

302+
QTextEdit:!enabled{
303+
background-color: rgba(255,255,255,70%);
304+
color: black;
305+
padding-left: 0px;
306+
}
307+
308+
QTextEdit:enabled{
309+
background-color: rgba(255,255,255,100%);
310+
}
302311

303-
QDateTimeEdit::down-arrow:!enabled, QDateTimeEdit::up-arrow:!enabled {
312+
313+
QDateTimeEdit::down-arrow:!enabled, QDateTimeEdit::up-arrow:!enabled, QDateEdit::down-arrow:!enabled, QDateEdit::up-arrow:!enabled {
304314
image: none;
305315
}
306316

@@ -309,7 +319,12 @@ QDateTimeEdit::down-arrow:!enabled, QDateTimeEdit::up-arrow:!enabled {
309319
QPlainTextEdit
310320
*/
311321
QPlainTextEdit {
312-
background-color: rgba(255,255,255,50%);
322+
background-color: rgba(255,255,255,70%);
323+
color: black;
324+
}
325+
326+
QPlainTextEdit:!enabled{
327+
background-color: rgba(255,255,255,10%);
313328
color: white;
314329
}
315330

@@ -346,7 +361,7 @@ QListView::item:hover {
346361
QComboBox {
347362
background-color: rgba(255,255,255,50%);
348363
selection-background-color: rgba(90,90,90,100%);
349-
selection-color: white;
364+
selection-color: cyan;
350365
border: 1px solid gray;
351366
border-radius: 3px;
352367
padding: 0px 0px 0px 0px;
@@ -368,11 +383,13 @@ QComboBox::down-arrow:!enabled {
368383

369384
QComboBox QAbstractItemView {
370385
/*background-color: rgba(255,255,255,50%);*/
386+
background-color: rgba(0,0,0,100%);
371387
padding-left: 5px;
388+
border: 1px solid gray;
372389
}
373390

374391
QComboBox QAbstractItemView::item {
375-
/*background-color: rgba(255,255,255,50%);*/
392+
background-color: rgba(0,0,0,100%);
376393
min-height: 25px;
377394
}
378395

@@ -398,6 +415,7 @@ QPushButton:hover{
398415
background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #295d80, stop: 1 #173448);/*qlineargradient(x1:0, y1:0, x2:1, y2:1, stop:0 #173448, stop: 0.2 rgb(200,200,200), stop:1 #173448);*/
399416
border: 2px solid #3286bf /*rgb(186, 186, 186)*/;
400417
border-radius: 5px;
418+
font-weight: bold;
401419
}
402420

403421
QPushButton:!enabled{
@@ -653,18 +671,19 @@ QLabel#lblTitle{
653671
color: cyan;
654672
}
655673

656-
QLabel#lblWarning, QLabel#lblWarning2{
674+
QLabel#lblWarning, QLabel#lblWarning2, QLabel#lblDeviceRegisterKeyValue{
657675
font-weight: bold;
658676
font-size: 14px;
659677
color: orange;
660678
}
661679

662680

663-
/* Customizations for LoginDialog */
681+
/* Customizations for LoginDialog / WebLoginDialog */
664682
QFrame#frameLogos{background-color:rgba(200,200,200,100%);}
665683
QLabel#lblMessage{color:white;}
666684
QFrame#frameMessage{background-color: transparent;}
667-
QFrame#frameButtons{background-color:rgba(29,29,29,50%);}
685+
QFrame#frameButtons,QFrame#frameLoginMessages{background-color:rgba(29,29,29,50%);}
686+
QLabel#lblError{color: orange;}
668687

669688
/* Customizations for MainWindow */
670689
QMainWindow{background-image: url(://TeRA_Background.png); background-color: #2c3338;}
@@ -720,6 +739,7 @@ QPushButton#btnEditUser,QPushButton#btnConfig {
720739
background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 rgba(100,100,100,100%), stop: 1 rgba(148,148,148,100%));
721740
border: 1px solid rgba(148,148,148,100%);
722741
min-width: 0px;
742+
color: black;
723743
}
724744

725745
QPushButton#btnEditUser:hover,QPushButton#btnConfig:hover{
@@ -734,7 +754,7 @@ QToolButton#btnVideo:!checked, QToolButton#btnLog:!checked, QToolButton#btnFilte
734754
border-radius: 5px;
735755
}
736756

737-
QToolButton#btnLog:!checked, QToolButton#btnInSessionInfos:!checked, QToolButton#btnPause:!checked{
757+
QToolButton#btnLog:!checked, QToolButton#btnInSessionInfos:!checked, QToolButton#btnPause:!checked, QToolButton#btnEdit:!checked{
738758
color:white;
739759
background-color: transparent;
740760
border: 0px;
@@ -923,3 +943,9 @@ QPushButton#btnDefaultPath, QPushButton#btnBrowseSavePath{
923943
QWidget#line{
924944
background-color: #808080;
925945
}
946+
947+
QTextEdit#txtDefinition{
948+
background-color: rgba(255,255,255,30%);
949+
color: black;
950+
}
951+

0 commit comments

Comments
 (0)