gui

C# - GUI not updating until code is finished

Hey, I have a sequence of code that goes something like this: label.Text = "update 0"; doWork(); label.Text = "update 1"; doWork2(); label.Text = "update 2"; Basically, the GUI does not update at all, until all the code is done executing. How to overcome this? ...

How do Flex developers coordinate with designers?

I've usually designed Flex applications myself but this time I'll need a designer to assist with skinning the application. I've worked with this designer for a while, and we could work well on an HTML/CSS environment. He can't code, he sends me sliced PSDs which I could convert to clean code. But I'm not sure how to have him assist me wi...

How to make use of the "pinch" touch effect in the Sencha Touch framework?

I'm trying to figure out how to make use of the "pinch" touch effect with Sencha Touch. Do you know of any examples that help with the first steps? The documentation seems to be rather silent about it. Specifically I'm looking for a common task as a starter: I want to zoom it - and - zoom out of an image in JPEG format. Do you know if...

Android populate and set values from UI to object and Viceversa

I am writing a commercial Android app to take survey, which should also give option to edit survey. What is the best approach to link UI fields to database without writing explicit logic to do that. ...

Blackberry XYEdges class explanation

Ok, I've read through the documentation at http://www.blackberry.com/developers/docs/4.2api/net/rim/device/api/ui/XYEdges.html for information concerning how the XYEdges class works, but I seem to be misunderstanding something. My question is where is the point of origin on this coordinate system? Is (0,0,0,0) located at the top left c...

Tkinter unexpected behaviour

Hi everyone, I've been writing a long GUI in Python using Tkinter. One thing that I don't understand is why I can't bind events to widgets in a loop. In the code below, binding works well if I do it manually (commented out code) but not in a for loop. Am I doing something wrong? import Tkinter root = Tkinter.Tk() b1 = Tkinter.Button(...

Class inheritance for GUI using wxpython

I have a very simple GUI that accepts two parameters and then calls three other classes whose names are DigitalFilter(), BeatByBeatVariables(), and GetSummaryOfWholeTest(). This is my first time writing up classes, and I need help with the syntax. Specifically, can you help me with inheritance? I want the GUI's class MainWindow(wx.Fra...

Adding New Tab with JQuery UI tabs

Hi all, I am developing a web application using MVC .net framework. In the user interface of this application i want to create a tab when a button is clicked. following is the method i am creating this tab when a button is clicked in the user interface $('#tabs').tabs("add", 'uploadnewcv', 'Add New CV'); while i creating this tab i ...

How to set QFileDialog to set initially selected files?

I mean when the Dialog pop up, some files according to the filer are in selected state. Does QFileDialog has a way to do this? ...

How to have procedural code wait for user input from a GUI before continuing?

In my program there is a complex calculation that requires the user to evaluate intermediate results. This works well in a command line application (which is what my code looks like now) because the interactive prompt halts the program execution until the user hits enter. The command line code looks something like this: def calculate(...

ListView where each item is an ImageView with a radiobox and one item can be selected at a time?

I'm tearing my hair out over this. I would like a ListView where each item in the list is an ImageView. I want each item to have a radio button next to it and only one item can be selected at a time (i.e. single choice mode). This code works fine for creating a list of text box with radio buttons: ListView listView = ... String ...

help with wxwidgets intsall

I have been trying to install wxwidgets on visual studios 2010 but I keep getting the same error. It would be great if some one could tell me what it means and how I can fix my problem. This is the error message I keep getting Error 1 error MSB3073: The command "xcopy ....\include\wx\msw\setup.h ....\lib\vc_dll\mswu\wx\ /Y :VCEnd" exit...

java launching multiple swingworkers from the same UI

Brief description of UI and setup 1)Plain vanilla frame, with button1 and button2 and textarea1 and textarea2 2)Button1 launches a continuous running task using a swingworker myswingworker1 and the swingworker's process method continually updates textarea1 3)Button2 launches a continuous running task using a swingworker myswingworker2...

API-level Unicode GUI Native apps in C++ for Windows/Linux/Mac

API-level Unicode GUI Native apps in C++ for Windows / Linux / Mac OS X. I am looking for writing a simple Unicode, GUI, Native, application, that can be run without need any non-standard library, written in C++ compiled with GNU-GCC (g++). NOT I don't mean one-code-source run-anywhere, but 3 (Win/Linux/Mac) code source! run-without-l...

Opinion for a suitable programming language for Neural Network brain of a Robot?

I am doing a Neural Network project as my final year undergraduate project. The idea of the project : A very simple robot with 2 motors, and two ir and bump sensors will traverse a environment with the use of a Neural Network which is in a computer. The main requirement is to observe possibly with a suitable GUI the learning process an...

WinForms equivalent of HTML <optgroup>

Is there a desktop .NET-based equivalent of the <optgroup> functionality for comboboxes on html pages? ...

Creating a GUI on Borland c++

Hello. My name is Guillermo and i'm studing Computer Sciences at college. For my final project, i have to build a game on Borland C++ and i was curious about making a GUI for it The game is really simple. Create a matriz dimension 4x4 (with 16 elements) and fill it with random numbers from 1 to 15 and one empty space. The user/player wo...

Qt Creator - How to write the UI?

Hi, I've just started working with Qt Creator and I want to write the UI. My question is: what is the best way to write it? By drag and drop from widget box or writing code? I've dragged some widgets and I saw that not all of build in QWidget like QIcon and QMultiLineEdit are in the widget box. How to add them? Thanks! ...

C# Ensuring the GUI is as smooth as possible

Hi guys I'm being overly simplistic here, but say I have a WinForm with several controls on it (for example: a textbox, a treeview and a listview). To ensure the smoothest possible experience for the future (for instance, that listview may one day hold a lot of data), what should be done at the start? My knowledge of this kind of thin...

GUI frozen while i update my ObservableCollection

I have a WPF application that displays an ObservableCollection. It's about 182 rows, and the object (let's call it PositionLight) inside the collection has about 70 properties to display. All calculation to input data in these properties are made in a second thread which will recalc everything every 20 secondes, and will send a List to ...