"Unselect" → "Deselect"
This commit is contained in:
parent
4c76ffd88b
commit
311a53f8f4
43
INSTALL.md
43
INSTALL.md
|
@ -5,6 +5,8 @@ but compiling on Windows and macOS should be possible with the right tools.
|
||||||
|
|
||||||
- [Releases](#releases)
|
- [Releases](#releases)
|
||||||
- [Linux](#linux)
|
- [Linux](#linux)
|
||||||
|
- [AppImage](#appimage)
|
||||||
|
- [Flatpak](#flatpak)
|
||||||
- [Manual installation](#manual-installation)
|
- [Manual installation](#manual-installation)
|
||||||
- [Environment variables](#environment-variables)
|
- [Environment variables](#environment-variables)
|
||||||
- [Package manager dependencies](#package-manager-dependencies)
|
- [Package manager dependencies](#package-manager-dependencies)
|
||||||
|
@ -27,27 +29,40 @@ but compiling on Windows and macOS should be possible with the right tools.
|
||||||
|
|
||||||
### Linux
|
### Linux
|
||||||
|
|
||||||
For **x86 64bit glibc-based systems**, Mirage is available as an **AppImage**
|
For developement, or if none of the release options are satisfying,
|
||||||
|
see [manual installation](#manual-installation).
|
||||||
|
|
||||||
|
#### AppImage
|
||||||
|
|
||||||
|
For **x86 64bit glibc-based systems**, Mirage is available as an AppImage
|
||||||
on the [release page](https://github.com/mirukana/mirage/releases).
|
on the [release page](https://github.com/mirukana/mirage/releases).
|
||||||
For other architectures and musl-based distros, see the
|
|
||||||
[manual installation section](#manual-installation).
|
|
||||||
|
|
||||||
AppImages are single executable files that contain the app and all
|
AppImages are single executable files that contain the app and all
|
||||||
its dependencies.
|
its dependencies.
|
||||||
Mirage images are built in Ubuntu 16.04, and should therefore run on any distro
|
Mirage images are built in Ubuntu 16.04, and should therefore run on any distro
|
||||||
released in 2016 or later.
|
released in April 2016 or later.
|
||||||
|
|
||||||
To run from a terminal:
|
[How to start AppImages](https://docs.appimage.org/introduction/quickstart.html#how-to-run-an-appimage)
|
||||||
|
(TL;DR: `chmod +x Mirage-*.AppImage && ./Mirage-*.AppImage`)
|
||||||
|
|
||||||
|
#### Flatpak
|
||||||
|
|
||||||
|
For **x86 32bit or musl-based systems**, Mirage is also available
|
||||||
|
as a Flatpak
|
||||||
|
on the [release page](https://github.com/mirukana/mirage/releases).
|
||||||
|
|
||||||
|
To install and run it:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
chmod +x Mirage-x86_64.AppImage
|
flatpak install --user flathub org.kde.Platform//5.12 mirage-*.flatpak
|
||||||
./Mirage-x86_64.AppImage
|
flatpak run io.github.mirukana.mirage
|
||||||
```
|
```
|
||||||
|
|
||||||
To run from a file manager, give executable permission in the file's
|
If the download fails for some reason, run `flatpak repair` before retrying.
|
||||||
properties and double-click to launch.
|
|
||||||
[More detailed instructions](https://docs.appimage.org/introduction/quickstart.html#ref-quickstart)
|
|
||||||
|
|
||||||
|
For **other architectures**, clone the repository and see
|
||||||
|
[packaging/flatpak/README.md](packaging/flatpak/README.md) to build the
|
||||||
|
package on your machine.
|
||||||
|
|
||||||
## Manual Installation
|
## Manual Installation
|
||||||
|
|
||||||
|
@ -217,7 +232,7 @@ sudo make install
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
## Installing Mirage
|
### Installing Mirage
|
||||||
|
|
||||||
After following the above sections instructions depending on your system,
|
After following the above sections instructions depending on your system,
|
||||||
clone the repository, install the python dependencies, compile and install:
|
clone the repository, install the python dependencies, compile and install:
|
||||||
|
@ -239,9 +254,9 @@ if you have trouble installing it.
|
||||||
If everything went fine, run `mirage` to start.
|
If everything went fine, run `mirage` to start.
|
||||||
|
|
||||||
|
|
||||||
## Common Issues
|
### Common Issues
|
||||||
|
|
||||||
### cffi version mismatch
|
#### cffi version mismatch
|
||||||
|
|
||||||
When installing the python dependencies, if you get a version mismatch error
|
When installing the python dependencies, if you get a version mismatch error
|
||||||
related to `cffi`, try:
|
related to `cffi`, try:
|
||||||
|
@ -250,7 +265,7 @@ related to `cffi`, try:
|
||||||
pip3 install --user --upgrade --force-reinstall cffi
|
pip3 install --user --upgrade --force-reinstall cffi
|
||||||
```
|
```
|
||||||
|
|
||||||
### Component is not ready
|
#### Component is not ready
|
||||||
|
|
||||||
If the application doesn't start when you run `mirage` and shows a
|
If the application doesn't start when you run `mirage` and shows a
|
||||||
`QQmlComponent: Component is not ready` message in the terminal,
|
`QQmlComponent: Component is not ready` message in the terminal,
|
||||||
|
|
|
@ -2,16 +2,21 @@
|
||||||
|
|
||||||
## Building Flatpak
|
## Building Flatpak
|
||||||
|
|
||||||
To build flatpak package, you will need flatpak, flatpak-builder, and
|
To build the Flatpak package, you will need `flatpak`, `flatpak-builder`, and
|
||||||
KDE 5.12 runtime with SDK. flatpak-builder is usually available from
|
KDE 5.12 runtime with SDK. `flatpak-builder` is usually available from
|
||||||
the same repository as flatpak. See https://flatpak.org/setup/ for
|
the same repository as `flatpak`.
|
||||||
setting it up. To install runtimes (adjust as needed if you prefer
|
|
||||||
system-wide installation):
|
[Flatpak setup instructions](https://flatpak.org/setup/)
|
||||||
|
|
||||||
|
To install the runtimes (remove the `--user` flag and run as root if you
|
||||||
|
prefer system-wide installation):
|
||||||
|
|
||||||
```
|
```
|
||||||
flatpak install --user flathub org.kde.Platform//5.12 org.kde.Sdk//5.12
|
flatpak install --user flathub org.kde.Platform//5.12 org.kde.Sdk//5.12
|
||||||
```
|
```
|
||||||
|
|
||||||
|
If the download fails for some reason, run `flatpak repair` before retrying.
|
||||||
|
|
||||||
To build, run from the root of the project:
|
To build, run from the root of the project:
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
|
@ -270,7 +270,7 @@ class UISettings(JSONDataFile):
|
||||||
"10": "Alt+0",
|
"10": "Alt+0",
|
||||||
},
|
},
|
||||||
|
|
||||||
"unfocusOrUnselectAllMessages": ["Escape"],
|
"unfocusOrDeselectAllMessages": ["Escape"],
|
||||||
"focusPreviousMessage": ["Ctrl+Up", "Ctrl+K"],
|
"focusPreviousMessage": ["Ctrl+Up", "Ctrl+K"],
|
||||||
"focusNextMessage": ["Ctrl+Down", "Ctrl+J"],
|
"focusNextMessage": ["Ctrl+Down", "Ctrl+J"],
|
||||||
"toggleSelectMessage": ["Ctrl+Space"],
|
"toggleSelectMessage": ["Ctrl+Space"],
|
||||||
|
|
|
@ -144,14 +144,14 @@ HColumnLayout {
|
||||||
|
|
||||||
HMenuItem {
|
HMenuItem {
|
||||||
icon.name: "toggle-select-message"
|
icon.name: "toggle-select-message"
|
||||||
text: eventDelegate.checked ? qsTr("Unselect") : qsTr("Select")
|
text: eventDelegate.checked ? qsTr("Deselect") : qsTr("Select")
|
||||||
onTriggered: eventDelegate.toggleChecked()
|
onTriggered: eventDelegate.toggleChecked()
|
||||||
}
|
}
|
||||||
|
|
||||||
HMenuItem {
|
HMenuItem {
|
||||||
visible: eventList.selectedCount >= 2
|
visible: eventList.selectedCount >= 2
|
||||||
icon.name: "unselect-all-messages"
|
icon.name: "deselect-all-messages"
|
||||||
text: qsTr("Unselect all")
|
text: qsTr("Deselect all")
|
||||||
onTriggered: eventList.checked = {}
|
onTriggered: eventList.checked = {}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -15,7 +15,7 @@ Rectangle {
|
||||||
|
|
||||||
|
|
||||||
HShortcut {
|
HShortcut {
|
||||||
sequences: window.settings.keys.unfocusOrUnselectAllMessages
|
sequences: window.settings.keys.unfocusOrDeselectAllMessages
|
||||||
onActivated: {
|
onActivated: {
|
||||||
eventList.currentIndex !== -1 ?
|
eventList.currentIndex !== -1 ?
|
||||||
eventList.currentIndex = -1 :
|
eventList.currentIndex = -1 :
|
||||||
|
|
Before Width: | Height: | Size: 309 B After Width: | Height: | Size: 309 B |
Loading…
Reference in New Issue
Block a user