| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
| |
Docs, resources, .metainfo and plugins.qmltypes will be updated in
follow up commits.
Change-Id: I4438c5bfb8802bff0fa15c56431cfd288f179861
Task-number: QTBUG-52549
Reviewed-by: J-P Nurmi <jpnurmi@qt.io>
|
|
|
|
|
|
|
|
| |
10 seconds is only just long enough for some controls,
like SwipeDelegate.
Change-Id: I20ccd65fe6262e11ab03d8f787e480e30ab84df9
Reviewed-by: J-P Nurmi <jpnurmi@theqtcompany.com>
|
|
|
|
|
|
|
|
| |
- Q_NULLPTR -> nullptr
- Q_DECL_OVERRIDE -> override
Change-Id: I8ee65caafd43ab41b6de43835200cac6c8ffa278
Reviewed-by: Mitch Curtis <mitch.curtis@theqtcompany.com>
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Try to ensure that the correct region is recorded. Sometimes, on
specific machines, I've seen the region being offset by a vertical
distance of 24 pixels (the size of the title bar).
- Try to ensure that the window has time to render before we start
recording with byzanz.
Change-Id: Ia4c354ba436ed21af0e83303a98faa616be63325
Reviewed-by: J-P Nurmi <jpnurmi@theqtcompany.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This allows us to use windows as root items, which means we can have
complete examples - not just a snippet without imports. With this, we
can have runnable snippets under each GIF, without the need for the
user to add code to get it to run.
This change is also necessary to generate GIFs for Panel-based items
like Menu, which require an ApplicationWindow.
Change-Id: I66fec30cde8d719be35766f8c917cd2a06b09127
Reviewed-by: J-P Nurmi <jpnurmi@theqtcompany.com>
|
|
|
|
|
| |
Change-Id: Id3be5a62dec38d610695d71ad792016fabdc922d
Reviewed-by: Liang Qi <liang.qi@theqtcompany.com>
|
|
|
|
|
| |
Change-Id: I142622dd85e95ef70b11132e77ccf48701f2cabc
Reviewed-by: Mitch Curtis <mitch.curtis@theqtcompany.com>
|
|
|
|
|
|
|
|
|
|
| |
This is important for high quality recordings, where there is some
conversion that must be done after the recording. If we don't do
this, it's hard to get a good idea of when the recording actually
finishes.
Change-Id: Iafb73358288e50d8f070607f8d69602da6d32506
Reviewed-by: Mitch Curtis <mitch.curtis@theqtcompany.com>
|
|
|
|
|
|
|
| |
byzanz-record will cut recordings short if there are no repaints.
Change-Id: Ied7fcfec066aa3d558b5e6909f7abf74628cfa23
Reviewed-by: Mitch Curtis <mitch.curtis@theqtcompany.com>
|
|
|
|
|
| |
Change-Id: Iba14928bdbdc7f01f7ccc7bd55181ec989188ce2
Reviewed-by: Mitch Curtis <mitch.curtis@theqtcompany.com>
|
|
|
|
|
|
|
|
| |
qtquickcontrols2-busyindicator.gif: 39 kB => 31kB (20%)
qtquickcontrols2-slider.gif: 34 kB => 13kB (61%)
Change-Id: Iee2c74f1a9e3900572966bd600921d0ad2af80cf
Reviewed-by: Mitch Curtis <mitch.curtis@theqtcompany.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
byzanz-record will heavily optimize colors in certain GIFs. The GIF
generated for BusyIndicator, for example, lost all of its
"transparency" that it has in the source image.
The man page says that the .flv format is lossless, so when
setHighQuality(true) is called, we record a video and then
convert it to a bunch of frames with avconv, then to a GIF with
convert.
Finally, to further optimize the GIF, we could run it through gifsicle,
so I haven't updated any GIFs in the docs yet.
Change-Id: I0ccc5e2258d7c6dac52e464bcd6fb61128541e82
Reviewed-by: Mitch Curtis <mitch.curtis@theqtcompany.com>
|
|
|
|
|
|
|
| |
If it's empty, we generate it for the user.
Change-Id: I4f02fcd603eb0c3c4ebba4838bcbd45f20ad6414
Reviewed-by: Mitch Curtis <mitch.curtis@theqtcompany.com>
|
|
This is similar to the snippets auto test, in that it's more of a
utility than a test. In this case, the testing provides a convenient
way to run several recording "jobs" at once, as well as feed the app
with generated input events.
The test is different to the snippets auto test in that it:
- Tests QML code that isn't shown to users; only the GIFs are displayed
in the documentation.
- Requires interaction to produce its output, which is achieved with
mousePress(), etc. For this reason, it also can't just iterate over
the list of QML files.
- Requires byzanz to be installed in order to record the GIFs.
The test also comes with EventCapturer, an event-filter based
class that records mouse movements and generates compact C++ code for
use with the GifRecorder.
There is one known issue, which is a bug in byzanz-record: it sometimes
decides to record the mouse cursor even if you didn't ask it to.
Change-Id: Icaaa4f37c8d34a813e36901fd187d84e4f250d33
Reviewed-by: Mitch Curtis <mitch.curtis@theqtcompany.com>
|