Prince Gupta
2ab429c8cb
qt: rename Network*Models::parsingPending to loading
3 years ago
Pierre Lamot
6e1e84993f
qml: prefer let & const over var in JS functions
3 years ago
Prince Gupta
1fdb63fc52
qml: fix network drag item cover handling
3 years ago
Prince Gupta
73931a0f7e
qml: show busyindicator with browse header
3 years ago
Prince Gupta
05ff4fc9a9
qml: add header to emptylabelcomponent of BrowseTreeDisplay
3 years ago
Prince Gupta
664c891b8e
qml: use BrowseTreeHeader for table header
3 years ago
Prince Gupta
b9bb2e9966
qml: use BrowseTreeHeader for grid header
3 years ago
Prince Gupta
d7c6d39c87
qml: use MainViewLoader in BrowseTreeDisplay
3 years ago
Pierre Lamot
4df18ea2aa
qml: update import statements to require at least Qt 5.12
3 years ago
Pierre Lamot
fbc8fd3882
qml: expose table headers to accessibility
3 years ago
Pierre Lamot
58248c4ec1
qml: use ColorContext to define colors in the application
4 years ago
Benjamin Arnaud
20894ed37c
qml/BrowseTreeDisplay: Add a small TableView model
4 years ago
Pierre Lamot
5298ac3975
qml: fix icons alignment with texts in the tables header
4 years ago
Benjamin Arnaud
552bced54b
qml/Browse(s): Update paddings implementation
4 years ago
Benjamin Arnaud
16e913456e
qml/TableView(s): Remove 'isPrimary' from models
4 years ago
Benjamin Arnaud
125791ae4c
qml/TableView(s): Switch to column sized models
This enforces the fact that we're using columns instead of absolute width
to define our sizes in TableView(s) models. That way we know we always
respect the grid approach of our UI design.
4 years ago
Benjamin Arnaud
0e535ad849
qml/TableView(s): Switch to sub-model based models
This should improve maintenability and clarity of our TableView models.
It also brings a better modularity when we have different models depending
on the current width of the application, like in MusicTrackListDisplay.
In MusicTracksDisplay we switch to a dedicated sortModel for the SortControl.
Co-authored-by: Pierre Lamot <pierre@videolabs.io>
4 years ago
Prince Gupta
7bb5a39d1b
qml: use ButtonExt instead of TabButtonExt
where TabButtonExt is used as a 'Button'
4 years ago
Benjamin Arnaud
35c5994cf9
qml/BrowseTreeDisplay: Update 'cancelAction' implementation
4 years ago
Benjamin Arnaud
a6316701cd
qml: Rename NetworkBrowseDisplay to BrowseTreeDisplay
4 years ago
Benjamin Arnaud
bab34f45a1
qml/NetworkGridItem: Add the 'ExpandGridView' delegate default properties
4 years ago
Pierre Lamot
bced9c31bb
qml: use image provider to display generic cover in network views
4 years ago
Benjamin Arnaud
5ec8be6cac
qml/NetworkBrowseDisplay: Add file 'size' and 'modified' sorting criterias
4 years ago
Fatih Uzunoglu
1b10576183
qml: don't use GridShadows
5 years ago
Prince Gupta
6d48649055
qml/ExpandGridView: rename delegateModel to selectionDelegateModel
defines property more accurately, also mirrors similar
property in KeyNavigableTableView
5 years ago
Prince Gupta
217c97be25
qml/ExpandGridView: remove selectAll signal
ExpandGridView already has selectionModel just update it directly
5 years ago
Prince Gupta
98ee509255
qml/ExpandGridView: remove updateSelection signal
ExpandGridView already has selectionModel just update it directly
5 years ago
Prince Gupta
ec09f7d787
qml/ListViews: improve context menu popup position
5 years ago
Pierre Lamot
9958d3dbda
qt: move mlitem function on the ML thread
5 years ago
Fatih Uzunoglu
7f2dd9ff09
qt, qml: register I18n as singleton
5 years ago
Fatih Uzunoglu
845085852a
qt, qml: register NavigationHistory as singleton
5 years ago
Prince Gupta
bc616ea2ad
qt: use async API to load item for DragItem
fixes #26149
5 years ago
Prince Gupta
eacabdd650
qml/NetworkBrowseDisplay: fix dragndrop
5 years ago
Pierre Lamot
dbe3eb027c
qml: use MainCtx singleton
5 years ago
Prince Gupta
7ac8ea70bc
qml/NetworkBrowseDisplay: don't use 'variant' as data type in signal
5 years ago
Prince Gupta
2d1e36ccdc
qml/NetworkDisplay: don't access objects out-of-scope
5 years ago
Benjamin Arnaud
700ca96d28
qml/NetworkBrowseDisplay: Fix navigation on the Table view
5 years ago
Benjamin Arnaud
d7188546df
qml/NetworkBrowseDisplay: Add focusReason to browse signal
5 years ago
Benjamin Arnaud
5a3d4c7a6e
qml: Update setCurrentItemFocus implementation
5 years ago
Benjamin Arnaud
e1dbe6feab
qml: Rename 'view.currentItem' to '_currentView'
qml/PlaylistMediaDisplay: Remove unused alias.
qml/MusicAlbums: Remove the _switchExpandItem function.
5 years ago
Benjamin Arnaud
03a7ab8e60
qml: Add reason to forceActiveFocus
5 years ago
Prince Gupta
5604c38850
qml/NetworkBrowseDisplay: remove unnecessary imports
5 years ago
Prince Gupta
dbdfd3a43c
qml/NetworkBrowseDisplay: fix invalid property reference
'parsingPending' property is not available with NetworkDevicesModel
5 years ago
Fatih Uzunoglu
d9974ced63
qml: use proper QtQuick.Layouts version for import
5 years ago
Pierre Lamot
665d32ae42
qml: implement navigation as attached properties
this remove the need for component to inherit from NavigableFocusScope
5 years ago
Pierre Lamot
b63dd02c1a
qml: remove the index argument of NavigableFocusScope callbacks
this is no longer used, 0 was passed a as placeholder in most case
5 years ago
Prince Gupta
d0de31d47f
qml: use hardbounds for main views
for blur effect behind miniplayer, use displaymarginEnd
property and disable clipping in views
fixes #25679
fixes #25678
5 years ago
Prince Gupta
4d6c4a7f60
qml: use cached shadows in GridItem
improves creation time of GridItem
Signed-off-by: Pierre Lamot <pierre@videolabs.io>
5 years ago
Prince Gupta
99915725e1
qml: change itemDoubleClicked signal behaviour in KeyNavigableTableView
don't emit actionForSelection with itemDoubleClicked signal, this makes
table view's itemDoubleClicked signal same as grid item's double clicked
signal
fixes reduntant history point bugs in Album ListView and Genre ListView.
Signed-off-by: Pierre Lamot <pierre@videolabs.io>
6 years ago
Benjamin Arnaud
b270815516
qml: Update the drag and drop implementation
qml/DragItem: Add the 'getSelectedInputItem' function
Signed-off-by: Pierre Lamot <pierre@videolabs.io>
6 years ago