gui

Open source simple C++ with wxWidgets GUI applications

Hi, I would like to write a simple GUI application using C++ and wxWidgets. I'm wondering if there are any open source GUI applications using C++ and wxWidgets and tutorials for reference. Thanks, ...

Effective Keyboard Input Handling

What is a good way to implement keyboard handling? In any language, where I write a keyboard-interactive program (such as a tetris game), I end up having some code that looks like this: for event in pygame.event.get(): if event.type == KEYDOWN: if False: pass #make everything an elif elif rotating: pass ...

How to combine GUI applications in Windows

I have a Windows GUI application that's using the QT framework (currently version 3.3.5, might change to QT4). I want to combine other Windows GUI applications in the main application. I can't use the widgets directly in the main application due to several constrains which I can't control. The final layout should look like this: Curr...

What is your favorite Delphi open source functional testing tool?

I'm aware of Selenium which is a very good open source automated website testing tool. Is there any equivalent open source tool to provide functional testing for Win32 GUI Delphi Applications? After a quick Google I've found this one : EFT So my question is what is your favourite functional testing tool and why? ...

Using the QMDIArea with qt4.4

Hi I'm using the QMdiArea in qt4.4. What I'm doing: If a new project is created, I add a number of subwindows to a QMdiArea. And I'd like to disallow the user to close a subwindow during the runtime. The subwindows should be closed, if the hole application is closed or if a new project is created. As I have seen in the qt-documentaion,...

Fetching pictures from the net and displaying it sequentially

I want to create a scrollable list of pictures fetched from the internet and give the user the ability to click on it. How do i go about doing it in WinForms/C#? Is it possible to add picturebox control/ controls to the listBox? I tried adding a list of picturebox into UserControl with AutoScroll set to true, which will give me a feel l...

GUI Framework patterns?

We are developing in an embedded type environment and find ourselves needing to create our own UI framework. I have done this before, but I am interested in doing a little bit of research around common design patterns for frameworks. Types of things that I am thinking of as patterns (somewhat far reaching): Widget Focus / defocus Wi...

Multiple QMainWindow instances?

Hi all, The QMainWindow is the main window in a Qt application. So usually you'd have only one, but would it be possible at all to have multiple QMainWindow instances in your application? I am working on integrating a Qt-based GUI application B into another Qt-based GUI application A. Both these applications have a QMainWindow, and I ...

Padding in NSTextView -- possible without custom drawing?

In Cocoa, NSTextView has a rather shallow margin between text and border. Is there a way to specify a padding (distance between text and border of view) for a NSTextView without resorting to owner drawing? ...

Gui - Best way to navigate between windows?

Hi, I try to build a gui (Swing) for a simple java application. The application should have a start window like a menu. From there I would like to navigate to several other windows. My question is what is the best-practice to achieve such a navigation? Should I build several JFrames and switch the visibility of them on/off when navig...

js horizontal slide effect

i'm currently using jQuery and am looking for a way to slide an image left as a new image slides left into its place. specifically, i have a static image of an iphone. when i click a link, i need the current image displaying on the iphone's image viewer to slide out to the left as the new image slides in from the right. oftentimes the...

Java GUI described in XML

My company currently evaluates the development of a Java FAT client. It should support a dynamic GUI and has as much logic as possible on the server side. Hence the idea came up to send the screen as XML to the FAT client, show it to the user and send the entered data similar to "html form" back in a structure like: <fields> <field ty...

Animated insertBefore in javascript

So I have this app that checks for updates on the server getting a JSON response, each new update is put at the top of my list on a new div that is added via insertBefore using javascript. All works just fine, but i'd like to add an animation effect when the div is added, i.e. "slowly" move the existing divs down, and add the new one at...

What is the best way to implement a 2D grid of radio buttons?

What is the best way to implement a 2D grid of radio buttons so that only one option in each column and one option in each row can be selected? ...

Looking for recommendations on open-source Java instrument visualization components

I am putting together an Java application that needs to display some basic lab instrument components. For example, I'd like to display: a strip chart, oscilloscope-style trace, and a panel meter (galvanometer needle). Rendering requirements are open (as long as the engine is free and generally available). Any suggestions? ...

What is the best way to display nested formulas to business users?

Many of our transactions are comprised of calculations that are comprised of other calculations. How did you represent the hierarchy / execution graph to users? Was there a specific control you found that worked well? How would you project the result of a change to one of the formulas before committing that alteration? One suggesti...

Has anyone used / developed an auto-complete textbox for editing formulas?

I am interested in implementing an html textbox that has auto-complete capability which supplies suggestions for mathematical functions. My goal is to be able to have a text area where a user enters a series of equations and for each variable they can select from a library of functions and custom formulas. Basically this would be intell...

Advanced Windows Application UI (MDI Tabbed Group)

I would like to be able to create an MDI UI layout that extends the behavior of MDI Tabbed Groups in the following way. Within a pane for a split tabbed group, I'd like to create a nested tab group with the opposite directional alignment. For instance, given a horizontally split top level, I would like to create a vertically split tab ...

How much logic should you put in the UI class?

I'm not sure if this has been asked or not yet, but how much logic should you put in your UI classes? When I started programming I used to put all my code behind events on the form which as everyone would know makes it an absolute pain in the butt to test and maintain. Overtime I have come to release how bad this practice is and have s...

UI components for touch screen winforms applications?

I have seen this question: http://stackoverflow.com/questions/134067/are-there-any-decent-ui-components-for-touch-screen-web-applications and have allmost exact the same question but Im focused on winforms. I working on an application that is not primary made for using with a touch screen, but now I see more and more customers using to...