camper/src
jordi fita mas 94b5faa9d8 Add TimelineModel and use it to feed each TimelineView
I have my doubts whether this model should be QAbstractListModel-derived
or not.  At first i thought i could not be, because i need to be able to
get a “view” (i.e., a [begin, end) pair of iterators) based on the
segment of TimelineView that becomes exposed due to scroll.  However,
QAbstractItemModel::match returns a QModelIndexList, and that could also
be used for the same purpose, except that there is no QDateRange….

Until i have more needs for this model, the current coupling between
TimelineModel and TimelineView is OK, as i do not expect TimelineView to
be used for anything else.

I also renamed CalendarModel to TimelineListModel, since this is the
important part—the timeline—, and there is no “calendar” thing anywhere
in the application—at least, not what traditionally is understood as a
calendar, that is.
2025-01-09 20:08:40 +01:00
..
CMakeLists.txt Add TimelineModel and use it to feed each TimelineView 2025-01-09 20:08:40 +01:00
ErrorNotification.qml Focus on the alert text when there is an error 2024-12-30 10:31:14 +01:00
Expander.qml Add Expander control to show “advanced controls” on login 2024-12-22 04:18:56 +01:00
LoginPage.qml Move the Form role from LoginPage to its ColumnLayout 2024-12-30 10:09:14 +01:00
Main.qml Add automatic login feature 2024-12-27 19:28:31 +01:00
MnemonicAction.qml Add MnemonicLabel and MnemonicAction components 2024-12-21 05:13:46 +01:00
MnemonicLabel.qml Bind MnemonicLabel’s “plain” label to buddy’s Accessible.name 2024-12-30 09:50:36 +01:00
ReservationsPage.qml Add TimelineModel and use it to feed each TimelineView 2025-01-09 20:08:40 +01:00
SelectableLabel.qml Focus on the alert text when there is an error 2024-12-30 10:31:14 +01:00
TimelineDayRow.qml Add TimelineDayRow and set it as header of timeline list 2025-01-08 09:54:13 +01:00
database.cpp List the labels of all lodgings in QML 2024-12-24 03:46:20 +01:00
database.h List the labels of all lodgings in QML 2024-12-24 03:46:20 +01:00
main.cpp List the labels of all lodgings in QML 2024-12-24 03:46:20 +01:00
mnemonicattached.cpp Bind MnemonicLabel’s “plain” label to buddy’s Accessible.name 2024-12-30 09:50:36 +01:00
mnemonicattached.h Bind MnemonicLabel’s “plain” label to buddy’s Accessible.name 2024-12-30 09:50:36 +01:00
timelinedaymodel.cpp Add TimelineDayRow and set it as header of timeline list 2025-01-08 09:54:13 +01:00
timelinedaymodel.h Add TimelineDayRow and set it as header of timeline list 2025-01-08 09:54:13 +01:00
timelinelistmodel.cpp Add TimelineModel and use it to feed each TimelineView 2025-01-09 20:08:40 +01:00
timelinelistmodel.h Add TimelineModel and use it to feed each TimelineView 2025-01-09 20:08:40 +01:00
timelinemodel.cpp Add TimelineModel and use it to feed each TimelineView 2025-01-09 20:08:40 +01:00
timelinemodel.h Add TimelineModel and use it to feed each TimelineView 2025-01-09 20:08:40 +01:00
timelineview.cpp Add TimelineModel and use it to feed each TimelineView 2025-01-09 20:08:40 +01:00
timelineview.h Add TimelineModel and use it to feed each TimelineView 2025-01-09 20:08:40 +01:00