miruka
82edb4fc29
Fix HListView delegate height bug
...
Remove the populate transition animation, responsible for the glitch
where items overlap each others
2019-05-17 15:18:46 -04:00
miruka
5ab588f40c
Prevent RoomEventDelegate startup position glitch
2019-05-17 14:24:03 -04:00
miruka
19c69b406a
Fix room banners height
2019-05-16 15:57:09 -04:00
miruka
532e5a4375
Make RoomCategoryDelegate expand icons smaller
2019-05-16 15:53:17 -04:00
miruka
7f3ced682f
Fix RoomHeader title width calculation
2019-05-16 15:50:14 -04:00
miruka
1c24edb166
Fix filter members field after switching room
2019-05-16 15:47:14 -04:00
miruka
5ab13e3e16
Improve SortProxyFilter, room members filtering
...
- Simplify SortProxyFilter
- Better custom filtering algorithm
- Rename "ascending" (default True) to "reverse" (default False)
- Add "Filter members" field to RoomSidePane MembersView
2019-05-16 15:39:44 -04:00
miruka
41fdd19d2c
Fix messages avatar size
2019-05-15 17:01:58 -04:00
miruka
07d0515731
Sort/filter room members based on display name
2019-05-15 16:46:56 -04:00
miruka
68b6899de1
Add sortedMembers to Room ListItems
2019-05-15 15:59:43 -04:00
miruka
c67e1bfc79
Fix hiding members pane not giving space to chat
2019-05-15 02:25:40 -04:00
miruka
2a687f8eee
Standardize animation durations
2019-05-14 15:15:10 -04:00
miruka
20f8e83a01
Fix RoomSidePane hide animation being too quick
2019-05-14 15:07:43 -04:00
miruka
2da7214af1
HListView component with animations
2019-05-13 13:15:03 -04:00
miruka
4024eee460
Animate HButton color changes
2019-05-13 12:50:04 -04:00
miruka
f2c84d5260
Snap to buttons width → restores auto-sizing
2019-05-13 12:37:35 -04:00
miruka
645aa73183
Allow quick hiding/expanding of RoomSidePane
...
by clicking the button corresponding to the currently active view
2019-05-13 12:02:52 -04:00
miruka
125a70bea6
Make RoomSidePane follow buttons size again
...
Also add selected button color
2019-05-13 10:52:26 -04:00
miruka
ca6c55a3e7
Fix MembersView ListView being too wide
2019-05-12 21:36:08 -04:00
miruka
7e44134dfc
Fix RoomHeader buttons not taking enough height
2019-05-12 21:29:52 -04:00
miruka
fa12d3f4ec
Adjust RoomSidePane autosize max width
...
Set it to the RoomHeader's buttons implicitWidth
2019-05-12 19:03:51 -04:00
miruka
b35e635be4
RoomHeader buttons and RoomSidePane size/collapse
...
RoomSidePane's size and collapsing is not bound anymore to the
RoomHeader buttons.
2019-05-12 19:01:02 -04:00
miruka
b9b6d2fcb3
Animate SidePane width only when collapsing
...
To avoid RoomHeaderButton collapse bug due to the "slowly" changing
Chat width.
2019-05-12 16:28:48 -04:00
miruka
46d5704eb6
RoomSidePane: respect user manual resizing
2019-05-12 16:01:18 -04:00
miruka
f9a5902545
Improve SidePane auto-sizing and appearance
2019-05-12 15:57:18 -04:00
miruka
97c1dda4ba
Add a basic member list pane to rooms
2019-05-12 13:17:42 -04:00
miruka
8f965a3e72
Remove blur effect, causes too much trouble
2019-05-11 17:51:49 -04:00
miruka
d82cb50e30
Implement room filtering
2019-05-11 17:13:53 -04:00
miruka
bbc4c15ad3
Rework Backend, models and items organization
2019-05-11 15:52:56 -04:00
miruka
7b3b886f10
Show banner when unverified devices in room
...
The banner replaces the SendBox, to prevent sending messages when nio
will raise an OlmTrustError.
2019-05-08 13:45:25 -04:00
miruka
af8c0c6811
HButton: reduce hover/press overlay opacity
2019-05-08 13:26:10 -04:00
miruka
ca04e4c4a4
Message/EventContent delegates improvements
...
- Rectangle > Column > Labels instead of ColumnLayout > Labels with
rectangle backgrounds hack
- Use basic Row and Column instead of Layouts, for simplicity and
performance
- Get rid of a binding loop that happened sometimes when local echo icon
disappeared
- Max bubble width when lots of screen space available
now depends on font size, instead of always being 600
2019-05-08 11:18:22 -04:00
miruka
15da828c70
Pass a store dir path to nio HttpClient
2019-05-06 22:42:48 -04:00
miruka
a9964ab0f9
Fix roomCategoryDelegate height stuck to 0
2019-05-06 21:37:34 -04:00
miruka
eab5ae0afe
Fix sendbox enter not working
2019-05-06 21:07:59 -04:00
miruka
55e701c24d
Improve sidePane expand toggle buttons
...
Animate them, use an icon that makes more sense, have a componant file
2019-05-06 20:37:41 -04:00
miruka
25bb082f5a
Fix invisible room categories still taking space
2019-05-06 14:20:43 -04:00
miruka
d6714141e0
Update chatPage properly when roomCategory changes
2019-05-06 14:06:28 -04:00
miruka
cdf6190cba
Fix room sorting for good
...
Do it the right way with a QSortFilterProxyModel.
2019-05-06 13:07:00 -04:00
miruka
6bc6998fde
Bring back clipping for RoomEventsList
2019-05-02 15:09:17 -04:00
miruka
51386821bc
Make clientManager easier to use
...
- Backend.clientManager renamed to Backend.clients
- clientManager is now a Mapping subclass
Before/After from Python:
backend.clientManager.clients[thing] → backend.clients[thing]
From QML:
Backend.clientManager.clients[thing] → Backend.clients.get(thing)
2019-05-02 14:58:42 -04:00
miruka
52d538e995
Merge Backend and QMLModels
...
Backend.models.accounts → Backend.accounts
Backend.models.roomEvents → Backend.roomEvents
2019-05-02 14:31:47 -04:00
miruka
047225fded
Rework models hierarchy, room categories models
2019-05-02 14:20:21 -04:00
miruka
92b3baa012
Set background image sourceSize to screen size
...
Saves memory for most displays
2019-05-01 03:25:58 -04:00
miruka
3299aefaf1
Fix Engine.app_dir and leftover Backend.pdb()
...
Use __file__ instead of sys.argv[0] to determine the current script's
path, which works correctly when importing the package from another dir
2019-05-01 01:32:06 -04:00
miruka
12ce4cdb30
Rework startup and Application-Engine relation
...
- Application and Engine will be started by __init__.run() independently
- Exiting app will disconnect clients
- Signals like SIGINT (Ctrl-C) are now handled for proper exit
2019-05-01 01:23:38 -04:00
miruka
5ad13aed7d
Same avatar-content spacing for events and msgs
2019-04-29 23:58:17 -04:00
miruka
012e89f6cb
Improved ListModel and ListItem
...
- New ListItem implemented using a metaclass, which makes defining new
ListItem subclasses much cleaner and shorter
- ListModel functions taking an index now accept either an int
(list index) or str (value of a main key)
- getWhere() gone, simply use get(a_main_key_value) now
- updateOrAppendWhere replaced by update()/upsert()
2019-04-29 23:51:37 -04:00
miruka
67c3ef5906
Disable QML cache, responsible of multiple bugs
2019-04-28 20:37:11 -04:00
miruka
c4fb0c1150
Fix SidePane indent at minimum size
2019-04-28 15:52:26 -04:00