Full screen fix, some site edits and fixes

This commit is contained in:
ArsenArsen 2017-08-19 00:29:08 +02:00
parent 65f9e84a61
commit b7edd8a223
2 changed files with 9 additions and 11 deletions

View File

@ -61,7 +61,7 @@ CropScene::CropScene(QObject *parent, QPixmap pixmap)
} }
}); });
addDrawingAction(menu, tr("Crop"), ":/icons/crop.png", [] { return nullptr; }); addDrawingAction(menu, tr("None"), ":/icons/crop.png", [] { return nullptr; });
menu->addSeparator(); menu->addSeparator();
QAction *settings = menu->addAction(""); QAction *settings = menu->addAction("");
@ -217,8 +217,6 @@ void CropScene::setVisible(bool visible) {
view->setVisible(visible); view->setVisible(visible);
if (visible) { if (visible) {
if (QApplication::screens().size() == 1) view->showFullScreen(); if (QApplication::screens().size() == 1) view->showFullScreen();
view->resize(_pixmap.width(), _pixmap.height());
view->setMinimumSize(_pixmap.size());
QPoint p = screenshotutil::smallestScreenCoordinate() + QPoint(settings::settings().value("cropx", 0).toInt(), QPoint p = screenshotutil::smallestScreenCoordinate() + QPoint(settings::settings().value("cropx", 0).toInt(),
settings::settings().value("cropy", 0).toInt()); settings::settings().value("cropy", 0).toInt());
view->move(p.x(), p.y()); view->move(p.x(), p.y());

View File

@ -1,6 +1,5 @@
# **KShare** # **KShare**
## The free open source and cross platform screen sharing software ## The free open source and cross platform screen sharing software
###### Inspired by [ShareX](https://getsharex.com)
KShare is a screenshotting utility built using Qt and written in C++. KShare is a screenshotting utility built using Qt and written in C++.
It has many features, including: It has many features, including:
@ -17,28 +16,29 @@ It has many features, including:
* Custom upload destinations * Custom upload destinations
## Enough talking, show us how it looks ## Enough talking, show us how it looks
The main window is rather simple, with only a log, and a button in it: The main window is rather simple, with only a log, and a button in it:
![image1](http://i.imgur.com/QOebwEM.png) ![image1](http://i.imgur.com/QOebwEM.png)
The settings have quite a bit more going on: The settings have quite a bit more going on:
![image2](http://i.imgur.com/kZzQzGr.png) ![image2](http://i.imgur.com/kZzQzGr.png)
The area selection editor is simple: The area selection editor is simple:
![image3](http://i.imgur.com/kyWZk3p.jpg) ![image3](http://i.imgur.com/kyWZk3p.jpg)
And the color picker is the simplest thing ever: And the color picker is the simplest thing ever:
![image4](http://i.imgur.com/VIeGbdQ.jpg) ![image4](http://i.imgur.com/VIeGbdQ.jpg)
The way you select the area to record is by resizing this simple widget: The way you select the area to record is by resizing this simple widget:
![image5](http://i.imgur.com/0iXFHnm.png) ![image5](http://i.imgur.com/0iXFHnm.png)
And when you start recording there is a simple preview shown: And when you start recording there is a simple preview shown:
![image6](http://i.imgur.com/6fu33TR.png) ![image6](http://i.imgur.com/6fu33TR.png)
## Download ## Download
Currently, the only good download I provide is for Arch Linux and Ubuntu 17.04 Currently, the only good download I provide is for Arch Linux and Ubuntu 17.04
The Arch download is on the AUR as `kshare` and `kshare-git`, The Arch download is on the AUR as `kshare` and `kshare-git`,
and the Ubuntu build is a .deb found on my CI: [kshare.deb](https://nativeci.arsenarsen.com/job/KShare/73/artifact/packages/simpleName.deb) The OS X and Debian/Ubuntu builds can be found here: [CI](https://nativeci.arsenarsen.com/job/KShare%20(master\))
There is a windows build on [AppVeyor]()
## Wait.. how do I actually use this? ## Wait.. how do I actually use this?