| capturedevent.cpp |
|
2156 |
- |
| capturedevent.h |
|
635 |
- |
| CMakeLists.txt |
|
1264 |
- |
| data |
|
|
- |
| eventcapturer.cpp |
!
Installs an event filter on a particular object to record specific events
that can be retrieved as C++ source code.
For example:
\code
EventCapturer eventCapturer;
view.show();
eventCapturer.startCapturing(&view, 5000);
// interact with the view here, in order for the events to be captured
qDebug() << "\n";
const auto capturedEvents = eventCapturer.capturedEvents();
for (CapturedEvent event : capturedEvents)
qDebug().noquote() << event.cppCommand();
\endcode
It is recommended to set the \c Qt::FramelessWindowHint flag on the view
(this code has not been tested under other usage):
view.setFlags(view.flags() | Qt::FramelessWindowHint);
|
6492 |
- |
| eventcapturer.h |
|
1540 |
- |
| gifrecorder.cpp |
!
QProcess wrapper around byzanz-record (sudo apt-get install byzanz).
\note The following programs must be installed if \c setHighQuality(true)
is called:
\li \e FFmpeg (sudo apt-get install ffmpeg)
\li \e convert (sudo apt-get install imagemagick)
\li \e gifsicle (sudo apt-get install gifsicle)
It is recommended to set the \c Qt::FramelessWindowHint flag on the view
(this code has not been tested under other usage):
view.setFlags(view.flags() | Qt::FramelessWindowHint);
|
11591 |
- |
| gifrecorder.h |
|
1389 |
- |
| gifs.pro |
|
339 |
- |
| tst_gifs.cpp |
|
40664 |
- |