Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Software Defined Radio
r0tor
Commits
7538840e
Commit
7538840e
authored
Aug 27, 2015
by
andz
Browse files
Initial Softeare commit
parent
240a165c
Changes
9
Hide whitespace changes
Inline
Side-by-side
documents/README
0 → 100644
View file @
7538840e
documents
software/rpi_control/README
0 → 100644
View file @
7538840e
HamBits Control Software for Raspberry Pi
software/rpi_control/src/.gitignore
0 → 100644
View file @
7538840e
# This file is used to ignore files which are generated
# ----------------------------------------------------------------------------
*~
*.autosave
*.a
*.core
*.moc
*.o
*.obj
*.orig
*.rej
*.so
*.so.*
*_pch.h.cpp
*_resource.rc
*.qm
.#*
*.*#
core
!core/
tags
.DS_Store
*.debug
Makefile*
*.prl
*.app
moc_*.cpp
ui_*.h
qrc_*.cpp
Thumbs.db
*.res
*.rc
/.qmake.cache
/.qmake.stash
# qtcreator generated files
*.pro.user*
# xemacs temporary files
*.flc
# Vim temporary files
.*.swp
# Visual Studio generated files
*.ib_pdb_index
*.idb
*.ilk
*.pdb
*.sln
*.suo
*.vcproj
*vcproj.*.*.user
*.ncb
*.sdf
*.opensdf
*.vcxproj
*vcxproj.*
# MinGW generated files
*.Debug
*.Release
# Python byte code
*.pyc
# Binaries
# --------
*.dll
*.exe
software/rpi_control/src/HamBits_PiCrtl.pro
0 → 100644
View file @
7538840e
TEMPLATE
=
app
QT
+=
qml
quick
widgets
SOURCES
+=
main
.
cpp
RESOURCES
+=
qml
.
qrc
#
Additional
import
path
used
to
resolve
QML
modules
in
Qt
Creator
'
s
code
model
QML_IMPORT_PATH
=
#
Default
rules
for
deployment
.
include
(
deployment
.
pri
)
software/rpi_control/src/MainForm.ui.qml
0 → 100644
View file @
7538840e
import
QtQuick
2.5
import
QtQuick
.
Controls
1.4
import
QtQuick
.
Layouts
1.2
Item
{
width
:
640
height
:
480
property
alias
button1
:
button1
property
alias
button2
:
button2
RowLayout
{
anchors.centerIn
:
parent
Button
{
id
:
button1
text
:
qsTr
(
"
Press Me 1
"
)
}
Button
{
id
:
button2
text
:
qsTr
(
"
Press Me 2
"
)
}
}
}
software/rpi_control/src/deployment.pri
0 → 100644
View file @
7538840e
unix:!android {
isEmpty(target.path) {
qnx {
target.path = /tmp/$${TARGET}/bin
} else {
target.path = /opt/$${TARGET}/bin
}
export(target.path)
}
INSTALLS += target
}
export(INSTALLS)
software/rpi_control/src/main.cpp
0 → 100644
View file @
7538840e
#include <QApplication>
#include <QQmlApplicationEngine>
int
main
(
int
argc
,
char
*
argv
[])
{
QApplication
app
(
argc
,
argv
);
QQmlApplicationEngine
engine
;
engine
.
load
(
QUrl
(
QStringLiteral
(
"qrc:/main.qml"
)));
return
app
.
exec
();
}
software/rpi_control/src/main.qml
0 → 100644
View file @
7538840e
import
QtQuick
2.5
import
QtQuick
.
Controls
1.4
import
QtQuick
.
Dialogs
1.2
ApplicationWindow
{
visible
:
true
width
:
640
height
:
480
title
:
qsTr
(
"
Hello World
"
)
menuBar
:
MenuBar
{
Menu
{
title
:
qsTr
(
"
File
"
)
MenuItem
{
text
:
qsTr
(
"
&Open
"
)
onTriggered
:
console
.
log
(
"
Open action triggered
"
);
}
MenuItem
{
text
:
qsTr
(
"
Exit
"
)
onTriggered
:
Qt
.
quit
();
}
}
}
MainForm
{
anchors.fill
:
parent
button1.onClicked
:
messageDialog
.
show
(
qsTr
(
"
Button 1 pressed
"
))
button2.onClicked
:
messageDialog
.
show
(
qsTr
(
"
Button 2 pressed
"
))
}
MessageDialog
{
id
:
messageDialog
title
:
qsTr
(
"
May I have your attention, please?
"
)
function
show
(
caption
)
{
messageDialog
.
text
=
caption
;
messageDialog
.
open
();
}
}
}
software/rpi_control/src/qml.qrc
0 → 100644
View file @
7538840e
<RCC>
<qresource prefix="/">
<file>main.qml</file>
<file>MainForm.ui.qml</file>
</qresource>
</RCC>
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment