| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
|
|
|
| |
An item-based menu derived from QQuickPanel. Eventually we'd like to
make Panel itself a QQuickItem, as it makes both the implementation
and the actual usage of Menu a lot easier.
Change-Id: Ic1bf2a05ab98d9e17824c402ed8326ef65d26c69
Reviewed-by: J-P Nurmi <jpnurmi@theqtcompany.com>
|
|
|
|
|
|
|
| |
Also replaces event capturer C++ output with moveSmoothly() calls.
Change-Id: Ie1cccf6c85517a187588868a90902b82e01d0775
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>
|
|
|
|
|
|
|
|
|
|
| |
Use proper, calculated coordinates.
Also, increase the duration and decrease delays to make it more
pleasant to the eye.
Change-Id: If91ade9920a3ecaff966c348c623e603783754b8
Reviewed-by: J-P Nurmi <jpnurmi@theqtcompany.com>
|
|
|
|
|
|
|
|
|
| |
This is basically Slider, except with two handles.
It's used to specify a range of values.
Task-number: QTBUG-48667
Change-Id: Ib4f9afe5dc8343e307610943d338a2b574a01e4d
Reviewed-by: J-P Nurmi <jpnurmi@theqtcompany.com>
|
|
|
|
|
|
| |
Change-Id: I8cfbd420cea4e01528d2f289cfc5989268d8718a
Task-number: QTBUG-43581
Reviewed-by: J-P Nurmi <jpnurmi@theqtcompany.com>
|
|
|
|
|
| |
Change-Id: I142622dd85e95ef70b11132e77ccf48701f2cabc
Reviewed-by: Mitch Curtis <mitch.curtis@theqtcompany.com>
|
|
|
|
|
|
| |
Change-Id: I3263a600065dfa2bfe7334ec44a74e2dca83aa36
Reviewed-by: Gabriel de Dietrich <gabriel.dedietrich@theqtcompany.com>
Reviewed-by: Mitch Curtis <mitch.curtis@theqtcompany.com>
|
|
|
|
|
| |
Change-Id: Ief9ee07d1f5f6c80500bfa611bace860481e2a3f
Reviewed-by: Liang Qi <liang.qi@theqtcompany.com>
|
|
|
|
|
|
|
|
|
|
|
|
| |
The original split existed because the public and enterprise
controls were developed separately. Now that all controls are
public and developed together, the split no longer makes sense
and is difficult for users to understand.
Change-Id: I00420f4d09f8c837232231d03fe818b7b3403fab
Reviewed-by: Gabriel de Dietrich <gabriel.dedietrich@theqtcompany.com>
Reviewed-by: Frederik Gladhorn <frederik.gladhorn@theqtcompany.com>
Reviewed-by: J-P Nurmi <jpnurmi@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>
|
|
|
|
|
| |
Change-Id: Ie20e3a700b5030ed8e6e172c4faad8180ac097b8
Reviewed-by: Mitch Curtis <mitch.curtis@theqtcompany.com>
|
|
|
|
|
| |
Change-Id: Ia3bb2b8a4bcbe98f6ceabeb4f57f254cd625bb37
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>
|
|
|
|
|
|
|
|
|
| |
The GIF isn't added yet, because byzanz-record
only allows a certain amount of colors, so we must
fix that first.
Change-Id: I5c438ade6e8a6e7065742003e804c30bb23aa96a
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>
|
|
|
|
|
|
|
| |
Also adds the manual test that allows the GIF to be regenerated.
Change-Id: I90ddb770281a53d3ef342d7c6080664b74fe3b25
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>
|