Commit graph

112 commits

Author SHA1 Message Date
lkito
d8b89e2ef0 Added an optional feature to show bigger emoji-only messages with 3 or less emoji 2020-05-21 16:31:27 +04:00
lkito
2c21f6e3fa Implemented optional message body highlighting feature. 2020-05-16 17:15:43 +04:00
Nicolas Werner
e55a09906f Misc color fixes 2020-05-05 23:43:43 +02:00
Nicolas Werner
bb66254c58 Make notifications a bit easier to read 2020-04-29 20:49:57 +02:00
Joseph Donofry
b298f01d92
Add signal/slot for decryption changes in last patch 2020-04-22 19:52:30 -04:00
Joseph Donofry
a4c280a4f9
Add ability to toggle sidebar messages for encrypted rooms 2020-04-21 22:40:58 -04:00
Nicolas Werner
2b24a978e1 Mid color is used for scrollbars it seems 2020-04-11 22:38:12 +02:00
Nicolas Werner
6794b6472d Add a few missing palette colors 2020-04-08 23:10:00 +02:00
Nicolas Werner
8bf25f3d80 Set palette globally 2020-03-30 21:48:28 +02:00
Emi Simpson
bf5ae884de
Make toggle in settings revert between old behavior and new behavior for sorting by unreads 2020-03-15 14:56:39 -04:00
Emi Simpson
6bbe8ade0f
Made merge compatible with master 2020-03-15 12:16:01 -04:00
Emi Simpson
b6bd36ac16
Added toggle in the settings to ignore minor events 2020-03-15 11:19:22 -04:00
Nicolas Werner
0f1a352dd7 Make buttons hideable via setting, button contents can still be accessed via context menu 2020-03-10 00:30:45 +01:00
Nicolas Werner
4500bcd577 Use spacing for layouting settings 2020-02-20 18:11:49 +01:00
Adasauce
8aaf7e9e5d
Remove constant width, that was wrong.
Use Nico's suggestion to just leverage the width of the field, and leave
a comment.
2020-02-20 12:31:07 -04:00
Adasauce
105366f2b9
Clean up variable format
don't use members format camelCaseTail_
2020-02-20 11:57:16 -04:00
Adasauce
f86cbbe16a
Add constexpr for the minimum formlayout width
to save on recalculation of the size and having to subtract the margins
to do the tally, then re-apply.
2020-02-20 11:50:56 -04:00
Adasauce
b5aa615ef5
FormLayout cleanup
Removed empty labels in favour of a fixed height and bottom alignment.
2020-02-19 15:23:57 -04:00
Adasauce
53138d7f5c
Clean up placeholder string
use QString instead of std::string (QStringLiteral doesn't have a
constructor with int, str.)

remove temp variable, and just deal with it inline.
2020-02-19 15:00:49 -04:00
Adasauce
21b207d1f0
Review changes to UserSettingsPage
- Switch to {} widget initialization
 - set fixed size on the Toggles so they don't scale down vertically
 - add another setting section for INTERFACE
 - add a placeholder value for deviceFingerprintValue_ so it can calculate the right size.
 - fix warnings about `QLayout: Attempting to add QLayout "" to UserSettingsPage "",` in boxWrap
 - hide widgets properly in Q_OS_MAC
 - remove mainLayout_ completely
 - clean up resizeEvent
2020-02-18 17:16:07 -04:00
Adasauce
111e4504ac
Replace QHBoxLayout with QFormLayout in UserSettings
This allows form fields to wrap dynamically when they are too long for
the view. This should help mobile and small screen users to configure
the app without having to force it into portrait mode, or not be able to
reach the settings fields at all.
2020-02-18 11:08:19 -04:00
Nicolas Werner
70f4a89d10 Quick hack to enable touch scrolling in settings and room list 2020-02-15 03:48:23 +01:00
Nicolas Werner
ef5edbb3ea Lower general settings margins, if the window is narrow 2020-02-15 03:48:23 +01:00
DeepBlueV7.X
f70923f374
Merge pull request #117 from adasauce/file-download-path
use the standard system download path for file downloads
2020-02-15 03:28:22 +01:00
Adasauce
cb36050822
use QStandardPaths locations for all file dialogs. 2020-02-14 21:35:26 -04:00
Shun Sakai
2ceaead7fc Change the initial of the proper noun to uppercase
markdown -> Markdown
2020-02-14 13:02:44 +09:00
Nicolas Werner
4cd260bfcf Optimize includes a bit 2020-01-31 15:11:21 +01:00
Nicolas Werner
e2f547149a Allow sending messages as plain text 2020-01-27 15:59:25 +01:00
Nicolas Werner
79f967da8c Reduce Cache.h includes further via one forward declaration 2019-12-15 03:34:37 +01:00
Nicolas Werner
5fc1f3bd67 Reduce overhead of Cache.h 2019-12-15 02:56:04 +01:00
Nicolas Werner
ebeb1eb772 Implement avatars in qml timeline 2019-11-23 20:06:14 +01:00
Aidan Hahn
34ac2c4f75
re-re-linted 2019-09-03 21:23:54 -07:00
Aidan Hahn
5326d29e56
group similar ui options on settings page 2019-09-02 23:40:42 -07:00
Aidan Hahn
1e6fc6e342
fixed typoes in code, added layout metadata to new settings toggle. 2019-09-01 16:10:11 -07:00
Aidan Hahn
a1c2aed36a
Refactored Avatar and RoomInfoListItem to access rounding settings in place 2019-09-01 14:41:23 -07:00
Aidan Hahn
b10d453bd5
add controll bits for avatar rounding 2019-08-28 21:36:28 -07:00
Joseph Donofry
d5bb0936bf
Use 'system' theme as default if QT_QPA_PLATFORMTHEME is set
On first launch, before the user has configured any settings,
check the value of the QT_QPA_PLATFORMTHEME environment var.
If it is set, use the system theme as the default instead of the
light theme.  This fixes #72.
2019-08-10 13:14:37 -04:00
Joseph Donofry
86888ee713
Fix bug with emoji font setting and clean linting 2019-07-26 17:44:44 -04:00
Joseph Donofry
778921be8a
Add emoji text selection option for non-mac 2019-07-26 17:31:59 -04:00
redsky17
4cb27f34f2
Fix linting 2019-04-04 22:24:21 +00:00
redsky17
994f79cfbc
Update nheko to export sessions using new format
(requires mtxclient updates as well).
2019-03-27 23:13:38 +00:00
redsky17
237c7ad114 Author Color Fixes
Author color is now cached so that it will not be re-calculated
each time a new message is posted.  This cache gets cleared when
the theme is changed.

