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

Review: Daphile 17.09

Daphile is a minimal Linux distribution which is designed to be run on a computer dedicated to playing music. Daphile can be run on headless machines and its media controls are managed through a web-based interface. Basically, Daphile is intended to be run on a computer we can stick in the corner of a room and use it as a media centre without worrying about managing software, tweaking settings or navigating desktop environments. Daphile can be run from a CD or USB thumb drive for maximum portability and does not need to be installed directly on a hard drive to work. Daphile reportedly has the ability to rip audio CDs, play audio files from a local drive or stream music across network shares (Samba, NFS, FTP and OpenSSH services are supported). This gives us a pretty good range of media sources for our music collection. Under the hood, Daphile has its roots in Gentoo, though the operating system is somewhat stripped down and we cannot use Gentoo's package management utilities. Daphile runs the Busybox userland tools and a light web server, and very little else. In fact, Daphile does not provide a login interface to allow us to tinker with the operating system. The operating system is dedicated entirely to the task of playing music and our sole access to the media controls are through its web interface. The distribution is available in 32-bit and 64-bit builds and the ISO file we download for Daphile is 195MB in size. While Daphile is capable of running entirely without a screen, when we do boot from Daphile's media the distribution displays the distribution's IP address, which it obtains over DHCP. We can connect to the IP address using any modern web browser which automatically gives us access to Daphile's media controls, there is no user authentication built into the web interface. Read more

Android Leftovers

Linux Mint Releases Last KDE Edition "Sylvia"

​Mint fans rejoice as the latest version of Linux Mint 18.3 Sylvia with the KDE desktop is available to download on Linux Mint’s official website. The sad part is that this will be the last offering from Linux Mint that will feature the KDE desktop environment. Read
more

today's leftovers

  • Schaller On Linux In 2018: Rust Rules, Apple Declines, Linux Graphics Compete
    Christian Schaller who has long been involved in GNOME/Fedora development while serving as a senior software engineering manager at Red Hat and formerly with Collabora has some bold predictions about 2018 for open-source software.
  • Fedora Classroom Session: Fedora QA 102
    Fedora Classroom sessions continue next week with a session on Fedora QA. The general schedule for sessions appears on the wiki. You can also find resources and recordings from previous sessions there. Here are details about this week’s session on Wednesday, December 22 at 16:00 UTC. That link allows you to convert the time to your timezone.
  • Cura, the nice 3D print slicer, is now in Debian Unstable
    After several months of working and waiting, I am happy to report that the nice and user friendly 3D printer slicer software Cura just entered Debian Unstable. It consist of five packages, cura, cura-engine, libarcus, fdm-materials, libsavitar and uranium. The last two, uranium and cura, entered Unstable yesterday. This should make it easier for Debian users to print on at least the Ultimaker class of 3D printers. My nearest 3D printer is an Ultimaker 2+, so it will make life easier for at least me. :)
  • #PeruRumboGSoC2018 – Session 5
    Today we have celebrated another session for the #PeruRumboGSoC2018 program at CCPP UNI. It was one of the longest sessions we have experienced.
  • Mozilla releases tools and data for speech recognition
    Voice computing has long been a staple of science fiction, but it has only relatively recently made its way into fairly common mainstream use. Gadgets like mobile phones and "smart" home assistant devices (e.g. Amazon Echo, Google Home) have brought voice-based user interfaces to the masses. The voice processing for those gadgets relies on various proprietary services "in the cloud", which generally leaves the free-software world out in the cold. There have been FOSS speech-recognition efforts over the years, but Mozilla's recent announcement of the release of its voice-recognition code and voice data set should help further the goal of FOSS voice interfaces. There are two parts to the release, DeepSpeech, which is a speech-to-text (STT) engine and model, and Common Voice, which is a set of voice data that can be used to train voice-recognition systems. While DeepSpeech is available for those who simply want to do some kind of STT task, Common Voice is meant for those who want to create their own voice-recognition system—potentially one that does even better (or better for certain types of applications) than DeepSpeech.
  • FreeBSD-Based TrueOS 17.12 Focuses on Faster Boot, Bhyve and LibreSSL Support
    en Moore, the creator of the FreeBSD-based TrueOS computer operating system and Lumina desktop environment, released the TrueOS 17.12 update, which introduces multiple enhancements. Synced with the FreeBSD 12.0-CURRENT and FreeBSD ports tree software repositories as of December 4 and November 30, 2017, respectively, TrueOS 17.12 is an incremental update to the operating system adding improvements to the OpenRC-based boot process, removable-device management, LibreSSL and SysAdm API integrations, as well as Bhyve support for TrueOS Server Install. "We have also been working quite a bit on the server offering of TrueOS, and are pleased to provide new text-based server images with support for Virtualization systems such as bhyve," said Ken Moore in the release announcement. "This allows for simple server deployments which also take advantage of the TrueOS improvements to FreeBSD."
  • Will Your Taxes Go Up or Down? A Calculator for the New Tax Bill
    ...Tax-Calculator, an open-source tax-modeling program.