miruka
2674702a59
Fix field/area left/right press with selected text
...
Fix bug in HTextField & HTextArea: when all text was selected, pressing
left or right arrow keys to go to the beginning or end and deselect
didn't respond.
2020-07-10 13:14:17 -04:00
miruka
24e657d193
Protect field/area text binding if no default text
2020-07-10 13:14:17 -04:00
miruka
3933615f67
Fix menu/popup destruction disabling keybinds
2020-07-10 13:14:17 -04:00
miruka
90a7a3a6cf
Add kineticScrollingMaxSpeed setting
2020-07-10 13:14:17 -04:00
miruka
2d410bb7cc
Themes: rename section scrollbar → scrollBar
2020-06-26 08:21:24 -04:00
miruka
604daed5fe
Increase button focusline height to avoid problems
2020-06-26 06:56:29 -04:00
miruka
980e258df8
Always parent popups to window
2020-06-26 06:41:15 -04:00
miruka
d058926902
Uncheck messages before clearing event list
2020-06-26 06:11:03 -04:00
miruka
d40852a11c
HListView: add checkedIndice property
2020-06-26 03:47:55 -04:00
miruka
78c04e6404
Fix flickable pages keyboard scrolling
2020-06-26 03:16:36 -04:00
miruka
dcc634be04
Page & popups: standardized keyboard accept/cancel
2020-06-25 10:27:24 -04:00
miruka
470b0f0de2
Implement HLabeledItem loading mode
2020-06-25 09:46:26 -04:00
miruka
da4a5ab5cd
Rework HBox-based pages and account settings
...
- Refactor everything about HBox, and adapt all the pages and popups
that used it
- Replace HTabContainer by HTabbedBox
- Make boxes swippable
- Make esc presses in boxes click the cancel button
- Make all boxes and popups scrollable when needed
- Replace generic apply button icons in popups
- Fix tab focus for error and invite popups
- Rework (still WIP) the account settings page:
- Use the standard tabbed design of other pages
- Ditch the horizontal profile layout, hacky and impossible to extend
- Add real-time coloring for the display name field
- Implement a device list in account settings (Sessions, still WIP)
2020-06-25 08:49:27 -04:00
miruka
72bd78c77e
Don't keyboard-focus invisible HMenuItems
2020-06-24 16:47:51 -04:00
miruka
2d8dbb172d
Use fancy focus lines for buttons
2020-06-23 09:18:42 -04:00
miruka
07013d0ed4
Unify text field/area focus line into a component
2020-06-23 08:44:58 -04:00
miruka
8b0f408f34
Fix text field/area leaking arrow presses
...
Prevent leaking arrow presses to parent elements when the carret
is at the beginning or end of the text.
2020-06-23 06:17:52 -04:00
miruka
ad36fc72f4
Fix Connections deprecation warning on Qt 5.15
...
Adopt the correct behavior to get rid of
"QML Connections: Implicitly defined onFoo properties in Connections
are deprecated. Use this syntax instead:
function onFoo(<arguments>) { ... }"
2020-06-22 14:11:56 -04:00
miruka
ae37e13c6e
Use new scrollbars for scrollviews (ie text areas)
2020-06-22 13:57:49 -04:00
miruka
783a711799
Customized themable scrollbars
2020-06-22 13:48:55 -04:00
miruka
e756bd2909
Set a minimum size for scrollbars
2020-06-19 12:03:04 -04:00
miruka
d4350f6e86
Borders for HTextArea
2020-06-06 21:54:13 -04:00
miruka
8d3ac9cd48
HTextField: support radius, have a fancier border
2020-06-06 21:45:01 -04:00
miruka
1f441a488e
Fix HFlickableColumnPage bottom padding
2020-06-05 05:53:49 -04:00
miruka
3314489a26
Make room settings pane scrollable
...
The new Base/ButtonLayout components will be used in the near future to
refactor other HBox-based components
2020-06-05 05:42:12 -04:00
miruka
48faac9a32
HFlickable: interactive even if nothing to scroll
2020-06-05 05:40:43 -04:00
miruka
cfee1b1e4b
Fix cursor shape over text fields/areas
...
Fix only applies if kinetic scrolling is enabled, need WheelHandler (Qt
5.14+) otherwise
2020-06-05 01:54:42 -04:00
miruka
00ee534150
HLabeledItem: base label/icons opacity on item
's
2020-06-03 04:50:19 -04:00
miruka
9f51b3c1ca
Fix field and text area defaultText binding
...
Break the binding when the field is focused, recreate it when focus is
lost, properly recreate it when using reset() function.
2020-06-03 04:50:10 -04:00
miruka
e676473f82
HLabeledTextField → extensible HLabeledItem
2020-06-02 20:14:55 -04:00
miruka
9862e39108
HSelectableLabel: selectByMouse true by default
2020-05-30 23:08:21 -04:00
miruka
8b9681dc78
Rename HTextArea.append() → .insertAtCursor()
2020-05-30 23:08:21 -04:00
miruka
01d3b6b489
Remove usage of HScrollableTextArea
2020-05-30 23:08:21 -04:00
miruka
a91a0c18f7
Refactor Composer
...
- Have a simple HTextArea component instead of HScrollTextArea
- Split composer parts between multiple files
2020-05-30 23:08:21 -04:00
miruka
a87cbd3bac
HTextField: fix implicitHeight Binding
2020-05-30 23:08:21 -04:00
miruka
6f688ae1aa
Implement circle progress bars in QML
2020-05-21 20:06:47 -04:00
vslg
6f68f35810
Fix goal is disabling kinetic scrolling
2020-05-20 23:03:36 -03:00
vslg
1bad1e1106
Multiply scrollFactor to wheel.pixelDelta
2020-05-20 21:09:34 -03:00
vslg
3094e47a99
Fix bugs and improve trackpad scroll precision
...
Improve trackpad precision by making the amount
of scroll, flickVelocity and flickDeceleration
proportional
2020-05-20 21:09:34 -03:00
vslg
107f928007
Fix bug when setting useTrackpadFix option
2020-05-20 21:09:34 -03:00
vslg
f72544e3d0
Improve trackpad fix
...
- Add it to remaining components
- Do not use Timer, as flickDeceleration from
Flickable is more performant
- Add a setting option for it: useTrackpadFix
2020-05-20 21:09:34 -03:00
vslg
b179480327
Remove allowDragging, as it is not needed anymore
2020-05-20 21:09:34 -03:00
vslg
d840080fdb
Add custom scroll handler to MouseArea
2020-05-20 21:09:34 -03:00
miruka
f20853b7ad
Restore correct highlight when no more room filter
2020-05-15 20:56:23 -04:00
miruka
e147b87d1b
Remove superfluous HTileDelegate, use HTile
2020-05-15 20:56:23 -04:00
miruka
ad7bce657c
Merge RoomList & AccountBar account delegates code
2020-05-15 20:56:23 -04:00
miruka
bbb00dd8a0
Let escape presses work properly inside HDrawer
...
Also add escape to clear member filter when focusing the field, and
clearMemberFilterOnEscape setting.
2020-05-15 20:56:23 -04:00
miruka
45048e625c
Fix UI parts focus keybind and buttons
2020-05-15 20:56:23 -04:00
miruka
922f12e9f9
Highlight correct account/room on startup
2020-05-15 20:56:23 -04:00
miruka
fe18b725a5
Use an horizontal bar for accounts
2020-05-15 20:56:23 -04:00