Merge pull request #65 from sophiekovalevsky/icon-app
app: add LibreVNA logo and use it as icon launcher
This commit is contained in:
commit
2529b20429
@ -1,4 +1,5 @@
|
|||||||
# LibreVNA
|

|
||||||
|
|
||||||
**100kHz to 6GHz VNA**
|
**100kHz to 6GHz VNA**
|
||||||
|
|
||||||
This is the improved version of my [first attempt](https://www.github.com/jankae/VNA) at a VNA.
|
This is the improved version of my [first attempt](https://www.github.com/jankae/VNA) at a VNA.
|
||||||
|
@ -298,7 +298,8 @@ FORMS += \
|
|||||||
DISTFILES +=
|
DISTFILES +=
|
||||||
|
|
||||||
RESOURCES += \
|
RESOURCES += \
|
||||||
icons.qrc
|
icons.qrc \
|
||||||
|
resources/librevna.qrc
|
||||||
|
|
||||||
CONFIG += c++17
|
CONFIG += c++17
|
||||||
REVISION = $$system(git rev-parse HEAD)
|
REVISION = $$system(git rev-parse HEAD)
|
||||||
|
@ -78,6 +78,8 @@ AppWindow::AppWindow(QWidget *parent)
|
|||||||
// qDebug().setVerbosity(0);
|
// qDebug().setVerbosity(0);
|
||||||
qDebug() << "Application start";
|
qDebug() << "Application start";
|
||||||
|
|
||||||
|
this->setWindowIcon(QIcon(":/app/logo.png"));
|
||||||
|
|
||||||
parser.setApplicationDescription(qlibrevnaApp->applicationName());
|
parser.setApplicationDescription(qlibrevnaApp->applicationName());
|
||||||
parser.addHelpOption();
|
parser.addHelpOption();
|
||||||
parser.addVersionOption();
|
parser.addVersionOption();
|
||||||
|
BIN
Software/PC_Application/resources/banner.png
Normal file
BIN
Software/PC_Application/resources/banner.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 31 KiB |
9
Software/PC_Application/resources/librevna.desktop
Normal file
9
Software/PC_Application/resources/librevna.desktop
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
[Desktop Entry]
|
||||||
|
Name=LibreVNA GUI
|
||||||
|
Comment=Vector Network Analyzer for LibreVNA board
|
||||||
|
Exec=/opt/LibreVNA-GUI
|
||||||
|
Terminal=false
|
||||||
|
Type=Application
|
||||||
|
StartupNotify=true
|
||||||
|
Categories=Science;Engineering;Electronics
|
||||||
|
Icon=librevna.png
|
BIN
Software/PC_Application/resources/librevna.png
Normal file
BIN
Software/PC_Application/resources/librevna.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 52 KiB |
5
Software/PC_Application/resources/librevna.qrc
Normal file
5
Software/PC_Application/resources/librevna.qrc
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
<RCC>
|
||||||
|
<qresource prefix="/app">
|
||||||
|
<file alias="logo.png">librevna.png</file>
|
||||||
|
</qresource>
|
||||||
|
</RCC>
|
Loading…
Reference in New Issue
Block a user