re3Dprinting / touchscreen

GNU Affero General Public License v3.0
3 stars 0 forks source link

Filament-change popups need border #76

Closed jim-thompson closed 4 years ago

jim-thompson commented 4 years ago

In the Lightweight OS, the popups that indicate a filament change don't have a border, so they're hard to distinguish from the underneath screen. Add a border of some kind to the popup.

jim-thompson commented 4 years ago

Stylesheets for Qt don't allow borders to be specified for Dialogs, so created a "border" by adding a QFrame between the QDialog and its contents. The QFrame is inset by two pixels all around. The QDialog has a black background, and the QFrame a standard gray dialog, so the two pixels peeking out all around look like a border.