user-interface

show dialog yes/No before leaving the app via Back button

If user repeatedly presses back button, I need a way to detect when they are on the very last activity of my task/app and show "Do you want to exit?" dialog befor they return to Home Screen or whatever previous app they had running. Its easy enough to hook onkeypressed(), but how do I figure out that this is a "last" activity in the tas...

Tips for simplifying UI with large data model?

Hello, I'm working on an app for iPhone, and the data model looks a little crazy - 16 entity types. Could you offer any advice for masking complexity like this from the user? I know all these need to be there, but I'm trying to make it look simple, cause otherwise people will not understand. The Tricks I have figured out so far: My ap...

How to slide(push) controls down/up in a View?

Hello folks! I have a button which when pressed, should push the controls below it down and show textFields on the space freed. Basically, just changing the position of these controls in an animated way. Any ideas/tips on how to do that? I tried the code in: How to Make a UITextField Move Up When Keyboard Is Present But couldn't get i...

Android app UI - PSD, what next?

I'm designing the UI for an Android application. I have the layered PSD ready now, but I'm not sure whats the next step. For the web, I would just slice the images and write html/CSS manually. Thanks ...

Designing for mobile devices?

Hi, I'm looking to start developing for mobile devices. I think designing mobile applications is quite different from that of desktop applications. I'm conceived that designing UI requires a totally different approach. Where can I learn more about designing for mobile devices? Can you provide me with links to articles or blogs et...

How to create such an iOS interface?

Would you please have a look at Tipulator app: http://www.sophiestication.com/tipulator/ I'm interested in the upper graphic part of the application, how to create such an interface? It doesn't look to use standard UIKit components, it looks like pure graphics yet the values can be updated as a UIKit component. ...

QT plugin loader doesn't instantiate a UI plugin

I've done a QT (4.6.3) program/GUI that loads plugins in real time and this works wonderfully. Now I've just created a new plugin that differs from all the others because it has a .ui file as it should show a Dialog GUI when executed. Well, it cannot be instantiated by the plugin loader. I've already tried to comment only the part with ...

android detect if a dialog is active?

Is there a generic way to determine if there is dialog currently shown ? Sure, i can keep track of all createDialog and dismissDialog invocations, but that's cumbersome. thanks ...

Is it possible to create detailed error messages from complex database queries?

Let me illustrate this question with a simplified example. Assume I am building a project using python with a PostgreSQL relational database. In my database I have two tables "parent" and "child" which are N to M related through the table "parent_child". I want to be able to retrieve some data about a specific child owned by a specific p...

QT: QFileSystemModel _q_fileSystemChanged slot is executed on the UI thread which contradicts documentation

Hello, My UI is using QTreeView with QFileSystemModel to be able to select folders and files. The documentation for QFileSystemModel says that file structure update is done on a seperate thread which would mean the UI would not be blocked. However, this is not the case for me and I can't figure out the discreptency and how other peopl...

help with Handler class to update UI - Android

Hi Everyone, I am hoping you can help me: I need to update my ui for an android app and I'm trying to use the Handler class to do it, using http://developer.android.com/resources/articles/timed-ui-updates.html and the android developer resources "Common Task" for using Handlers as guides. Basically, I need something between the two - ...

What generic, flexible user interfaces are there which can relate to a variety of backends?

What I'm looking for is a type of user interface that has various generic elements which can be edited and arranged in a WYSIWYG manner by the user. Various backend models can be plugged in, and the user can then edit layouts of buttons, sliders, textual or graphic display elements, etc., and hook them up to control and display aspects ...

MFC - dim main window when showing modal dialog

I have a fairly standard MFC application that consists of a main window, and occasionally brings up modal dialogs. As we all know nothing can be done outside a modal dialog until it is closed. Therefore, a nice UI feature is to "dim" the rest of the main window behind the dialog, to visually indicate you can't use it until you're done ...

Silverlight: Why is there space between these two elements?

I'm using Silverlight 4 to develop a Windows Phone app. I have a control defined by the following XAML: <Grid x:Name="LayoutRoot" Background="Transparent" Margin="0,0,0,20"> <Grid.RowDefinitions> <RowDefinition Height="Auto" /> <RowDefinition Height="*" /> </Grid.RowDefinitions> <Grid.ColumnDefinitions> ...

Critique for an approach to send status messages to the UI?

Hello. We are writing an application hosted in Excel 2002 (groan). One requirement is that, during certain operations, we submit progress messages to the user from the business layer. However, these messages can be displayed at multiple sites, one being the Excel status bar, and another being a label on a form, and possibly others in ...