gui

Qt mac : How does the layout differs from other OSes

Qt is a nice framework which allows people to develop something once and it will works for the 3 main OSes. But from times to times, there is some differences in the layout: placing some widgets does not have the same behavior as in windows or linux. Did you observe weird behavior ? on which Widgets ? how did you corrected this ? Than...

How to ignore GUI as much as possible without rendering APP less GUI developer friendly

The substance of an app is more important to me than its apperance, yet GUI always seems to dominate a disproportionate percentage of programmer time, development and target resource requirements/constraints. Ideally I'd like an application architecture that will permit me to develop an app using a lightweight reference GUI/kit and foc...

How to display scrollbar for a list view whose contents keep changing?

I have a ListView-like control that displays a list of items of various heights. The contents of the list, and the heights of the items can change – a background thread is populating the list and calculating the layout of each item, possibly even while the user is scrolling the content. Which brings me to my question: How do I display ...

Blackberry custom OVERLAY horizontal menu

Thanks to Max in this post, I made an horizontal menu. But now I'm trying to make an overlay menu, i I don't find how to do that... Let's see what i got first. So, I have a class MapScreen which display my map: public class MapScreen extends MenuScreen Then, I have in the same file the MenuScreen class like this that allows to displa...

Delphi Custom popup/dropdown, how?

I want to make a custom dropdow/popup menu with a shadow nicely beneath it. The problem is that it is not a standard menu and I need to put some components on the popup/dropdown. So basically I want a dropdown I can do whatever I want with, not being limited to simple menuitems. I want it to act like a normal popupmenu problem is where d...

How to run a .class file in Windows 7 OS?

Hi, This is probably a stupid question, but how do I run a class file on windows 7? I usually create my own .java files and then use a basic IDE (with JDK6) to compile it to a class and run it automatically. My professor gave a .class file that we are supposed to play with extensively but I have no idea how to to run it here. Note that ...

Is Java Swing still in use?

I am planning on making a Java Swing application and was wondering if Swing is still used or if it has been replaced with something else. Thanks in advance! ...

Data Visualization Prototype (Java/Eclipse/DAO/Relational DB)

Hello, I am building a prototype application which displays various 2D & 3D data charts. I am using a third party library for the charts, the database and data extraction layer have already been coded. Can you advise on a good desktop Framework to use within Eclipse to provide a 'professional' looking GUI with minimum coding required ...

Usability: call for action

I am designing a page, with tiny portlets. Now, I personally like my actions on the right side, yet I wonder if there are methodologies that are targeted about usability. After all, most applications are aimed at the user. What about yourself? Do you prefer information to be on top, on the left or on the right? I've you need to take some...

GUI-Library for microcontroller

I want to create a GUI driven application for a micro-controller (Atmel XMEGA) that is connected to a 128x64 dots graphics LCD (EA DOGL128-6) and 4 buttons for navigation. Controlling the display itself (e.g. drawing pixels and characters) is no problem but in order to prevent me from reinventing the wheel I was googling for a GUI-Libra...

Something to dynamically Generate a UI to edit XML file?

I have an XML file with a lot of nodes similar to the following format: <Factsheet page="GenericOfflineFactsheet.aspx" pageTitle="MyTitle" > <TopStrapline text="BlahBlahBlah" /> <Commentary page="Text.ascx" /> <ChartPanel page="Bar.ascx" appearanceFile="Bar.xml" /> <Strapline text="blah blah blah" /> <Funds> <fund id="215"...

Android xml pages

where to add the new GUI xml pages in android project, say I have a welcome screen in res>layout>main.xml layout and when user clicks "next" button, it has to load up a new page with username and password GUI. any help will be appreciated ...

Function that executes on GUI closing in matlab

I am creating a GUI in matlab using guide. It's non-blocking (not calling uiwait). When the gui window is closed, I would like to execute some clean up code. Is there an gui_ClosingFcn callback I should define in analogy to the gui_OpeningFcn template that guide creates for me? ...

what is the recommended way of running a embedded web server within a desktop app (say wsgi server with pyqt)

The desktop app should start the web server on launch and should shut it down on close. Assuming that the desktop is the only client allowed to connect to the web server, what is the best way to write this? Both the web server and the desktop run in a blocking loop of their own. So, should I be using threads or multiprocessing? ...

Simple popup java form with at least two fields

This is, I suppose, a very simple question for any Java programmer. My question is as simple as this: When the user clicks a button, I want to show a popup form that should have at least two JTextFields and two JLabels, so using JOptionPane.showInputDialog is not a possibility. Thanks. ...

Recieve Events from the BOs

How to keep receiving events even with changed references? In a project I have the following relation between BO and GUI By e.g. G could represent a graphic with time lines, C a TimeLine curve, P - points of that curve and T the time that represents each point. Each GUI object is associated with the BO corresponding object. When T ch...

How can I position QDockWidgets as the screen shot shows using code?

I want a Qt window to come up with the following arrangement of dock widgets on the right. Qt allows you to provide an argument to the addDockWidget method of QMainWindow to specify the position (top, bottom, left or right) but apparently not how two QDockWidgets placed on the same side will be arranged. Here is the code that adds th...

Netbeans GUI editor problems

Hey guys. Im making a portion of my app using the netbeans gui editor. Great so far. However ive added a new checkbox - and when i load the panel in my app the text attribute isnt shown...its just blank as if i have no caption on it... all the other ones display - so this is very annoying. It kind of seems that I have hit the limit on ...

Is it possible to allow a legacy Win32 GUI app to be run from command line as well?

We have some code that works and it's a Win32 app with a GUI, but I would like to be able to trigger it from the command line as well (silent mode). Is there any easy way to do this? Or do I have to create another project as a command line application? ...

New wxpython controls not displaying until resize

I have created a custom control (based on a panel) in wxPython that provides a list of custom controls on panel within it. The user needs to be able to add rows at will and have those rows displayed. I'm having trouble getting the new controls to actually appear after they are added. I know they are present, because they appear after a r...