Icons, mainly for new launcher ( refs #507 )

Adjusted style sheets (qss) and resource files
This commit is contained in:
Klaus Basan
2015-11-11 04:48:13 +01:00
committed by Mathew Sutcliffe
parent 06343c36bf
commit 63e1695e3b
37 changed files with 50 additions and 80 deletions

View File

@@ -29,7 +29,7 @@ QMainWindow::separator:hover {
background: transparent;
}
/** Main window **/
/** Dialog, sometime main window **/
QDialog {
background-image: url(:/textures/icons/textures/texture-outer.jpg);
background-color: darkslategray;
@@ -113,27 +113,23 @@ BlackGui--Editors--CValidationIndicator {
/** default for buttons **/
QPushButton {
/** background-image: url(:/textures/icons/textures/texture-inner.jpg); **/
/** need to fix pressed button first **/
background: black;
border-style: solid;
border-width: 1px;
border-radius:6px;
border-color: green;
max-height:20px;
background-color: rgba(0, 0, 255, 128);
border-style: 1px solid yellow;
border-radius:3px;
color: yellow;
padding: 0px;
margin-right: 5px;
min-width:60px;
min-height:20px;
}
QPushButton::disabled {
background-color: grey;
border-style: solid;
border-width: 1px;
border-radius:6px;
border-color: green;
max-height:20px;
min-width:60px;
min-height:20px;
border-style: none;
border-radius:3px;
color: white;
padding: 0px;
margin-right: 5px;
}
QProgressBar {
@@ -215,6 +211,7 @@ QLabel {
QToolButton {
background-color: transparent; /* transparent tool buttons */
border: 0px;
}
QLineEdit {
@@ -269,6 +266,10 @@ QToolBox::tab::selected {
background-color: rgba(0, 0, 255, 128);
}
QToolBox::tab::!selected {
background-color: rgba(0, 0, 255, 48);
}
/** no border on page */
QToolBox > QWidget {
border: 0px;

View File

@@ -1,32 +0,0 @@
QFrame#fr_InfoWindow {
border-style: solid;
border-width: 2px;
border-radius: 10px;
border-color: white;
background-color: rgba(0,0,0,200);
}
QStackedWidget {
font-family: arial-rounded;
font: bold 10px;
color: white; /** font not in text edit **/
}
QPushButton {
background-color: transparent;
border-style: solid;
border-width: 0px;
border-radius:3px;
border-color: green;
max-height:20px;
}
QTextEdit {
background-color: rgba(255, 255, 0, 240); /* transparent yellow */
border-style: solid;
border-width:1px;
border-radius:6px;
border-color: green;
opacity: 0.5;
color: black; /** font **/
}

View File

@@ -1,10 +1,3 @@
#le_CommandLineInput {
background-image: url(:/textures/icons/textures/texture-inner.jpg);
margin-bottom: 5px;
padding: 3px;
border-radius: 5px;
}
#comp_Log {
background: transparent; /** background is background color here **/
}

View File

@@ -0,0 +1,18 @@
/** special effects for start buttons **/
#pg_Start QToolButton {
border: 1px solid green;
border-radius: 5px;
}
#pg_Start QToolButton:hover {
border: 5px solid green;
border-radius: 5px;
min-width: 30px;
min-height: 30px;
}
#pg_start QToolTip {
color: #ffffff;
background-color: #2a82da;
border: 1px solid white;
}

View File

@@ -52,15 +52,6 @@ QAbstractScrollArea #pg_StatusPageCons ole { background-color: black; }
background-image: url(:/textures/icons/textures/texture-inner.jpg);
}
#sw_MainMiddle QPushButton {
background-color: rgba(0, 0, 255, 128);
border-style: none;
border-radius:3px;
color: yellow;
padding: 0px;
margin-right: 5px;
}
/** close button with frameless windows **/
#pb_FramelessCloseButton {
background: transparent;
@@ -79,23 +70,20 @@ QAbstractScrollArea #pg_StatusPageCons ole { background-color: black; }
}
#wi_MainKeypadArea QPushButton {
/** background-image: url(:/textures/icons/textures/texture-inner.jpg); **/
/** need to fix pressed button first **/
background: black;
background-color: black;
color: white;
border-style: solid;
border-width: 1px;
border-radius:6px;
border-color: green;
max-height:20px;
min-width:60px;
min-width: 60px;
min-height:20px;
}
#wi_MainKeypadArea QPushButton::checked {
/** background-image: url(:/textures/icons/textures/texture-inner.jpg); **/
/** need to fix pressed button first **/
border-style: solid;
border-color: yellow;
border-color: green;
font: bold;
color: yellow;
}

View File

@@ -263,12 +263,6 @@ namespace BlackGui
return f;
}
const QString &CStyleSheetUtility::fileNameInfoWindow()
{
static const QString f("stylesheetinfo.qss");
return f;
}
const QString &CStyleSheetUtility::fileNameTextMessage()
{
static const QString f("textmessage.css");
@@ -293,6 +287,12 @@ namespace BlackGui
return f;
}
const QString &CStyleSheetUtility::fileNameSwiftLauncher()
{
static const QString f("swiftlauncher.qss");
return f;
}
const QString &CStyleSheetUtility::fileNameIniFile()
{
static const QString f("gui.ini");

View File

@@ -78,9 +78,6 @@ namespace BlackGui
//! File name for standard widgets
static const QString &fileNameStandardWidget();
//! File name maininfoarea.qss
static const QString &fileNameInfoWindow();
//! File name textmessage.qss
static const QString &fileNameTextMessage();
@@ -96,6 +93,9 @@ namespace BlackGui
//! File name swiftcore.qss
static const QString &fileNameSwiftData();
//! File name swiftlauncher.qss
static const QString &fileNameSwiftLauncher();
//! File name ini file
static const QString &fileNameIniFile();

View File

@@ -386,6 +386,8 @@
<file>icons/own/swift/swift128Database.png</file>
<file>icons/own/swift/swift24Database.png</file>
<file>icons/own/swift/swift16Database.png</file>
<file>icons/own/swift/swiftNova64.png</file>
<file>icons/own/swift/swift64.png</file>
</qresource>
<qresource prefix="/qled">
<file>icons/qled/circle_black.svg</file>

Binary file not shown.

After

Width:  |  Height:  |  Size: 40 KiB

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 41 KiB

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 41 KiB

Binary file not shown.

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 195 KiB

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 30 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 44 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 103 KiB

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 20 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 48 KiB

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 221 KiB

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 31 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 35 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 45 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 98 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB