Qt Virtual Keyboard 1.1

Published Thursday July 3rd, 2014 | by

The initial version of the Qt Virtual Keyboard was released earlier this year, and has quickly become a popular value-add component amongst our Qt Enterprise customers. We are continuously developing it and are now releasing version 1.1, which brings support for Chinese input, 5-way navigation, sound feedback and adds new layouts (languages).

With version 1.1 of the Qt Virtual Keyboard, we are happy to announce that we have made it possible to input Chinese characters using pinyin. Needless to say, this has been a highly requested feature, we are happy to have included.

"Hello World" in Chinese

“Hello World” in Chinese

Read more…

3 Comments


Posted in Uncategorized

Qt Weekly #16: QQuickWidget

Published Wednesday July 2nd, 2014 | by

Combining Qt Quick 2 scenes with traditional QWidget-based user interfaces is a good path to choose if you want to transition your exisiting application to use more of the cool new functionality that Qt Quick provides. While Qt 5.2 introduced QWidget::createWindowContainer() for embedding native windows as a regular widget, a number of limitations remained: Most notably the inability to have a well-defined stacking order and various surprises regarding focus handling, drag and drop, etc., depending on the platform.

Such issues may sound familiar also to those who are working with the good old QGLWidget. It seems to work fine – until it becomes part of a more complex UI, gets added to scroll and MDI areas, and gets combined with overlapping widgets. At that point unexpected issues, like painting problems, artifacts and broken input, start to surface. The fact that such widgets are in practice native windows – and turn their ancestors and siblings native too – is hidden from the developer, even though this has consequences.
Read more…

9 Comments


Posted in Uncategorized

Qt Weekly #15: Visualizing data stored in Qt item models using Qt Data Visualization

Published Friday June 27th, 2014 | by

Item models are a commonly used to store data in Qt applications, so the Qt Data Visualization enterprise add-on offers ready-made data proxies to facilitate the visualization of data stored in these models. The basic usage is the simple item model role to data item value mapping, but with Qt Data Visualization 1.1, more powerful options to map model data have become available.

Basic use cases

Direct one to one mapping

The most basic use case of one-to-one mapping is demonstrated in Qt Quick 2 Scatter Example, where the data we want to visualize is stored in a simple ListModel like this:


ListModel {
    id: dataModel
    ListElement{ xPos: -10.0; yPos: 5.0; zPos: -5.0 }
    ListElement{ xPos: -9.0; yPos: 3.0; zPos: -4.5 }
    // And so on...
}

Read more…

1 Comment


Posted in Qt Data Visualization

Qt 5.3.1 Released

Published Wednesday June 25th, 2014 | by

I am happy to announce that today we released Qt 5.3.1. Qt 5.3.0 has been well received with over 500.000 downloads in the first 5 weeks of release. I believe this new patch release is even better offering many improvements over Qt 5.3.0. As a patch release, it does not add new features, but various improvements and fixes. Qt Creator version 3.1.2 also released today, is packaged into the installers. For Qt Enterprise users we are providing a fully supported Qt Quick Compiler 1.0.0, as well as updates for Data Visualization (version 1.1) and Charts (version 1.4).

The focus of Qt 5.3 has been in stability and usability, and we have continued this trend with the improvements now released with Qt 5.3.1. Qt 5.3 introduced  a nice set of features, such as QQuickWidget, Qt WebSockets module, Purchasing API, Compiled Qt Quick, support for WinRT (and Windows Phone), as well as many others. Many of these features have been made even better in Qt 5.3.1 based on feedback received from customers and the whole Qt community.

Read more…

36 Comments


Posted in Releases

Qt Data Visualization 1.1 and Charts 1.4 released

Published Wednesday June 25th, 2014 | by

We’re happy to announce that we have now released the Qt Enterprise Data Visualization 1.1 and Charts 1.4 add-ons. Both of these contain improvements and new features based on customer requests.

DataVisualization_1_1

Data Visualization new features & functionality

  • Custom 3D objects and labels can be drawn in graphs to draw attention to certain areas or illustrate data relation to physical objects
  • Axis labels can be used to interact with the graph. For example, data scrolling can be implemented with dragging of axis labels
  • Graph aspect ratio can be defined
  • Logarithmic axis is supported
  • Graph can be rendered to an image
  • Axis titles have been added
  • Axis labels can be defined to automatically orient themselves towards the camera so that labels are easier to read from different angles
  • Graph can be drawn with orthographic projection
  • Possibility to select different graph elements (axis labels and custom items) has been added
  • Regular expressions can be used to split data between rows and columns in item model data proxies (e.g. splitting time and date from time stamps)
  • Sum and average functions have been also added for handling multiple matching values in item models

Read more…

6 Comments


Posted in Uncategorized

Qt Weekly #14 Testing Accessibility on OS X

Published Friday June 20th, 2014 | by

When talking about accessibility, the question of how blind people interact with computers often comes up. This article will explain the basics and take OS X as an example to let you test an application. There are many tools to help people with low vision, for example magnifiers. Here it helps a lot when applications provide sufficient contrast and use clear fonts. But magnification can only get you so far, and at some point it’s not enough to effectively use a computer anymore. This is where screen readers come into the picture.

