live-reload: allow specifying a component to load
This commit is contained in:
parent
11dbd1e457
commit
a0509465e6
6
TODO.md
6
TODO.md
@ -12,6 +12,9 @@
|
|||||||
|
|
||||||
- Fixes
|
- Fixes
|
||||||
- Pressing backspace in composer sometimes doesn't work
|
- Pressing backspace in composer sometimes doesn't work
|
||||||
|
- Message order isn't preserved when sending a first message in a E2E
|
||||||
|
room, then while keys are being shared sending one with another account,
|
||||||
|
then sending one with the first account again
|
||||||
|
|
||||||
- If account not in config anymore, discard ui state last page on startup
|
- If account not in config anymore, discard ui state last page on startup
|
||||||
- Don't strip user spacing in html
|
- Don't strip user spacing in html
|
||||||
@ -23,6 +26,8 @@
|
|||||||
- Terrible performance using `QT_QPA_PLATFORM=wayland-egl`, must use `xcb`
|
- Terrible performance using `QT_QPA_PLATFORM=wayland-egl`, must use `xcb`
|
||||||
|
|
||||||
- UI
|
- UI
|
||||||
|
- Set an explicit placeholder text color for text field/area
|
||||||
|
- Change typing bar background
|
||||||
- Show error if uploading avatar fails or file is corrupted
|
- Show error if uploading avatar fails or file is corrupted
|
||||||
|
|
||||||
- Just use Shortcut onHeld instead of analyzing the current velocity
|
- Just use Shortcut onHeld instead of analyzing the current velocity
|
||||||
@ -117,6 +122,7 @@
|
|||||||
- Read receipts
|
- Read receipts
|
||||||
- Status message and presence
|
- Status message and presence
|
||||||
- Links preview
|
- Links preview
|
||||||
|
- Opening links with keyboard
|
||||||
|
|
||||||
- Client improvements
|
- Client improvements
|
||||||
- Prevent starting multiple instances, causes problems with E2E DB
|
- Prevent starting multiple instances, causes problems with E2E DB
|
||||||
|
@ -1,11 +1,13 @@
|
|||||||
#!/usr/bin/env sh
|
#!/usr/bin/env sh
|
||||||
|
|
||||||
# pdb won't be usable with entr,
|
# pdb won't be usable with entr,
|
||||||
# use https://pypi.org/project/remote-pdb/ instead
|
# use https://pypi.org/project/remote-pdb/ instead.
|
||||||
|
|
||||||
# no_embedded (resources) is used to speed up the compilation
|
# An argument can be given to specify which QML file in src/qml to load.
|
||||||
|
# If no argument is given, the default is "UI.qml".
|
||||||
|
|
||||||
|
# The no_embedded CONFIG option (resources) is used to speed up the compilation
|
||||||
|
|
||||||
export DISPLAY=${1:-:0}
|
|
||||||
export QT_QPA_PLATFORM=xcb
|
export QT_QPA_PLATFORM=xcb
|
||||||
|
|
||||||
CFG='dev no_embedded'
|
CFG='dev no_embedded'
|
||||||
@ -15,6 +17,6 @@ qmake harmonyqml.pro CONFIG+="$CFG" && make
|
|||||||
while true; do
|
while true; do
|
||||||
find src harmonyqml.pro -type f |
|
find src harmonyqml.pro -type f |
|
||||||
entr -cdnr sh -c \
|
entr -cdnr sh -c \
|
||||||
"qmake harmonyqml.pro CONFIG+='$CFG' && make && ./harmonyqml"
|
"qmake harmonyqml.pro CONFIG+='$CFG' && make && ./harmonyqml $*"
|
||||||
sleep 0.2
|
sleep 0.2
|
||||||
done
|
done
|
||||||
|
@ -41,7 +41,7 @@ ApplicationWindow {
|
|||||||
id: uiLoader
|
id: uiLoader
|
||||||
anchors.fill: parent
|
anchors.fill: parent
|
||||||
scale: py.ready ? 1 : 0.5
|
scale: py.ready ? 1 : 0.5
|
||||||
source: py.ready ? "UI.qml" : ""
|
source: py.ready ? (Qt.application.arguments[1] || "UI.qml") : ""
|
||||||
|
|
||||||
Behavior on scale { HNumberAnimation { overshoot: 5; factor: 1.2 } }
|
Behavior on scale { HNumberAnimation { overshoot: 5; factor: 1.2 } }
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user