From a244324aba1711b6e6b0b7f3c8b0454e7022cfc4 Mon Sep 17 00:00:00 2001 From: Mark Watkins Date: Mon, 26 Dec 2011 01:37:27 +1000 Subject: [PATCH] Reorganize Oximetry bottom panel to make compatible with netbook screens --- Graphs/gGraphView.cpp | 2 +- oximetry.ui | 540 +++++++++++++++++++++++------------------- 2 files changed, 296 insertions(+), 246 deletions(-) diff --git a/Graphs/gGraphView.cpp b/Graphs/gGraphView.cpp index e150c470..66de99d7 100644 --- a/Graphs/gGraphView.cpp +++ b/Graphs/gGraphView.cpp @@ -2490,7 +2490,7 @@ void gGraphView::paintGL() glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT); bool numgraphs=true; - const int animTimeout=400; + const int animTimeout=200; float phase=0; int elapsed=0; diff --git a/oximetry.ui b/oximetry.ui index a7aaca23..54b03ca5 100644 --- a/oximetry.ui +++ b/oximetry.ui @@ -6,8 +6,8 @@ 0 0 - 970 - 439 + 663 + 373 @@ -28,266 +28,316 @@ 0 + frame - - - 0 - 45 - - - - - 16777215 - 45 - - QFrame::StyledPanel QFrame::Raised - + - 4 + 0 - - 4 + + 2 + + + 0 + + + 2 + + + 0 - - - Serial Port + + + 4 - + + + + Date + + + + + + + d/MM/yy h:mm:ss AP + + + + + + + R&eset + + + + + + + Qt::Horizontal + + + QSizePolicy::Fixed + + + + 10 + 20 + + + + + + + + SpO2 + + + + + + + + 0 + 0 + + + + + + + + + 255 + 0 + 0 + + + + + + + + + 255 + 0 + 0 + + + + + + + + + 118 + 118 + 117 + + + + + + + + QFrame::Box + + + QFrame::Sunken + + + 3 + + + QLCDNumber::Flat + + + + + + + Qt::Horizontal + + + QSizePolicy::Fixed + + + + 5 + 20 + + + + + + + + Pulse + + + + + + + + 0 + 0 + + + + + + + + + 85 + 0 + 255 + + + + + + + + + 85 + 0 + 255 + + + + + + + + + 118 + 118 + 117 + + + + + + + + QFrame::Sunken + + + 3 + + + QLCDNumber::Flat + + + + + + + Qt::Horizontal + + + + 40 + 20 + + + + + + + + ... + + + + :/icons/save.png:/icons/save.png + + + + + + + &Open .spo/R File + + + + + + + Serial &Import + + + + + + + + 0 + 0 + + + + &Start Live + + + true + + + + - - - - 120 - 0 - - - - - - - - - - - - :/icons/refresh.png:/icons/refresh.png - - - - - - - - 0 - 0 - - - - &Start - - - true - - - - - - - ... - - - - :/icons/save.png:/icons/save.png - - - - - - - Pulse - - - - - - - - 0 - 0 - - - - - - - - - 255 - 0 - 0 - - - - - - - - - 255 - 0 - 0 - - - - - - - - - 118 - 118 - 117 - - - - - - - - QFrame::Box - - - QFrame::Sunken - - - 3 - - - QLCDNumber::Flat - - - - - - - SpO2 - - - - - - - - 0 - 0 - - - - - - - - - 85 - 0 - 255 - - - - - - - - - 85 - 0 - 255 - - - - - - - - - 118 - 118 - 117 - - - - - - - - QFrame::Sunken - - - 3 - - - QLCDNumber::Flat - - - - - - - Date - - - - - - - d/MM/yy h:mm:ss AP - - - - - - - R - - - - - - - Qt::Horizontal - - - - 59 - 20 - - - - - - - - &Open - - - - - - - &Import - - + + + + + Serial Port + + + + + + + + 120 + 0 + + + + + + + + &Rescan Ports + + + + + + + Qt::Horizontal + + + + 40 + 20 + + + + +