Desktop client for the Matrix protocol.
ImageOverlayDialog::paintEvent was being called three times: width and height is 76 , 30 width and height is 1460 , 1200 width and height is 1460 , 1200 Presumably the first one is before the fullscreen kicks in. However, this meant that the image got squashed and never recovered. Therefore this doesn't destroy the original image but keeps a copy for the resized one. I'm slightly surprised that we actually have to scale the image though - can't Qt do this for you, if you tell it to draw the image into the right sized container? |
||
---|---|---|
.ci | ||
forms | ||
include | ||
resources | ||
scripts | ||
src | ||
.clang-format | ||
.gitignore | ||
.travis.yml | ||
appveyor.yml | ||
CMakeLists.txt | ||
LICENSE | ||
Makefile | ||
README.md |
nheko
The motivation behind the project is to provide a native desktop app for Matrix that feels more like a mainstream chat app (Riot, Telegram etc) and less like an IRC client.
Join the discussion on Matrix #nheko:matrix.org.
Features
Most of the features you'd expect from a chat application are missing right now but you can of course receive and send messages in the rooms that you are a member of.
Requirements
- Qt5 (5.7 or greater). Qt 5.7 adds support for color font rendering with Freetype, which is essential to properly support emoji.
- CMake 3.1 or greater.
- A compiler that supports C++11.
- Clang 3.3 (or greater).
- GCC 4.8 (or greater).
Arch Linux
$ sudo pacman -S qt5-base cmake gcc fontconfig
Ubuntu 14.04
$ sudo add-apt-repository ppa:beineri/opt-qt58-trusty
$ sudo add-apt-repository ppa:george-edison55/cmake-3.x
$ sudo apt-get update
$ sudo apt-get install qt58base cmake
OSX (Xcode 7 or later)
$ brew update
$ brew install qt5
Building
cmake -H. -Bbuild -DCMAKE_BUILD_TYPE=Release # Default is Debug.
make -C build
The nheko
binary will be located in the build
directory.
Here you can find development builds for Windows.
Contributing
Any kind of contribution to the project is greatly appreciated. You are also encouraged to open feature request issues.
Screens
Here is a screen shot to get a feel for the UI, but things will probably change.