Skip to content

Commit

Permalink
init
Browse files Browse the repository at this point in the history
  • Loading branch information
KostyaSha committed Sep 28, 2020
0 parents commit d250a14
Show file tree
Hide file tree
Showing 55 changed files with 7,080 additions and 0 deletions.
53 changes: 53 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
build/
# C++ objects and libs
*.slo
*.lo
*.o
*.a
*.la
*.lai
*.so
*.so.*
*.dll
*.dylib

# Qt-es
object_script.*.Release
object_script.*.Debug
*_plugin_import.cpp
/.qmake.cache
/.qmake.stash
*.pro.user
*.pro.user.*
*.qbs.user
*.qbs.user.*
*.moc
moc_*.cpp
moc_*.h
qrc_*.cpp
ui_*.h
*.qmlc
*.jsc
Makefile*
*build-*
*.qm
*.prl

# Qt unit tests
target_wrapper.*

# QtCreator
*.autosave

# QtCreator Qml
*.qmlproject.user
*.qmlproject.user.*

# QtCreator CMake
CMakeLists.txt.user*

# QtCreator 4.8< compilation database
compile_commands.json

# QtCreator local machine specific files for imported projects
*creator.user*
8 changes: 8 additions & 0 deletions .idea/.gitignore

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions .idea/bean-cracker.iml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 7 additions & 0 deletions .idea/misc.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions .idea/modules.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions .idea/vcs.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

40 changes: 40 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
cmake_minimum_required(VERSION 3.8)
project(bean-cracker)

set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11")
set(CMAKE_PREFIX_PATH /Users/integer/Qt/5.14.1/clang_64/lib/cmake/)
set(CMAKE_AUTOMOC ON)
set(CMAKE_AUTOUIC ON)
set(CMAKE_AUTORCC ON)
set(CMAKE_INCLUDE_CURRENT_DIR ON)

set(SOURCE_FILES main.cpp
beanpacket.cpp
beanpacketsloggermodel.cpp
beanpacketsloggerheaderview.cpp
beanpacketsloggerwindow.cpp
beanpacketsmonitor.cpp
beanpacketsmonitormodel.cpp
beanpacketsplayermodel.cpp
beanpacketsplayerwindow.cpp
beanpacketssender.cpp
beanpacketssendermodel.cpp
beanpacketwidget.cpp
main.cpp
mainwindow.cpp
)

find_package(Qt5Core REQUIRED)
find_package(Qt5Gui REQUIRED)
find_package(Qt5Widgets REQUIRED)
find_package(Qt5SerialPort REQUIRED)
find_package(Qt5SerialBus REQUIRED)

add_executable(bean-cracker ${SOURCE_FILES} ${SRC} ${UI_HEADERS})

#qt5_use_modules(bean-cracker Core Widgets Gui)

target_link_libraries(${PROJECT_NAME} Qt5::Core)
target_link_libraries(${PROJECT_NAME} Qt5::Gui)
target_link_libraries(${PROJECT_NAME} Qt5::Widgets)
target_link_libraries(${PROJECT_NAME} Qt5::SerialPort)
11 changes: 11 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# bean-cracker
BEAN bus analysing tool

Draft tool for working with BEAN bus.

Consists from:
- monitor
- logger
- sender
- player

76 changes: 76 additions & 0 deletions bean-cracker.pro
Original file line number Diff line number Diff line change
@@ -0,0 +1,76 @@
#-------------------------------------------------
#
# Project created by QtCreator 2020-01-31T16:52:56
#
#-------------------------------------------------

QT += core gui serialport

greaterThan(QT_MAJOR_VERSION, 4): QT += widgets

TARGET = bean-cracker
TEMPLATE = app
macx:ICON = images/bean-cracker.icns
macx:QMAKE_INFO_PLIST = resources/Info.plist

# The following define makes your compiler emit warnings if you use
# any feature of Qt which has been marked as deprecated (the exact warnings
# depend on your compiler). Please consult the documentation of the
# deprecated API in order to know how to port your code away from it.
DEFINES += QT_DEPRECATED_WARNINGS

# You can also make your code fail to compile if you use deprecated APIs.
# In order to do so, uncomment the following line.
# You can also select to disable deprecated APIs only up to a certain version of Qt.
#DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000 # disables all the APIs deprecated before Qt 6.0.0

CONFIG += c++11

SOURCES += \
beanpacketsloggermodel.cpp \
beanpacket.cpp \
beanpacketsloggerheaderview.cpp \
beanpacketsloggerwindow.cpp \
beanpacketsmonitor.cpp \
beanpacketsmonitormodel.cpp \
beanpacketsplayermodel.cpp \
beanpacketsplayerwindow.cpp \
beanpacketssender.cpp \
beanpacketssendermodel.cpp \
beanpacketwidget.cpp \
main.cpp \
mainwindow.cpp

HEADERS += \
beanpacketsloggermodel.h \
beanpacket.h \
beanpacketsloggerheaderview.h \
beanpacketsloggerwindow.h \
beanpacketsmonitor.h \
beanpacketsmonitormodel.h \
beanpacketsplayermodel.h \
beanpacketsplayerwindow.h \
beanpacketssender.h \
beanpacketssendermodel.h \
beanpacketwidget.h \
mainwindow.h

FORMS += \
beanpacketsloggerwindow.ui \
beanpacketsmonitor.ui \
beanpacketsplayerwindow.ui \
beanpacketssender.ui \
beanpacketwidget.ui \
mainwindow.ui


# Default rules for deployment.
qnx: target.path = /tmp/$${TARGET}/bin
else: unix:!android: target.path = /opt/$${TARGET}/bin
!isEmpty(target.path): INSTALLS += target

DISTFILES += \
resources/Info.plist

RESOURCES += \
resources.qrc
Loading

0 comments on commit d250a14

Please sign in to comment.