A screen reader is an application that presents the screen contents to the user in a non-visual way, either using speech output or using braille displays. For testing it is usually enough to deal with the speech output of the screen reader, braille will usually work if speech works. OS X comes with VoiceOver out of the box which makes testing applications easy. For a full description of VoiceOver, head over to the documentation, we’ll just mention the most essential keyboard shortcuts here. There is also a tutorial for VoiceOver that is a fun way to get started. To test a Qt application just run the application and turn on VoiceOver (Command-F5). For OS X, accessibility support in Qt has improved a lot lately, so make sure to use Qt 5.3 at least.

Read more…

Comments Off


Posted in Accessibility, Mac OS X | Tags: , ,

Qt Weekly #13: QStringLiteral

Published Friday June 13th, 2014 | by

QStringLiteral is a macro that allows you to create QString objects from string literals with little to no runtime overhead. However, its usage can be tricky especially in code that must compile with different compilers, like the Qt code itself. This blog post lists some guidelines to help you avoid the pitfalls.

QString is the ubiquitous representation for a Unicode string in Qt. A common source for a QString are literals hard-coded into the application. In Qt 4, any such creation of a QString from a literal required creating the QString object on the heap, and then translating the literal characters from its run-time character codec to UTF-16. Since Qt 5.0, QStringLiteral allows to avoid this overhead by creating the object and doing the conversion at compile time.

Enable C++11 in your project

QStringLiteral is only optimized if the C++ compiler both supports lambdas and unicode literals. This is the case for Microsoft Visual Studio 2010 and newer, but GCC and Clang need to be told that they should support all C++11 features. When using qmake, this can be achieved by
Read more…

13 Comments


Posted in C++, Qt | Tags: , ,

Qt Cloud Services at Contributors Summit

Published Wednesday June 11th, 2014 | by

Greetings from Qt Contributors Summit!

How’s it going? We just had a session about Qt Cloud Services here at Qt Contributors Summit and it was great! In our session, we demoed the brand new Managed Runtime service and got very good feedback from the people. With our Managed Runtime service you can write and deploy your server-side software written with Qt or a number of other programming languages in a matter of minutes.

Want to see how it works? Check the video at https://vimeo.com/97709588.

In case you want to know more details, check the Qt Contributors Summit presentation at http://www.slideshare.net/qtcloudservices/qtc-managedruntimes.

The service will become available for public by end of June 2014. If you want early access, sign-up at https://qtcloudservices.com/early-access.

Hope to see you in Qt cloud soon! If you have any questions, just let me know!

2 Comments


Posted in Cloud, Qt, Qt Cloud Services | Tags:

Hello from Qt Contributors’ Summit

Published Tuesday June 10th, 2014 | by

Berlin has been scorching hot with Qt Contributors’ Summit in town and temperatures going up to 35 C.

Lars on the state of the project

Lars on the state of the project

The Qt Contributors’ Summit program is filled with interesting sessions, so many that it is impossible to attend all the sessions one would like to take part in. True to the Contributors’ Summit tradition, the program has been living all day, with sessions being moved around to avoid topic clashes.

In one day it has been possible to hear and discuss about mobile platforms, Qt Cloud Services, touch and gesture implementation and other interesting topics.

The day began with chief maintainer Lars Knoll presenting the state of the project, with the maintainers who are present, giving a short update on their areas. Qt 5.3 has achieved really impressive download numbers, getting 300k downloads in the first week, showing a strong and growing interest in Qt. The contributions to Qt have also stayed strong. As part of his presentation, Lars talked about the need to bring the Qt community even more together, by combining the commercial and open source aspects of the project.

Session

We will be bringing Lars’ session to you on our Youtube channel once we get back from the event and a bit of time to edit the video. Also the slides will be made available, to make it easier to follow the talk.

Overall the first day has been full of interesting talks, great sessions and good coffee break discussions.

A big thank you goes to all our sponsors, Digia, Froglogic, BasysKom, Intel, Canonical, Pelagicore, ICS, KDAB and e-GITS, for making this possible!

Tomorrow will continue with a lot of sessions, and more discussions on the state and future of Qt.

2 Comments


Posted in Uncategorized

Qt Weekly #12: Qt Quick Controls’ Calendar

Published Friday June 6th, 2014 | by

With the release of Qt 5.3, the Calendar control was added to Qt Quick Controls, providing a Qt Quick counterpart to QCalendarWidget. Although it is still quite a young control, Calendar can already cover many use-cases. We’ll show an example of Calendar used in a touch application. Note that a CalendarStyle has not yet been written for touch devices (styling for Android is currently in the works). Thanks to the versatile styling API, however, we can do this ourselves.

Calendar

The Calendar control.

Read more…

5 Comments


Posted in Uncategorized

  1. Pages:
  2. 1
  3. 2
  4. 3
  5. 4
  6. 5
  7. 6
  8. 7
  9. ...
  10. 160