Tag Info

New answers tagged

2

Ubuntu SDK promises to maintain backwards compatibility. As far as I can remember Ubuntu Components 1.1 was created with the introduction of new widgets like combo box, additional API changes, some performance tweaks etc. Core Apps are the first wave of consumers of the Ubuntu SDK followed by other 3rd party. I personally feel that we should be striving to ...


1

Applications should not rely on knowledge about the actual positioning provider but instead rely on the accuracy estimates provided with individual position updates (see http://developer.ubuntu.com/api/qml/sdk-14.10/QtLocation.Position/#horizontalAccuracy-prop). With that, application developers do not need to worry about specific characteristics of ...


0

I think what you need is the ListItem.Expandable SDK component. It was added in the 14.10 SDK Framework which is at the time of writing this answer is a development framework. It provides the capability to collapse and expand the listitem on clicking it. I would recommend you read the API documentation here to learn more about the component and see how to ...


1

I think it did not work for you due to GPS not being enabled on the device. The following code sample worked without segfaulting on my laptop. On the device, it takes about 1-2 mins to get the GPS lock since AGPS hasn't landed yet. import QtQuick 2.2 import Ubuntu.Components 1.1. import QtPositioning 5.2 MainView { id: mainView applicationName: ...


1

It is quite simple to do the above. To set automatic focus to the TextField component, you can call forceActiveFocus() from within your TextField component as shown below, Component.onCompleted: { forceActiveFocus() } This sets the focus to the textfield immediately after it is loaded. As for showing the numpad, you can do so by setting the input ...


0

There is nothing wrong with your glade file. Ubuntu uses Unity which displays the Menubar at the top of the desktop!


2

You can make a Flickable scroll to a specific point by setting the contentY property of a Flickable. Quoting the official documentation from qt-project.org, ContentY holds the surface coordinate currently at the top-left corner of the Flickable. For example, if you flick an image up 100 pixels, contentY will be 100. So if you want to scroll a ...


0

This is because you are running an out of date version of the Ubuntu SDK. The Ubuntu SDK is no longer updated on Ubuntu 14.04 (Trusty) even if you have added the SDK PPA. This is because the Ubuntu SDK requires Qt 5.3 which is only available in Ubuntu 14.10. You can solve this by, Using the Emulator for testing your applications. So you code on Trusty, ...


3

The simplest solution would be to set width: parent.width/4 for each of the checkboxes. If you want to keep the checkbox width set at some known value, you could instead set spacing: (parent.width - 4 * checkboxwidth)/3 on the Row. Note that this will cause the elements to overlap when the parent is narrow. If you're targeting Qt 5.1 or higher, you may ...


1

I realize this question is old, but there are developments on the horizon which may be promising: As the LiveCode Community Manager, I can confirm that right now there is no interface between LiveCode and Ubuntu Mobile. However, many of us in the LiveCode community are also Ubuntu fans, and will be forming a team to explore options for using LiveCode's ...


0

I have found the problem ! It's crash because I use import QtQuick.Controls 1.1 without that, it's work well


2

Component.onCompleted runs as soon as the interpreter has read the QML file and parsed it into objects. Your "page 2" object is created at this time, but it has visible: false so you can't see it. That doesn't keep the onCompleted code from running. I know of three ways to get code to run only when the page gets pushed to the stack: Create a custom ...


2

Use this instead: onCurrentlyExpandedChanged: { flickable.DragOverBounds flickable.contentHeight += itemHeight console.log(itemHeight) }


1

I rebuild the application with a more recent version of the Ubuntu SDK (14.04) and now I don't have the error any more. However, please notice I had an error because of absolute paths in the Exec key. I corrected this too.


0

I've just discovered OpenMeetings after some googling. Features (list taken from its web): Audio and Video Conferencing Meeting recording and Screen sharing File Explorer With public (conference room) and private (logged user) views Moderating System Multi-Whiteboard and Chat White board with drawing, writing, Drag n' Drop, Resizing, Images User and ...


0

With QML applications there is a deep integration javascript ! And you can compile your application on Linux, Mac, windows, ubuntu touch, blackberry, android, ios, windows phone


0

WebApps As far as I know, HTML5 Web Applications which run on Ubuntu [Touch] are simply a Chromeless browser running your application "like" a native application in Ubuntu, with some low-level API to access a few features of Ubuntu (currently, only Desktop). So it doesn't matter what server-side language you use, Node.js or whatever. PhoneGap We can't ...


5

Wubi uses a virtual disk (c:\ubuntu\disks\root.disk), so it's not actually installed on NTFS in the original sense. The Wikipedia article on Wubi explains pretty well how it works. To answer your question, let me quote a few lines from the History section: A number of Linux distributions, including Red Hat Linux and Slackware's ZipSlack, provided a ...


1

Unity, by choice, doesn't support what you are referring to as "decent tray icons". It's indicators or nothing. From there you have several options: Make do with the limited indicator capabilities. You can set the menu that will by used by your indicator with the standard QSystemTray.setContextMenu() method. Detach your app from the systray entirely. As ...


3

You need to set the useDeprecatedToolbar property of your MainView to false. This is temporary because we are currently supporting an old API (tools for toolbar), and a new (actions to go in the header). For Ubuntu.Components 1.1, the default value of useDeprecatedToolbar, which is now true, will be changed to false in the very near future (this week or the ...



Top 50 recent answers are included