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

Security: Updates, First PGPainless Release, and 'The Cloud'

  • Security updates for Thursday
  • First PGPainless Release!
    PGPainless 0.0.1-alpha1 is the first non-snapshot release and is available from maven central. It was an interesting experience to go through the process of creating a release and I’m looking forward to have many more releases in the future :) The current release contains a workaround for the bug I described in an earlier blog post. The issue was, that bouncycastle wouldn’t mark the public sub keys of a secret key ring as sub keys, which results in loss of keys if the user tries to create a public key ring from the exported public keys. My workaround fixes the issue by iterating through all sub keys of an existing key ring and converting the key packages of subkeys to subkey packages. The code is also available as a gist.
  • Thousands of US voters' data exposed by robocall firm
    A Virginia-based political campaign and robocalling company, which claims it can "reach thousands of voters instantly," left a huge batch of files containing hundreds of thousands of voter records on a public and exposed Amazon S3 bucket that anyone could access without a password.  The bucket contained close to 2,600 files, including spreadsheets and audio recordings, for several US political campaigns. Kromtech Security's Bob Diachenko, who discovered the exposed data and blogged his findings, shared prior to publication several screenshots of data, packed with voters' full names, home addresses, and political affiliations.
  • Another Day, Another Pile Of Voter Data Left Laying Around On A Public Server
    Leaving private voter or customer data easily accessible on a public-facing server is the hot new fashion trend. You'll recall that it's a problem that has plagued the Defense Department, GOP data firm Deep Root Analytics (198 million voter records exposed), Verizon's marketing partners (6 million users impacted), Time Warner Cable (4 million users impacted), and countless other companies or partners that failed to implement even basic security practices. And it's a trend that shows no sign of slowing down despite repeated, similar stories (much of it thanks to analysis by security researcher Chris Vickery). This week yet another pile of private voter data was left publicly accessible for anybody to peruse. According to analysis by Kromtech Security’s Bob Dianchenko, a Virginia-based political consulting and robocalling company by the name of Robocent publicly exposed 2,600 files, including voter file spreadsheets (including voter phone numbers, names, addresses, political affiliations, gender, voting districts and more) and audio recordings for a number of political campaigns.

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.