Skip to content
This repository has been archived by the owner on Jul 22, 2021. It is now read-only.

Starting from clean slate for the UI #23

Merged
merged 39 commits into from
Jan 4, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
39 commits
Select commit Hold shift + click to select a range
acf367a
Starting from clean slate
DylanVanAssche Dec 22, 2017
5765f25
FirstPage Connection selector
DylanVanAssche Dec 22, 2017
35b8e4c
Enforce gitignore for .pro.user files
DylanVanAssche Dec 22, 2017
7f3805c
FirstPage almost finished
DylanVanAssche Dec 23, 2017
14a15cc
Added GPLv3 license header to all files
DylanVanAssche Dec 23, 2017
8e4709a
Reformatted project file
DylanVanAssche Dec 23, 2017
7880bff
SettingsPage
DylanVanAssche Dec 23, 2017
5da190f
StationSelectorPage
DylanVanAssche Dec 25, 2017
cc44d52
Searching partly works, keyboard loses focus somewhere
DylanVanAssche Dec 25, 2017
c9f7576
Fixed small UI bugs
DylanVanAssche Dec 25, 2017
63c09e4
Bumped version already
DylanVanAssche Dec 25, 2017
465f459
Fixed StationSelectorPage focus loss
DylanVanAssche Dec 26, 2017
e90259a
Small UI bug
DylanVanAssche Dec 26, 2017
3d15f45
improved searching and reduced station map zoom
DylanVanAssche Dec 26, 2017
5f9eb69
Fixed liveboard arrival parsing
DylanVanAssche Dec 26, 2017
b243795
Initial LiveboardPage
DylanVanAssche Dec 26, 2017
a31ccba
Improved LiveBoardPage
DylanVanAssche Dec 26, 2017
e27e5b1
Fixed small bugs + improved LiveboardDelegate
DylanVanAssche Dec 27, 2017
2229b03
Fixed small parsing bugs
DylanVanAssche Dec 27, 2017
68a5636
Moved API instant to harbour-berail file to avoid multiple API instances
DylanVanAssche Dec 27, 2017
4d381a4
Unified GlassButton + initial TripPage
DylanVanAssche Dec 27, 2017
c7ba259
RPM build file delete
DylanVanAssche Dec 27, 2017
e580bbf
TripPage first steps
DylanVanAssche Dec 28, 2017
7c38fba
TripPage improvements
DylanVanAssche Dec 28, 2017
976d23d
First steps to display Vias in TripPage
DylanVanAssche Dec 29, 2017
dfbbef4
Show occupancy level and vias in TripPage
DylanVanAssche Dec 31, 2017
076fc5a
Use SVG images for occupancy
DylanVanAssche Dec 31, 2017
1548a8c
Reformatted GlassButton and GlassStationButton
DylanVanAssche Dec 31, 2017
728f506
Recent connections added
DylanVanAssche Jan 1, 2018
8791908
Touchhint Liveboard + fixed Disturbances text trunication
DylanVanAssche Jan 1, 2018
505887f
Fixed sorting for stations
DylanVanAssche Jan 2, 2018
3d2f9b2
Several bugfixes, improved error handling, init network recovery
DylanVanAssche Jan 3, 2018
990fe6c
Bugfixes, splitted Stop into subclasses
DylanVanAssche Jan 3, 2018
7cf987d
Added network recovery using DBus
DylanVanAssche Jan 3, 2018
be59bd7
Alert the user when via is missed
DylanVanAssche Jan 3, 2018
3d6fe2b
Added beta version of the 'walking' parameter
DylanVanAssche Jan 3, 2018
d2f3b18
Vehicle from Liveboard
DylanVanAssche Jan 4, 2018
02f56c9
Fixed several imports in RELEASE mode
DylanVanAssche Jan 4, 2018
a7d4845
Removed .pro.user file
DylanVanAssche Jan 4, 2018
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -37,3 +37,6 @@ Makefile*
# QtCtreator CMake
CMakeLists.txt.user*

#Enforce .pro.user ignore
harbour-berail.pro.user

113 changes: 64 additions & 49 deletions harbour-berail.pro
Original file line number Diff line number Diff line change
@@ -1,13 +1,19 @@
# NOTICE:
#
# Application name defined in TARGET has a corresponding QML filename.
# If name defined in TARGET is changed, the following needs to be done
# to match new name:
# - corresponding QML filename must be changed
# - desktop icon filename must be changed
# - desktop filename must be changed
# - icon definition filename in desktop file must be changed
# - translation filenames have to be changed
# This file is part of BeRail.
#
# BeRail is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# BeRail is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with BeRail. If not, see <http://www.gnu.org/licenses/>.
#

