diff --git a/QtPyLoT.py b/QtPyLoT.py index 5a41557b..b1f872a2 100755 --- a/QtPyLoT.py +++ b/QtPyLoT.py @@ -3172,8 +3172,8 @@ def create_window(): return app, app_created def main(args=None): - #project_filename = None - args.project_filename = 'C:/Shared/AlpArray/alparray_data/project_alparray_test.plp' + project_filename = None + #args.project_filename = 'C:/Shared/AlpArray/alparray_data/project_alparray_test.plp' pylot_infile = None if args: if args.project_filename: diff --git a/pylot/styles/bright.qss b/pylot/styles/bright.qss index 708b9a26..25fdb5c2 100644 --- a/pylot/styles/bright.qss +++ b/pylot/styles/bright.qss @@ -8,7 +8,7 @@ background-color: qlineargradient(spread:pad, x1:0, y1:0, x2:0, y2:1, stop:0 rgb color: rgba(0, 0, 0, 255); } -QWidget:checked{ +QToolBar QWidget:checked{ background-color: transparent; border-color: rgba(230, 230, 230, 255); border-width: 2px; @@ -152,7 +152,7 @@ QTabBar::tab:selected{ background-color:rgba(255, 255, 255, 255); color: rgba(0, 0, 0, 255); border-style:solid; -border-color:rgba(200, 200, 200, 255); +border-color:rgba(255, 255, 255, 255); border-bottom-color: transparent; border-width:1px; padding:5px; @@ -165,7 +165,7 @@ background-color:transparent; QTabWidget::pane{ background-color:rgba(0, 0, 0, 255); border-style:solid; -border-color:rgba(200, 200, 200, 255); +border-color:rgba(255, 255, 255, 255); border-width:1px; } @@ -211,6 +211,11 @@ background-color: rgba(255, 255, 255, 255); border-radius:0; } +QCheckBox{ +background-color:transparent; +border:none; +} + QListWidget{ background-color:rgba(255, 255, 255, 255) } diff --git a/pylot/styles/dark.qss b/pylot/styles/dark.qss index f4a8e447..3caef6ba 100644 --- a/pylot/styles/dark.qss +++ b/pylot/styles/dark.qss @@ -8,7 +8,7 @@ background-color: qlineargradient(spread:reflect, x1:0, y1:0, x2:0, y2:0.5, stop color: rgba(255, 255, 255, 255); } -QWidget:checked{ +QToolBar QWidget:checked{ background-color: transparent; border-color: rgba(100, 100, 120, 255); border-width: 2px; @@ -56,7 +56,7 @@ background-color: qlineargradient(spread:pad, x1:0, y1:0, x2:1, y2:0, stop:0 rgb QToolBar{ background-color: qlineargradient(spread:reflect, x1:0, y1:0, x2:0, y2:0.5, stop:0 rgba(70, 70, 80, 255), stop:1 rgba(60, 60, 70, 255)); border-style:solid; -border-color:rgba(70, 70, 80, 255); +border-color:rgba(80, 80, 90, 255); border-width:1px; } @@ -70,7 +70,7 @@ color: rgba(255, 255, 255, 255); } QTableWidget{ -background-color: rgba(70, 70, 80, 255); +background-color: rgba(80, 80, 90, 255); color:rgba(255, 255, 255, 255); border-color:rgba(255, 255, 255, 255); selection-background-color: rgba(200, 210, 230, 255); @@ -127,7 +127,7 @@ padding: 5px; } QPushButton:pressed{ -background-color: rgba(70, 70, 80, 255); +background-color: qlineargradient(spread:reflect, x1:0, y1:0, x2:0, y2:0.5, stop:0 rgba(80, 80, 90, 255), stop:1 rgba(70, 70, 80, 255)); } *:disabled{ @@ -142,17 +142,17 @@ QTabBar::tab{ background-color:qlineargradient(spread:pad, x1:0, y1:0, x2:0, y2:1, stop:0 rgba(70, 70, 80, 255), stop:1 rgba(60, 60, 70, 255)); color: rgba(255, 255, 255, 255); border-style:solid; -border-color:rgba(60, 60, 70, 255); +border-color:rgba(70, 70, 80, 255); border-bottom-color: transparent; border-width:1px; padding:5px; } QTabBar::tab:selected{ -background-color:rgba(80, 80, 90, 255); +background-color:qlineargradient(spread:pad, x1:0, y1:0, x2:0, y2:1, stop:0 rgba(80, 80, 90, 255), stop:1 rgba(70, 70, 80, 255)); color: rgba(255, 255, 255, 255); border-style:solid; -border-color:rgba(80, 80, 90, 255); +border-color:rgba(70, 70, 80, 255); border-bottom-color: transparent; border-width:1px; padding:5px; @@ -163,18 +163,18 @@ background-color:transparent; } QTabWidget::pane{ -background-color:rgba(255, 255, 255, 255); +background-color:rgba(70, 70, 80, 255); border-style:solid; -border-color:rgba(80, 80, 90, 255); +border-color:rgba(70, 70, 80, 255); border-width:1px; } QTabWidget::tab{ -background-color:rgba(60, 60, 70, 255); +background-color:rgba(70, 70, 80, 255); } QTabWidget > QWidget{ -background-color: rgba(60, 60, 70, 255); +background-color: rgba(70, 70, 80, 255); color: rgba(255, 255, 255, 255); } @@ -206,6 +206,11 @@ color: rgba(255, 255, 255, 255); background-color: rgba(80, 80, 90, 255); } +QCheckBox{ +background-color:transparent; +border:none; +} + QLineEdit{ background-color: rgba(80, 80, 90, 255); border-radius:0;