Nicolas Werner
3b41d20506
Show encoded url in tooltips
2025-08-10 14:36:25 +02:00
Nicolas Werner
cd21ff6993
Horrific hack to hide menu entries when invisible
...
Workaround for https://bugreports.qt.io/browse/QTBUG-54767 or
https://bugreports.qt.io/browse/QTBUG-130996 .
This is probably the worst code I have written in a while, but basically
we add a value interceptor to filter out any invisible menu entry. This
is pretty dangerous because one false step crashes the whole menu. Menu
entries are actually Cpp owned and need to be manually deleted unless
they are removed via removeItem. Care needs to be taken to not mess up
the contentData list.
I expect this to break soon.
2025-01-06 22:04:48 +01:00
Nicolas Werner
78fac7dced
Small qml fixes
2023-10-18 22:43:45 +02:00
Nicolas Werner
3a0d5788e1
Merge branch 'delegate-rework'
2023-10-10 00:33:39 +02:00
Loren Burkholder
8b05a4facd
Fix reply text color
2023-10-02 10:09:04 -04:00
Loren Burkholder
879ef31fcf
Qt 6.4 properly supports scrolling text with touch
2023-09-30 10:26:45 -04:00
Nicolas Werner
b187440e68
Reimplement reply delegate by moving out the timeline event without layout
2023-08-25 20:43:04 +02:00
Nicolas Werner
76b40f452b
Working text messages in delegate rework
2023-08-25 19:03:14 +02:00
Nicolas Werner
95406b9c22
More linter fixes
2023-06-19 21:24:31 +02:00
Nicolas Werner
d6ab75250f
Temporarily revert TextArea change until I find a proper fix for the binding loop
2023-06-19 02:55:19 +02:00
Nicolas Werner
ce1a64bc19
Move to automatic type registration
2023-06-19 01:38:40 +02:00
Nicolas Werner
9796c40619
Use TextArea for message text
...
Allows double click with the middle mouse button to reply and fixed the
theming.
fixes #1462
2023-06-10 02:01:42 +02:00
Nicolas Werner
5aee8d609a
Format qml
2023-06-08 22:32:08 +02:00
Nicolas Werner
54e2295c21
Fix palette access and QMediaPlayer errors
2023-06-08 22:32:07 +02:00
Nicolas Werner
96f791daf1
Get rid of year in license headers
...
See also:
https://daniel.haxx.se/blog/2023/01/08/copyright-without-years/
https://hynek.me/til/copyright-years/
2023-02-21 23:48:49 +01:00
Nicolas Werner
3a6a905429
A whole new year full of excitement and possibilities!
2023-01-02 04:25:33 +01:00
Nicolas Werner
593d08fd2e
Revert "Disable keyboard selection for text by default"
...
This reverts commit 0035c359ce .
2022-12-13 17:53:48 +01:00
Nicolas Werner
0035c359ce
Disable keyboard selection for text by default
2022-12-13 05:08:21 +01:00
Loren Burkholder
9cf0e3ca55
Add member list and settings buttons to spaces ( #1051 )
...
* Add member list and settings buttons to spaces
* Un-buttonify the member list button
* Properly button settings *and* members
2022-04-22 23:43:25 +00:00
Nicolas Werner
61404641d9
Update year in copyright notice to shut up lint job
2022-01-01 04:57:53 +01:00
Nicolas Werner
6f77a1fe9d
Use the styles default delay for tooltips
...
This makes them less annoying when scrolling or accessing the popup
menu.
See also #860
2021-12-31 00:48:55 +01:00
Nicolas Werner
d955444dc1
Port to explicit connect syntax
...
Also fix a lot of warnings.
2021-07-27 22:35:38 +02:00
Nicolas Werner
8a1666bc88
Basic sticker support
2021-07-19 01:28:07 +02:00
Nicolas Werner
be0576f6a1
Add workaround for TextEdit not rerendering after image loaded
...
fixes #541
2021-07-15 00:26:39 +02:00
Nicolas Werner
ee44effdbd
Fix clicking links in mobile mode
...
fixes #617
2021-06-25 11:35:27 +02:00
Nicolas Werner
22afa122c4
Move openLink to Nheko globals
2021-05-13 08:53:56 +02:00
Nicolas Werner
a7f8b23b52
Make palette global in Qml
2021-05-13 08:23:56 +02:00
Nicolas Werner
82fa8ab292
Highlight navigated to message
2021-04-29 19:09:16 +02:00
Nicolas Werner
76a9240076
Rewrite matrix.to links to matrix uris and handle them the same way
2021-04-28 20:03:52 +02:00
Nicolas Werner
c03f716e8b
Fix conflict between qmlformat and license check
2021-03-07 05:57:56 +01:00
Nicolas Werner
bb6ff8cec8
Show mxid on hovering username
...
fixes #507
2021-03-07 05:53:54 +01:00
Nicolas Werner
a6f0d2ea7d
Update license headers
2021-03-05 01:04:07 +01:00
Nicolas Werner
d43607d01c
Fix hover handling in the timeline
2021-02-14 01:28:28 +01:00
Nicolas Werner
6090d00251
Revert "Update QtQuick versions to match Qt 5.10"
...
This reverts commit 74e32dd96b .
2021-01-12 15:03:39 +01:00
Joseph Donofry
74e32dd96b
Update QtQuick versions to match Qt 5.10
2021-01-11 22:17:00 -05:00
Nicolas Werner
08e9461611
Fix input focus when pressing reply button
2020-11-25 19:05:12 +01:00
Nicolas Werner
3172811ca7
Add mobile mode which improves scrolling
2020-10-24 16:21:00 +02:00
Nicolas Werner
53734607cf
Fix copying text
2020-10-24 14:42:18 +02:00
Nicolas Werner
1a029112d9
Lint qml with qml-format
2020-10-08 21:11:21 +02:00
Chethan2k1
e8eeb480d5
Fix Wrong Emojis Issue in Room Verification
2020-09-04 12:02:24 +05:30
CH Chethan Reddy
b174bd9380
Merge remote-tracking branch 'upstream/master' into device-verification
2020-08-30 22:27:14 +05:30
Nicolas Werner
de7ec4d2b3
Merge remote-tracking branch 'origin/master' into new-event-store
...
Conflicts:
CMakeLists.txt
io.github.NhekoReborn.Nheko.json
src/Cache.cpp
src/timeline/TimelineModel.cpp
src/timeline/TimelineModel.h
src/timeline/TimelineViewManager.cpp
2020-08-17 20:40:33 +02:00
Nicolas Werner
dbaddb0165
Further tweak text element
2020-08-06 19:19:13 +02:00
Nicolas Werner
4862be06be
Fix presence indicator
2020-07-30 22:10:27 +05:30
Nicolas Werner
8bf26917ad
Make long press menu actually work
2020-07-26 02:06:38 +02:00
Nicolas Werner
6f557c19a1
Optimize scrolling a little bit
2020-07-25 23:10:02 +02:00
Nicolas Werner
fdcf91f5eb
Fix binding loop and non integer text height
2020-07-25 22:08:02 +02:00
Nicolas Werner
8d3ab300b6
Open url using QDesktopServices from Qml
...
This fixes some weirdness on some platforms, where Qt.openUrlExternally
does weird stuff.
2020-07-09 00:45:37 +02:00
Nicolas Werner
11bffd5d90
Revert change from TextEdit to TextArea
...
It made some messages unreadabe. We loose proper highlight colors, but
we will have to do for now, until I can figure out, why the TextArea
doesn't work.
2020-02-27 16:48:23 +01:00
Nicolas Werner
b1eff0a37f
Improve link theming
2020-02-27 00:34:58 +01:00