# The name of your application
TARGET = harbour-berail
Expand All @@ -18,34 +24,6 @@ QT += core \
network \
positioning

SOURCES += src/harbour-berail.cpp \
src/logger.cpp \
src/os.cpp \
src/api.cpp \
src/models/station.cpp \
src/models/alert.cpp \
src/models/disturbances.cpp \
src/models/liveboard.cpp \
src/models/vehicle.cpp \
src/models/stop.cpp \
src/models/connection.cpp \
src/models/via.cpp \
src/models/enum.cpp \
src/models/alertlistmodel.cpp \
src/models/stoplistmodel.cpp \
src/models/vehiclelistmodel.cpp \
src/models/stationlistmodel.cpp \
src/models/connectionlistmodel.cpp \
src/models/vialistmodel.cpp

OTHER_FILES += qml/harbour-berail.qml \
qml/cover/CoverPage.qml \
qml/pages/FirstPage.qml \
rpm/harbour-berail.spec \
rpm/harbour-berail.yaml \
translations/*.ts \
harbour-berail.desktop

# OS module notification support
PKGCONFIG += nemonotifications-qt5
QT += dbus
Expand All @@ -59,15 +37,13 @@ DEFINES += APP_VERSION=\"\\\"$${VERSION}\\\"\"

SAILFISHAPP_ICONS = 86x86 108x108 128x128 256x256

# to disable building translations every time, comment out the
# following CONFIG line
CONFIG += sailfishapp_i18n
# Enable translations
CONFIG += sailfishapp_i18n \
sailfishapp_i18n_idbased \
sailfishapp_i18n_unfinished

# German translation is enabled as an example. If you aren't
# planning to localize your app, remember to comment out the
# following TRANSLATIONS line. And also do not forget to
# modify the localized app name in the the .desktop file.
TRANSLATIONS += translations/harbour-berail-de.ts \
TRANSLATIONS += translations/harbour-berail.ts \
translations/harbour-berail-de.ts \
translations/harbour-berail-nl.ts

DISTFILES += \
Expand All @@ -85,10 +61,8 @@ DISTFILES += \
qml/pages/StationListPage.qml \
qml/pages/js/util.js \
qml/pages/DatePickerPage.qml \
qml/pages/TripPage.qml \
qml/pages/components/TripItem.qml \
qml/pages/js/trip.js \
qml/pages/TripDetailPage.qml \
qml/pages/components/LiveBoardItem.qml \
qml/pages/components/CancelOverlay.qml \
qml/pages/js/liveboard.js \
Expand All @@ -98,7 +72,10 @@ DISTFILES += \
qml/pages/js/disturbances.js \
qml/pages/components/DisturbancesView.qml \
qml/pages/DisturbancesPage.qml \
qml/pages/SettingsPage.qml
qml/pages/SettingsPage.qml \
translations/harbour-berail-en.ts \
qml/components/GlassStationButton.qml \
qml/pages/TripDetailHeader.qml

RESOURCES += \
qml/resources/resources.qrc
Expand All @@ -121,4 +98,42 @@ HEADERS += \
src/models/vehiclelistmodel.h \
src/models/stationlistmodel.h \
src/models/connectionlistmodel.h \
src/models/vialistmodel.h
src/models/vialistmodel.h \
src/models/announcements.h \
src/models/remarks.h \
src/models/stationlistmodelfilter.h \
src/models/stopvia.h \
src/models/stopabstract.h

SOURCES += src/harbour-berail.cpp \
src/logger.cpp \
src/os.cpp \
src/api.cpp \
src/models/station.cpp \
src/models/alert.cpp \
src/models/disturbances.cpp \
src/models/liveboard.cpp \
src/models/vehicle.cpp \
src/models/stop.cpp \
src/models/connection.cpp \
src/models/via.cpp \
src/models/enum.cpp \
src/models/alertlistmodel.cpp \
src/models/stoplistmodel.cpp \
src/models/vehiclelistmodel.cpp \
src/models/stationlistmodel.cpp \
src/models/connectionlistmodel.cpp \
src/models/vialistmodel.cpp \
src/models/announcements.cpp \
src/models/remarks.cpp \
src/models/stationlistmodelfilter.cpp \
src/models/stopvia.cpp \
src/models/stopabstract.cpp

OTHER_FILES += qml/harbour-berail.qml \
qml/cover/CoverPage.qml \
qml/pages/FirstPage.qml \
rpm/harbour-berail.spec \
rpm/harbour-berail.yaml \
translations/*.ts \
harbour-berail.desktop
Loading