--User changes

-Fix stylesheets.
-Make various fields in the options window be resettable via double click.
-Get stylesheets working properly on Windows and Linux with Qt6.
-Set default style to Fusion.

--Code changes
-Get build and deployment scripts working with latest versions of Qt6, AppImage, and various library dependencies.
-Add two new macros so it would build with the latest gcc: SINGLETON_DERIVED_DECL_T and SINGLETON_DERIVED_IMPL_T.
-Small changes to opencl.hpp.
-Center progress bars on Linux.
-Proper sizing of vertical header on the xaos visualization table on Linux.
This commit is contained in:
Person
2023-06-22 19:25:53 -06:00
parent 6b641d233d
commit 484b2e3123
20 changed files with 843 additions and 765 deletions

View File

@ -4,12 +4,12 @@ You should keep this at the top of whatever custom style you make to ensure the
/*
QTabBar::tab { height: 4ex; }
*/
/*
/*For some reason the font changes if you set any style. Set this to whatever font is the default on your system*/
*
{
font: 8pt "MS Shell Dlg 2";/*For some reason the font changes if you set any style. Set this to whatever font is the default on your system*/
font: 8pt "MS Shell Dlg 2";
}
*/
/*This is needed to give the labels on the status bar some padding.*/
QStatusBar QLabel { padding-left: 2px; padding-right: 2px; }
@ -135,7 +135,7 @@ QCheckBox::indicator:enabled:checked,
QTableView::indicator:enabled:checked
{
background-color: lightgray;
image: url(:/Fractorium/Icons/checkbox_checked.png);
image: url(:/Fractorium/Icons/checkbox_checked.png);
}
QCheckBox::indicator:disabled:unchecked,
@ -149,7 +149,7 @@ QCheckBox::indicator:disabled:checked,
QTableView::indicator:disabled:checked
{
background-color: gray;
image: none;
image: none;
}
QRadioButton::indicator:checked
@ -215,9 +215,9 @@ QComboBox::item:selected
QComboBox QAbstractItemView
{
border: 1px solid gray;
border: 1px solid gray;
outline: none;
selection-background-color: darkgray;
selection-background-color: darkgray;
}
QTableView QComboBox
@ -244,9 +244,9 @@ QProgressBar
{
color: black;
background-color: gray;
border: 0px none gray;
border: 0px none gray;
border-radius: 3px;
text-align: center;
text-align: center center;
}
QProgressBar::chunk
@ -297,8 +297,8 @@ QGroupBox
{
padding-top: 3px;
border: 2px solid gray;
border-radius: 4px;
margin-top: 3ex;
border-radius: 4px;
margin-top: 3ex;
}
QGroupBox::title
@ -353,7 +353,7 @@ QTreeView::item:selected
QTreeView::branch:!has-children
{
background: rgb(53, 53, 53);
background: rgb(53, 53, 53);
}
QTreeView::branch:has-children:closed
@ -459,7 +459,7 @@ QScrollBar::vertical
QScrollBar::handle::vertical
{
background-color: gray;
background-color: gray;
border-top: 1px solid darkgray;
border-bottom: 1px solid darkgray;
min-height: 20px;
@ -485,15 +485,15 @@ QScrollBar::sub-line::vertical
QScrollBar::up-arrow::vertical, QScrollBar::down-arrow::vertical
{
border: 2px solid darkgray;
width: 5px;
height: 12px;
background-color: gray;
border: 2px solid darkgray;
width: 5px;
height: 12px;
background-color: gray;
}
QScrollBar::add-page::vertical, QScrollBar::sub-page::vertical, QScrollBar::add-page::horizontal, QScrollBar::sub-page::horizontal
{
background-color: darkgray;
background-color: darkgray;
}
QScrollBar::horizontal
@ -532,10 +532,10 @@ QScrollBar::sub-line::horizontal
QScrollBar::left-arrow::horizontal, QScrollBar::right-arrow::horizontal
{
border: 2px solid darkgray;
width: 12px;
height: 5px;
background-color: gray;
border: 2px solid darkgray;
width: 12px;
height: 5px;
background-color: gray;
}
QMenu::separator