LaShonda Hopper
33c8e90e34
[QML] Fixes FogBugz Case 6107: Can't sort on import menu (details below).
...
Looking through the log revealed the following warning:
".../qml/dialogs/FileDialog.qml:489: Error: Cannot assign to non-existent property 'sortOrder'"
There was some refactoring to address some HMD functionality in 51b44d90
which resulted in an update to fileTableView's model. This appears to be the point
at which sorting stopped working.
This updates the fileTableView's sorting methods to use fileTableModel as opposed
to fileTableView's model(filesModel). This appears safe given fileTableModel internally wraps
around filesModel and is responsible for updating its value. I'm relatively new
to QML/Qt; any comments or suggestions are welcome.
Tagging @vladest since they may want to be aware given 51b44d90
.
Case Link:
https://highfidelity.fogbugz.com/f/cases/6107
Reviewed-by: Leander Hasty <leander@1stplayable.com>
Changes Committed:
modified: interface/resources/qml/dialogs/FileDialog.qml
2017-09-13 16:25:36 -04:00
Vladyslav Stelmakhovskyi
51b44d9021
Implement same for HMD mode
2017-06-28 16:36:25 +02:00
howard-stearns
e7392acb10
directory picker works when choosing the initial value
2016-10-17 13:50:23 -07:00
David Rowe
31b35f0a35
Only raise keyboard if in HMD display mode
2016-10-12 09:43:33 +13:00
David Rowe
827c2b015b
Update other dialogs to use single keyboard QML file
2016-10-09 11:52:30 +13:00
David Rowe
b954852ba9
Use temporary copy of keyboard QML file while refactoring
2016-10-08 15:23:11 +13:00
David Rowe
302c8ede60
Miscellaneous fixes
2016-09-26 15:34:39 +13:00
David Rowe
023efe05f0
Move keyboard QML files
2016-09-25 09:54:48 +13:00
Seth Alves
b841e3094d
qml keyboard for file dialog
2016-09-12 16:23:05 -07:00
SamGondelman
9903e464d8
fix error in FileDialog.qml
2016-09-06 17:36:53 -07:00
David Rowe
800c2b9ec0
Refresh file dialog when directory content changes
2016-07-30 11:21:40 +12:00
David Rowe
759b3065fc
Distinguish between file name and directory as prompt in file chooser
2016-06-30 20:48:19 +12:00
howard-stearns
8421931c56
Merge branch 'master' of https://github.com/highfidelity/hifi into vive-ui
2016-06-21 14:47:45 -07:00
Bradley Austin Davis
71bf9384ce
Merge remote-tracking branch 'upstream/master' into vive-ui
2016-06-15 10:45:51 -07:00
David Rowe
3c2b98b15a
Let user choose an existing file in the file save dialog
2016-06-15 11:28:38 +12:00
Brad Davis
0ddee876c3
Merge remote-tracking branch 'upstream/master' into vive-ui
2016-06-13 13:03:46 -07:00
David Rowe
f7578f084f
Fix buttons on warning message box when can't export a file
2016-06-13 15:21:59 +12:00
David Rowe
546699da03
When choosing a directory default selection to default directory
2016-06-13 15:06:10 +12:00
David Rowe
cf6945b403
Fix selecting directory directly from dropdown
2016-06-09 17:11:00 +12:00
David Rowe
4176940e24
Don't highlight first drive in table when choose "This PC" from dropdown
2016-06-09 17:02:43 +12:00
David Rowe
d346d4c731
When choosing a directory make the dropdown update the path value
2016-06-09 16:41:51 +12:00
David Rowe
b4543cc579
Unhighlight directory in table when type filename to save
2016-06-09 16:29:15 +12:00
David Rowe
0ef13e6c01
Fix action button label to be "Save" when saving a file
2016-06-09 15:15:31 +12:00
David Rowe
4ae018400d
Give table focus after using dropdown
2016-06-09 15:15:30 +12:00
David Rowe
358355cfbf
Clear file selection and disabled Open button when change directory
2016-06-09 15:15:29 +12:00
Brad Davis
8c13ff4ee1
Pinned UI support
2016-06-02 17:24:25 -07:00
David Rowe
b65938b631
Adjust default and minimum sizes
2016-06-01 16:23:26 +12:00
David Rowe
c4aed1ce06
Remove "Open Folder" button
2016-06-01 16:16:08 +12:00
David Rowe
4da1c0ac4d
Click on blank part of dialog to deselect item
2016-06-01 14:25:07 +12:00
David Rowe
eddfe4847a
Select nothing by default when navigate up/down directory structure
2016-06-01 14:22:54 +12:00
David Rowe
437607998f
Adjust minimum size of file browser dialog to keep all buttons visible
2016-05-30 14:20:13 +12:00
David Rowe
fd467caf86
Add "Open Folder" button to file browser dialog
2016-05-30 14:19:25 +12:00
David Rowe
9ec6b77460
Make file browser dialog movable
2016-05-25 13:49:01 +12:00
David Rowe
1c4eed640f
Fix up file browser resize handle and outlining
2016-05-25 13:10:26 +12:00
David Rowe
66a90cc3f8
Make file browser dialog resizable
2016-05-25 11:31:39 +12:00
David Rowe
099a675a18
Remove extra logging
2016-05-24 08:03:29 +12:00
David Rowe
5a27d656c5
Potential OSX fix plus extra logging
2016-05-21 13:03:58 +12:00
David Rowe
b2bbf72be2
Replace drive drop-down plus text field with a paths drop-down
2016-05-20 18:48:51 +12:00
David Rowe
11aeaba114
Capitalize drive letter of chosen file
2016-05-20 11:32:14 +12:00
David Rowe
dac043a52d
Provide navigation up to the PC level to display drives in table
2016-05-20 10:49:38 +12:00
David Rowe
41311bc3df
Finish decoupling FolderListModel
2016-05-19 17:13:07 +12:00
David Rowe
585467094c
Sort files case-insensitively, directories first
2016-05-19 14:16:00 +12:00
David Rowe
862a88cf29
Insert an intermediary ListModel suitable for sorting and drives
2016-05-19 11:29:21 +12:00
David Rowe
551c669883
Move FolderListModel to be stand-alone
2016-05-19 09:24:15 +12:00
David Rowe
e0483585b8
Consistently capitalize drive letter for Windows
2016-05-17 14:43:49 +12:00
David Rowe
1fc3d9229c
Fix initial drive change and go-up not working properly on first screen
2016-05-17 10:51:42 +12:00
David Rowe
14c733cd6e
Make columns sortable
2016-05-14 17:19:18 +12:00
David Rowe
c21087ad87
Add icon to title
2016-05-14 13:04:18 +12:00
David Rowe
3b34b908d7
Tweak level-up and home buttons
2016-05-13 17:39:15 +12:00
David Rowe
7be33a8584
Don't show header or dates and sizes when choosing a directory
2016-05-12 17:25:44 +12:00