This repository has been archived by the owner on Oct 11, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 44
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Real time Dashboard (Qt) log: add software
- Loading branch information
Showing
2 changed files
with
81 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
package: | ||
id: io.github.CuteBoard | ||
name: CuteBoard | ||
version: 0.2.0 | ||
kind: app | ||
description: | | ||
Real time Dashboard (Qt) | ||
runtime: | ||
id: org.deepin.Runtime | ||
version: 23.0.0 | ||
|
||
|
||
source: | ||
kind: git | ||
url: https://github.com/BrnSlr/CuteBoard.git | ||
commit: 00beb783e234c9a08f9a53baa0fe10744452f755 | ||
patch: patches/0001-fix.patch | ||
|
||
build: | ||
kind: qmake |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,60 @@ | ||
From efccbe49b9fd36deaf2f7cc069469d6b7a912206 Mon Sep 17 00:00:00 2001 | ||
From: van <[email protected]> | ||
Date: Mon, 22 Apr 2024 21:01:03 +0800 | ||
Subject: [PATCH] fix | ||
|
||
--- | ||
CuteBoard.pro | 6 ++++++ | ||
app/CuteBoard.desktop | 2 +- | ||
data_sources/DemoDataSource/demoparameter.cpp | 4 ++-- | ||
3 files changed, 9 insertions(+), 3 deletions(-) | ||
|
||
diff --git a/CuteBoard.pro b/CuteBoard.pro | ||
index b266e45..470efea 100644 | ||
--- a/CuteBoard.pro | ||
+++ b/CuteBoard.pro | ||
@@ -9,3 +9,9 @@ SUBDIRS += \ | ||
ui \ | ||
elements \ | ||
app | ||
+ | ||
+dekstop.files = app/CuteBoard.desktop | ||
+desktop.path = $$DATADIR/applications/ | ||
+icon.files = app/resources/logo/cuteboard.png | ||
+icon.path= $$DATADIR/icons/ | ||
+INSTALLS += desktop icon | ||
\ No newline at end of file | ||
diff --git a/app/CuteBoard.desktop b/app/CuteBoard.desktop | ||
index b4f97f1..743fb06 100644 | ||
--- a/app/CuteBoard.desktop | ||
+++ b/app/CuteBoard.desktop | ||
@@ -3,5 +3,5 @@ Type=Application | ||
Name=CuteBoard | ||
Comment=Real Time Dashboard | ||
Exec=CuteBoard | ||
-Icon=empty | ||
+Icon=cuteboard | ||
Categories=Office; | ||
diff --git a/data_sources/DemoDataSource/demoparameter.cpp b/data_sources/DemoDataSource/demoparameter.cpp | ||
index 209b56d..2ac90ad 100644 | ||
--- a/data_sources/DemoDataSource/demoparameter.cpp | ||
+++ b/data_sources/DemoDataSource/demoparameter.cpp | ||
@@ -89,13 +89,13 @@ DataValue DemoParameter::updateParameter(double timeSec) | ||
{ | ||
int64_t val; | ||
updateValue(timeSec, val); | ||
- return DataValue(val); | ||
+ return DataValue((qint64)val); | ||
} | ||
case DataValue::TYPE_UINT64: | ||
{ | ||
uint64_t val; | ||
updateValue(timeSec, val); | ||
- return DataValue(val); | ||
+ return DataValue((quint64)val); | ||
} | ||
case DataValue::TYPE_DOUBLE: | ||
{ | ||
-- | ||
2.33.1 | ||
|