Language Selection

English French German Italian Portuguese Spanish

KDE: Plasma Mobile and Qt Quick Controls

Filed under
KDE
  • How to emulate Plasma Mobile on your machine with qemu

    If you want to develop for Plasma Mobile, but you don’t have a Mobile device, it is useful to emulate a Plasma Mobile on your desktop or laptop. Earlier this was not documented and has been asked multiple times on how to achieve this.

    This blog post is intended to help install a Plasma Mobile on the qemu-x86.

  • Qt Quick Controls 2: Imagine Style

    Back in April we wrote about image-based styling for Qt Quick Controls 2. Since then, we have made good progress and nailed down some aspects that were still under consideration. We call the new style “Imagine”.

  • Are you ready for Qt Quick Controls 2.3?

    This blog post takes a brief look at some of the new features in Qt Quick Controls 2.3 released as part of Qt 5.10. See also New Features in Qt 5.10 for a more detailed list.

More on Qt Quick and "Big thanks to KDE!"

  • Say hello to Qt Quick Pointer Handlers

    We’ve known for several years that our multi-touch support in Qt Quick has been inadequate for many use cases. We have PinchArea, to handle two-finger scaling, rotation and dragging; and MultiPointTouchArea, which can at least be used to show some sort of interactive feedback for the touchpoints, or maybe you could write a little state machine in JavaScript to recognize some kind of gesture. As for the rest of Qt Quick though, the main problems are 1) support for mouse events came first; 2) Qt assumes there is only one mouse (the “core pointer”); 3) QMouseEvent and QTouchEvent (and a few more) have no suitable intermediate base class, so they end up being delivered independently; 4) that being hard, shortcuts were taken early on, to treat touch events as mouse events and deliver them the same way. So the result is that you cannot interact with two MouseAreas or Flickables at the same time, for example. This means you cannot press two Buttons at the same time, or drag two Sliders at the same time, if they are implemented with MouseArea.

    At first I hoped to fix that by making MouseArea and Flickable both handle touch events separately. The patches to do that were quite complex, adding a lot of duplicated logic for the full parallel delivery path: a QMouseEvent would take one path and a QTouchEvent would take another, in the hope that the interaction would work as much the same as possible. It was months of work, and at the end it mostly worked… but it was hard to keep all the existing autotests passing, and colleagues worried about it being a behavior change. MouseArea proclaims by its name that it handles mouse events, so as soon as it begins to handle touch events separately, it becomes a misnomer. Suddenly you would be able to press two Buttons or Tabs or Radio Buttons at the same time, in applications and sets of controls which weren’t designed for it. (So we tried adding a bool property to opt in, but needing to set that in every MouseArea would be ugly.) MouseArea and Flickable also need to cooperate a lot, so the changes would have to be done together to keep everything working. It was possible, but narrowly missed shipping in Qt 5.5 due to uncertainty.

  • Big thanks to KDE!

    It has been over a week now that I attended Grace Hopper Celebration India 2017 in Bangalore from 16-17 November, yet the excitement still flows in me! I attended GHCI 2017 as a KDE Developer and student attendee. Big thanks to KDE Community for funding me!

    The Grace Hopper Celebration India (GHCI) is the largest and most influential event for women pursuing technical careers in computing and technology in the country. The conference was held at Bangalore International Exhibition Centre(BIEC), a premier exhibition center in Bangalore. The place was vibrant and energetic with close to 2000+ attendees.

    The conference began early morning around 7:30 with registrations. There was a warm welcome and a presentation session followed by keynote session by Pankajam Sridevi, MD at ANZ Bengaluru. Even on the second day, the event started early and there was a keynote by Dr. Rebecca Parsons, CTO at ThoughtWorks. Both the days, the event continued till evening till 5 pm with many interesting tracks based on Big Data, Artificial Intelligence, Open Source, Machine Learning and several speed-mentoring sessions.

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

More in Tux Machines

