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
miruka
4433e48611
Fix QtQuick.Layout version, MessageContent wrap
2019-04-28 15:45:42 -04:00
miruka
70ca608961
Lower opacity for boxes in HStyle
2019-04-28 15:38:08 -04:00
miruka
ef60a1129f
Clean up QML imports
2019-04-28 15:36:43 -04:00
miruka
f714c85d75
HSpacer component for layouts
2019-04-28 15:22:53 -04:00
miruka
d0089df051
Use Base components without namespace prefix
2019-04-28 15:18:36 -04:00
miruka
89fcfbea82
Colors for controls and PaneToolBar
2019-04-28 15:13:18 -04:00
miruka
b8901dfc5b
Use H*Layout totalSpacing wherever possible
2019-04-28 14:54:01 -04:00
miruka
455490b5af
Use Loaders for RoomEventDelegate
2019-04-28 14:48:59 -04:00
miruka
7004b4ea3f
Reorganize Chat component files
...
- MessageList renamed to RoomEventList
- MessageDelegate renamed to RoomEventDelegate
- Banner and RoomEventList get their own folders
2019-04-28 14:34:29 -04:00
miruka
99ab6a817a
Update/refactor Chat components and banner
2019-04-28 14:20:30 -04:00
miruka
bf9eb7dbc9
Use HColumnLayout in HInterfaceBox
2019-04-28 12:47:51 -04:00
miruka
c5794424ed
Capitalize all component folders
2019-04-28 12:45:12 -04:00
miruka
e64b233427
Better default SidePane size
2019-04-28 12:40:42 -04:00
miruka
87c72e32db
Update SidePane componants, add Base.HColumnLayout
2019-04-28 12:40:18 -04:00
miruka
2e8e042808
Replace HToolButton usages with HButton
...
Also change sidePane toolbar: option button and filter rooms field
2019-04-28 12:10:34 -04:00
miruka
80067b5060
Add HScrollableTextArea and make SendBox use it
2019-04-28 11:53:47 -04:00
miruka
25badb693d
Use HImage for HStatusAvatar
2019-04-28 11:34:05 -04:00
miruka
83272b9580
Update and improve HAvatar code
2019-04-28 11:32:02 -04:00