HeadTracker icon indicating copy to clipboard operation
HeadTracker copied to clipboard

GUI Cleanup & Add Raw Values

Open dlktdr opened this issue 2 years ago • 3 comments

image

Add raw values.

Could still use a stylesheet on the gain sliders so they are more visible

dlktdr avatar Aug 07 '22 07:08 dlktdr

A few points:

  1. The boxes above have white background. This implies the values can edited. Most likely this is not the case. So, a grey bkgr is needed. 2, In Windows (and in many other UIs) enabled controls have white background, disabled or non editable - grey. You need to make the same across all your app. This is not the case now.
  2. Gain sliders cross the blue-gray edge of the background now. They should have their own bkgr that will visually show where their borders are. Before this change the output sliders were there that have very clear visual borders.
  3. Reset Center button should be moved into the "IMU Output - Local Board" group or be a button at the left. It is not part of the settings.

kobelev-tech avatar Aug 08 '22 04:08 kobelev-tech

BG Color changed. Reset Moved, Icon Added.

image

You can play with the sliders in stylesheet.css file to find something you like. It's in root of the zip of the GUI code.

Can use this GUI from actions when it's done compiling. Download from headtracker_win at the bottom. https://github.com/dlktdr/HeadTracker/actions/runs/2815636993

Found this example online, how above photo was taken

QSlider::groove:horizontal {
    border: 1px solid #999999;
    height: 8px; /* the groove expands to the size of the slider by default. by giving it a height, it has a fixed size */
    background: qlineargradient(x1:0, y1:0, x2:0, y2:1, stop:0 #B1B1B1, stop:1 #c4c4c4);
    margin: 2px 0;
}

QSlider::handle:horizontal {
    background: qlineargradient(x1:0, y1:0, x2:1, y2:1, stop:0 #b4b4b4, stop:1 #8f8f8f);
    border: 1px solid #5c5c5c;
    width: 18px;
    margin: -2px 0; /* handle is placed by default on the contents rect of the groove. Expand outside the groove */
    border-radius: 3px;
}

dlktdr avatar Aug 08 '22 05:08 dlktdr

Few more changes.

Connect/Disconnect Button Remove Send Tool tips on lots of items New welcome screen with some basic starting info Reset disable until connected More links under help Re-word File Menu to, Import Settings Export Settings

image

dlktdr avatar Aug 20 '22 23:08 dlktdr