Canonical/Ubuntu: End of Ubuntu 17.10, Ubuntu Podcast, Snaps Add Flexibility with Tracks and Canonical Needs Help

  • PSA: Support for Ubuntu 17.10 Ends Today
    Ubuntu 17.10 reaches end of life on July 19, 2018 — which if you haven’t checked your calendar recently, is today. If you have thus far managed to resist the temptation to upgrade to a newer release then alas: today is the day when you need to start thinking about it.
  • Ubuntu Podcast from the UK LoCo: S11E19 – Nineteen Minutes - Ubuntu Podcast
    It’s Season 11 Episode 19 of the Ubuntu Podcast! Alan Pope, Mark Johnson and Ryan are connected and speaking to your brain.
  • Snaps Add Flexibility with Tracks
    Snap packages have a rich set of features beyond getting the latest shiny on your Linux distribution. Tracks enable developers to publish multiple supported releases of their application under the same name. With this enabled, a user can switch tracks at any time to install and use an alternate supported relase of software. Within each track are four standard channels named edge, beta, candidate and stable. The channels represent the risk-level users should expect from the snaps within. Edge snaps (typically built from the latest code committed) would be riskier to use than beta releases, which are more risky than stable releases. By default every application has one ‘latest’ track and the four named channels. Developers can optionally choose whether to supplement that with additional tracks. Further the developer can choose which channels to use within those tracks.
  • Canonical Needs Your Help to Test the Improved Ubuntu 18.04.1 Server Installer
    Canonical's Dimitri John Ledkov put out a call for testing for the Ubuntu community to help them test drive the improved Ubuntu Server installer in the upcoming Ubuntu 18.04.1 LTS point release. Ubuntu 18.04.1 LTS, the first of a total of five scheduled point releases of the long-term supported Ubuntu 18.04 LTS (Bionic Beaver) operating system series is about to be released in approximately one week from the moment of writing, on July 26, 2018, with improved and up-to-date core components and apps.
  • Help Test the New Ubuntu Server Installer
    I only ask because Canonical’s server bods are currently looking for wily folks to help them test an improved version of the new Ubuntu Server installer.

today's howtos

Graphics: ROCm, AMD, Mesa, Sway

  • ROCm 1.8.2 Released For The Open-Source Radeon Linux Compute Stack
    While waiting for the big ROCm 1.9 update, another point release to the ROCm 1.8 series is available for this Radeon Open Compute stack. Earlier this month the AMD developers working on this Linux open-source OpenCL/compute stack pushed out the ROCm 1.8.2 beta while today it was elevated to the stable channel. Details on the ROCm 1.8.2 update are unfortunately light, but based upon user reports, it seems to be able to create a working environment on Ubuntu 18.04 LTS if paired with a newer kernel. But the official Ubuntu 18.04 LTS isn't coming until ROCm 1.9.
  • Raven Ridge APUs Get Minor Performance Boost With Latest RADV Vulkan Driver
    The Raven Ridge Linux support continues to maturing. The latest on these Zen+Vega APUs using the open-source AMD Radeon Linux graphics driver stack should be slightly better performance when using the RADV Vulkan driver. RADV co-founder Bas Nieuwenhuizen landed a number of commits on Wednesday to further enhance this Mesa-based Radeon Vulkan driver. With this latest work, he's now enabled binning and DFSM by default for Raven Ridge hardware. With this being enabled now for Raven, he's found a minor performance in the range of 2~3% for some demos and games tested.
  • Freedreno Gallium3D Now Exposes Adreno A5xx Performance Counters
    It's been a while since last having any news to report on Freedrenon, the open-source, community-driven Gallium3D driver for providing accelerated 3D support for Qualcomm Adreno graphics hardware. But ahead of the upcoming Mesa 18.2 feature freeze, Freedreno founder Rob Clark has been landing a number of improvements.
  • Sway 1.0 Alpha 4 Released With Real-Time Video Capture, Atomic Layout Updates
    Learn more about the Sway 1.0 Alpha 4 release via the GitHub release announcement.

Kdenlive 18.08 Beta – Film Noir

Kdenlive is my video editor de jour since the dawn of civilization, or rather, as far back as my video editing attempts go. Pretty much all of the clips I uploaded to my Youtube channel were made using Kdenlive, with only some extra work in other programs. Kdenlive is powerful, flexible, useful, and now there’s a new beta that promises many good things and delights. The 18.08 version can be found under the label Refactoring Branch – sounds like an avantguard field of mathematics – and it is distributed as a self-contained AppImage, meaning you just need to make the file executable and then run it (single- or double-click). Which is exactly what I did. Follow me. Read more