Additionally, the author color is now automatically refreshed
when the theme is changed, fixing the issue where you had to
change rooms before the colors would switch.
2019-01-20 04:43:48 +00:00
redsky17
98102f4f09 Fix UserSettings UI not showing saved prefs
Theme and Font Family settings will now correctly display the stored
settings when nheko is re-launched.  Previously, these combo boxes
would default to the first thing in the combo box, even if that
wasn't what the user selected.
2019-01-19 17:31:17 +00:00
redsky17
654b652db4 Add User Font Setting
User can now select a font from the installed fonts on their system

This font currently will only be applied when nheko is restarted
(similar to how font size and scaling currently work).  This will
be addressed in a future commit.  Additionally, the dropdown
does not correctly select the previously-chosen user font, and
instead defaults to the first font available on the system
(alphabetically).  This is similar to the issue with the 'Theme'
combo defaulting to 'Light' even when another theme is selected.
2019-01-19 16:20:41 +00:00
Konstantinos Sideris
c2faaa4d39 Add the correct parent to scaleCombo 2018-10-07 12:58:38 +03:00
Konstantinos Sideris
4865f852d8 Remove room re-ordering option 2018-10-06 18:43:53 +03:00
Konstantinos Sideris
844443a324 Adjust the widget size of the room list items 2018-10-06 17:21:03 +03:00
Konstantinos Sideris
3a57d1018e Add option to configure the font size
fixes #161
2018-10-01 17:56:46 +03:00
Konstantinos Sideris
4b1b062388 Enable debug logs 2018-09-30 14:33:54 +03:00
Konstantinos Sideris
9038c950ae Remove pixel value from fonts 2018-09-30 13:24:36 +03:00
Konstantinos Sideris
59a1b6b47c Don't enable tray by default 2018-09-26 19:22:52 +03:00
Konstantinos Sideris
1716502eff Improvements on the system theme 2018-09-19 22:42:26 +03:00
Konstantinos Sideris
3e49afd6ba Fix compile warnings 2018-09-18 18:48:14 +03:00
Konstantinos Sideris
440237cdb9 Clean up unread rooms after initial sync 2018-09-16 11:41:53 +03:00
Konstantinos Sideris
a9ddc3b3d3 Implement import/export of megolm session keys (#358) 2018-09-15 23:52:14 +03:00
Rudi Floren
c8a59f2d6e Add device ID and device fingerprint to settings page like in Riot. (#407) 2018-08-21 06:22:51 +00:00
Konstantinos Sideris
cebd8cbc19 Add option to disable desktop notifications
fixes #388
2018-08-11 18:26:17 +03:00
Konstantinos Sideris
df42fdc80f Remove unwanted whitespace from the user settings menu 2018-08-01 21:26:34 +03:00
Konstantinos Sideris
6b42e3b202 Simplify the message shown when another app instance is detected 2018-07-22 20:26:50 +03:00
Konstantinos Sideris
85e93a88a6 Add option to specify the scale factor
fixes #357
fixes #335
fixes #230
2018-07-22 19:48:58 +03:00
Konstantinos Sideris
3d2e29bfa0 Remove pixel values from modals, use pointSize instead 2018-07-22 18:03:12 +03:00
Konstantinos Sideris
0e814da91c Move all files under src/ 2018-07-17 16:37:25 +03:00
Renamed from src/UserSettingsPage.cc (Browse further)