miruka
047225fded
Rework models hierarchy, room categories models
2019-05-02 14:20:21 -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
4433e48611
Fix QtQuick.Layout version, MessageContent wrap
2019-04-28 15:45:42 -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
c5794424ed
Capitalize all component folders
2019-04-28 12:45:12 -04:00