Tag Info

Hot answers tagged

6

gu is short for grid unit. From the user interface manual: Measurement Units A new measurement unit is defined called the grid unit, abbreviated gu. 1 grid unit translates to a given number of pixels depending on the type of screen that the user interface is displayed on. For example, on a laptop computer 1 grid unit will typically translate to 8 ...


4

The install page details how to install Ubuntu for supported devices.. https://wiki.ubuntu.com/Touch/Install If you want to download the images there's a link in the "Manually Download" section of that page. https://wiki.ubuntu.com/Touch/Install#Manual_Download_.26_Installation


3

The i18n portion is the component name, and the tr() function is the function to translate a string, in the Ubuntu SDK, with QML. This method of translation support uses gettext, and not the built-in localization features of Qt/QML, which are not compatible with gettext.


2

Ubuntu 14.04 The concept of QProcess Launcher type is now working without problems in Trusty with ubuntu-sdk-team PPA. Just create QML Extension Library + Tabbed UI project (don't use hyphens in project name yet), replace contents of mytype.h #ifndef LAUNCHER_H #define LAUNCHER_H #include <QObject> #include <QProcess> class Launcher : ...


2

Ubuntu Touch is a variant of Ubuntu for smartphones and tablets. Higher-end Ubuntu smartphones will be able to run a full Ubuntu desktop when connected to a monitor and keyboard, a feature pioneered in Ubuntu for Android. Ubuntu for Android is a variant of Ubuntu designed to run on Android phones, which provides a windowing application environment and ...


2

The Ubuntu Touch system isn'ẗ designed for PCs yet. Currently, it supports phones and tablets. Hopefully, some time this year, it'll get support for a desktop interface as well. I'd imagine some time after that, we'll get images for PCs. Of course, Ubuntu Desktop currently supports touch screens, if that's what you're after.


1

You can use the [QtQuick.Window][1] API to access Qt::ScreenOrientation (requires Qt >= 5.1, 14.04 provides 5.2): Qt.PrimaryOrientation: The display's primary orientation. Qt.LandscapeOrientation: Landscape orientation, display width is greater than display height. Qt.PortraitOrientation: Portrait orientation, display height is greater than display width, ...


1

You can manage resource files with the Qt resource system, but it's only meant to be use for applications mixing QML AND C++, not for projects started as simple Touch UI: The Qt resource system allows resource files to be stored as binary files in an application executable. This can be useful when building a mixed QML/C++ application as it enables ...


1

Solution for 14.04 (Easy, QML only) The following QML code will work on 14.04 only because it requires Qt >= 5.1 (and Trusty provides 5.2.1). You can have a .desktop file containing: Exec=/usr/bin/qmlscene %U /path/to/your/qml-app/myapp.qml MimeType=x-scheme-handler/myapp and use Qt.application.arguments[1] to receive the URL content. Solution for ...


1

Yes, we support most of the PhoneGap (Cordova) APIs, see http://developer.ubuntu.com/apps/html-5/guides/cordova-guide/ for more information on that. You can also use QML/Javascript on any Ubuntu device (phone, tablet or desktop).


1

don't worry about kernel 3.X not being mentioned. The last big change of the SCSI passthrough mechanism was in 2.5. So the documentation talks of old 2.4 versus new 2.6. More problematic nowadays may be demons which believe to own the CD drive. Escpecially when burning CDs you do not want to have an unattended process to grope your drive. The workarounds ...


1

QML relies on the core internationalization (aka i18n) capabilities provided by Qt, tr() serves two purposes: It is used by lupdate as a marker for translatable strings. It parses the argument to tr() and places them in a .ts file. It is used for the i18n run time. It is a method that translates the string given to it. See ...


1

Installing the new Intel graphics driver made my emulator work. First I installed Stable Open Source Graphic Drivers Updates but I don't think made any changes to my situation. Then I found an answer on askubuntu.com to a question on how to install the drivers. The second answer did it for me which was to install mesa-utils sudo apt-get install mesa-utils ...


1

Template, TemplateFlow, TemplateRow, TemplateSection and TemplateSectionNavigation are all internal components used by the ubuntu-ui-toolkit-examples package (See the full list here). To run the gallery, just type in a terminal: /usr/lib/ubuntu-ui-toolkit/examples/ubuntu-ui-toolkit-gallery/gallery They are not standard components of the Ubuntu SDK but ...


1

I don't know if there's a magic method for QML/Qt, but I usually just use a "toggle_it" function in python that looks something like: def toggle_it_cb(the_bool): the_bool = not the_bool return the_bool my_bool = False my_bool = toggle_it_cb(my_bool) print(my_bool) my_bool = toggle_it_cb(my_bool) print(my_bool) It could be done better if it were a ...



Only top voted, non community-wiki answers of a minimum length are eligible