Skip to content

Commit fb6bf46

Browse files
committed
updated logo and docs.
1 parent adf1bf1 commit fb6bf46

8 files changed

Lines changed: 101 additions & 391 deletions

File tree

-403 KB
Loading

data/icons/hicolor/scalable/apps/ro-control-dial-core.svg

Lines changed: 0 additions & 44 deletions
This file was deleted.

data/icons/hicolor/scalable/apps/ro-control-shield-chip.svg

Lines changed: 0 additions & 44 deletions
This file was deleted.
Lines changed: 31 additions & 36 deletions
Loading

src/qml/Main.qml

Lines changed: 31 additions & 131 deletions
Original file line numberDiff line numberDiff line change
@@ -18,37 +18,37 @@ ApplicationWindow {
1818
readonly property bool compactMode: uiPreferences.compactMode
1919
readonly property bool showAdvancedInfo: uiPreferences.showAdvancedInfo
2020
readonly property var theme: darkMode ? ({
21-
window: "#0f1420",
22-
shell: "#111827",
23-
card: "#151d2d",
24-
cardStrong: "#1b263a",
25-
border: "#2c3952",
26-
text: "#edf3ff",
27-
textMuted: "#b6c2d9",
28-
textSoft: "#93a3bd",
29-
accentA: "#6178ff",
30-
accentB: "#22c55e",
31-
accentC: "#ff9f43",
32-
success: "#34d399",
33-
warning: "#f59e0b",
34-
danger: "#ef4444",
35-
successBg: "#133526",
36-
warningBg: "#39290a",
37-
dangerBg: "#36161a",
38-
infoBg: "#14233a",
39-
sidebarBg: "#0d1421",
40-
sidebarText: "#f4f7ff",
41-
sidebarMuted: "#9badc7",
42-
sidebarAccent: "#7f90ff",
43-
sidebarActive: "#172235",
44-
sidebarHover: "#111a2a",
45-
sidebarBorder: "#24324b",
46-
sidebarHint: "#73839b",
47-
topbarBg: "#101826",
48-
topbarChip: "#172235",
49-
topbarValue: "#f4f7ff",
50-
contentBg: "#111827",
51-
contentGlow: "#1a2540"
21+
window: "#0f141b",
22+
shell: "#121821",
23+
card: "#1b2432",
24+
cardStrong: "#212c3d",
25+
border: "#2a3647",
26+
text: "#e7edf6",
27+
textMuted: "#c8d0dd",
28+
textSoft: "#98a6bb",
29+
accentA: "#7b8fff",
30+
accentB: "#2ed0a0",
31+
accentC: "#ffb020",
32+
success: "#32d39c",
33+
warning: "#f0b540",
34+
danger: "#f06d6d",
35+
successBg: "#14392f",
36+
warningBg: "#332a17",
37+
dangerBg: "#391c22",
38+
infoBg: "#26364a",
39+
sidebarBg: "#11161d",
40+
sidebarText: "#eef2f8",
41+
sidebarMuted: "#95a4ba",
42+
sidebarAccent: "#90a1ff",
43+
sidebarActive: "#243146",
44+
sidebarHover: "#1a2330",
45+
sidebarBorder: "#273242",
46+
sidebarHint: "#77879d",
47+
topbarBg: "#1a2330",
48+
topbarChip: "#222d3d",
49+
topbarValue: "#eef2f8",
50+
contentBg: "#11161d",
51+
contentGlow: "#1a2431"
5252
}) : ({
5353
window: "#f3f6fb",
5454
shell: "#edf2f8",
@@ -84,7 +84,6 @@ ApplicationWindow {
8484
})
8585

8686
color: theme.window
87-
property bool infoDialogOpen: false
8887
property bool languageDialogOpen: false
8988

9089
function topBarValue(fallback, preferred) {
@@ -99,14 +98,6 @@ ApplicationWindow {
9998
}
10099
}
101100

102-
onInfoDialogOpenChanged: {
103-
if (infoDialogOpen) {
104-
infoPopup.open();
105-
} else {
106-
infoPopup.close();
107-
}
108-
}
109-
110101
onLanguageDialogOpenChanged: {
111102
if (languageDialogOpen) {
112103
languagePopup.open();
@@ -239,28 +230,6 @@ ApplicationWindow {
239230
}
240231
}
241232

242-
Rectangle {
243-
width: 42
244-
height: 42
245-
radius: 21
246-
color: root.theme.cardStrong
247-
border.width: 1
248-
border.color: root.theme.border
249-
250-
Label {
251-
anchors.centerIn: parent
252-
text: "\u2139"
253-
color: root.theme.text
254-
font.pixelSize: 20
255-
font.weight: Font.Bold
256-
}
257-
258-
MouseArea {
259-
anchors.fill: parent
260-
cursorShape: Qt.PointingHandCursor
261-
onClicked: root.infoDialogOpen = !root.infoDialogOpen
262-
}
263-
}
264233
}
265234
}
266235

@@ -327,75 +296,6 @@ ApplicationWindow {
327296
}
328297
}
329298

330-
Popup {
331-
id: infoPopup
332-
modal: false
333-
focus: true
334-
x: root.width - width - 28
335-
y: 72
336-
width: 360
337-
height: contentColumn.implicitHeight + 32
338-
padding: 0
339-
closePolicy: Popup.CloseOnEscape | Popup.CloseOnPressOutside
340-
onClosed: root.infoDialogOpen = false
341-
342-
background: Rectangle {
343-
radius: 22
344-
color: root.theme.card
345-
border.width: 1
346-
border.color: root.theme.border
347-
}
348-
349-
ColumnLayout {
350-
id: contentColumn
351-
anchors.fill: parent
352-
anchors.margins: 16
353-
spacing: 10
354-
355-
Label {
356-
text: qsTr("Application Info")
357-
color: root.theme.text
358-
font.pixelSize: 20
359-
font.weight: Font.Bold
360-
}
361-
362-
DetailRow {
363-
Layout.fillWidth: true
364-
theme: root.theme
365-
label: qsTr("Application")
366-
value: Qt.application.name + " " + Qt.application.version
367-
}
368-
369-
DetailRow {
370-
Layout.fillWidth: true
371-
theme: root.theme
372-
label: qsTr("OS")
373-
value: systemInfo.desktopEnvironment.length > 0
374-
? systemInfo.osName + " (" + systemInfo.desktopEnvironment + ")"
375-
: systemInfo.osName
376-
}
377-
378-
DetailRow {
379-
Layout.fillWidth: true
380-
theme: root.theme
381-
label: qsTr("GPU")
382-
value: root.topBarValue(qsTr("Unavailable"), nvidiaDetector.gpuName.length > 0 ? nvidiaDetector.gpuName : nvidiaDetector.displayAdapterName)
383-
}
384-
385-
DetailRow {
386-
Layout.fillWidth: true
387-
theme: root.theme
388-
label: qsTr("Driver")
389-
value: root.topBarValue(qsTr("not installed"),
390-
nvidiaDetector.driverVersion.length > 0
391-
? "nvidia-" + nvidiaDetector.driverVersion
392-
: nvidiaUpdater.currentVersion.length > 0
393-
? "nvidia-" + nvidiaUpdater.currentVersion
394-
: "")
395-
}
396-
}
397-
}
398-
399299
Popup {
400300
id: languagePopup
401301
modal: false

src/qml/assets/ro-control-logo.png

-403 KB
Loading

0 commit comments

Comments
 (0)