gui

Moving Qt UI code out to separate class

I'm just starting with Qt. Despite spending sometime on it this evening, I'm struggling to move my UI setup code out of main into it's own class. #include <QtGui> int main(int argc, char *argv[]) { QApplication app(argc, argv); QWidget *window = new QWidget; QLabel *hw = new QLabel(QObject::tr("Hello World!")); QHBox...

Adding GUI components to a precompiled application.

iI there any way to add a GUI component to an application which is already running? I.E. Add an extra tab into a third party GUI? I have a third party application where I need to add an extra tab into the tabbed interface (or even a button to link to a new form). I can see the UI components in UISpy and Spy++ but Can't see a way to al...

How to programmatically program a "Wheel Scroll" using Ruby on Windows?

Is there a way to program a "Scroll wheel" turn on the Windows platform using Ruby? Kind of similar to programming a click on Windows, or a keyboard key press, but this is to program a scroll wheel turn. thanks. ...

WinForms.TreeView - The best way to filter nodes

Hello everybody, Whats the best/efficient way to filter a Treeview nodes using WinForms.TreeView? For example: I typed "abc" and only the Nodes contained "abc" become visible. Then I typed "abcd", and I should to see the only Nodes containing "abcd" text. And so on, so each time I changed filter criterion the treeview content is also c...

Changing JList row color at runtime

Hi, I am trying to change JList rows dynamically. I need change nth row colour, highlight it(n is unknown during compilation). I saw a lot of examples with custom ListCellRenderer, but all were "static". In other words I have JList with x rows. During runtime my "business logic" detects nth row is important. So I want make its backgroun...

QComboBox inside QTreeWidgetItem

Is there something similar to the (PyQT) QTreeWidgetItem.setCheckState(0, Qt.Checked) but for the combo box? I can't see anything in the reference, so how can I insert a custom QComboBox as one of the elements within QTreeWidgetItem? ...

Blackberry - How to make my Bitmap field focusable?

I tried to add Field.FOCUSABLE to my bitmap declaration Bitmap _fire=Bitmap.getBitmapResource("fire.png",Field.FOCUSABLE); But the method doesn't accept such arguments. Any other possible way of making my display bitmap image in focus. Thanks ...

C# How do I use an event to get my GUI update on change of an object?

C# How do I use an even to get my GUI update on change of an object? I have a GUI program that creates an object and displays the object in a data grid through reflection. When the user updates the information I want to be able to verify the new information and send feedback to the user. I have a method that does the verification of th...

Trouble creating an iTunes style source list in Cocoa

I'm working on a piece of software that would work well with an iTunes style source list. I have been looking around the net for how to implement it but all the examples seem a bit sketchy. I found Mark Alldritt's implementation and tried to use it in my project but it is rendering incorrectly. The cells seem to be rendering half outsi...

Is there a way for one .NET Control to contain another Control which is owned by a seperate GUI thread?

I'm looking at creating a tabbed interface which has user controls (possibly written by plug-in developers) within a tabbed or MDI interface. These plug-in controls could unintentionally freeze their GUI thread, and I'd prefer that they not influence user controls in other tabs. Much like Google Chrome creates a process for each tab; b...

Java Swing: what class can be used to implement this?

What Swing class can I use to implement something like this? EDIT: Hmm..for some reason I cannot add the image here. Well, here's the link: Basically, I need a list table, where each column can be of different type of gui (i.e. plain text, check box, or drop-down menu). EDIT I have re-publish the image for you ;) ...

jQuery walkthrough plugin

Is there a plugin that can help create javascript app/site walkthroughs? If not, (I can't find any via google, though I could've sworn I knew of at least one), is it a good idea (for a moderately complex app)? How does it compare to screencasts? What are some best practice if you were to do one? And in general terms, what are some ideas...

How to develop a multi screen Blackberry application?

I need to develop an application where I am able to change screens using menu items previous and next. Can u give me a rough idea about how to implement it? Thanks ...

How to use Custom Background image on screen or custom Background colors?

I want to change the background screens of one of my Blackberry app and put something like a company logo. Any idea how to change the background of the screens. And yes can we also change the color of the title label fields or the buttons? Can I also change the font color? ...

How to make an image as transparent in BlackBerry?

I am new to BlackBerry Java application development. My scenario is: In my application a gallery list of images will be displayed in a small icons. If I click on any image it will display in a large mode. Here I need to provide controls like front and back buttons. On clicking on those buttons the background image should change. In addit...

focusNextChild problems in PyQt

I'm trying to set the focus from one widget to the next one using the focusNextChild() method. It works, but I there seems to be a slight difference between using the tab-key or doing things in code. If the next control is a button, using the tab-key results in a focused button with its caption surrounded with little dots, so you see imm...

Architecture and patterns for developing a custom GUI designer via C# & WinForms.

I only have a vague hint of spec so far, but I'm just testing the waters. I need to create a designer that will be used for creating CBT tasks and workflows. It must cater for custom objects (controls) as well as standard .NET WinForms controls. I very lightly scanned some papers long ago on using the Visual Studio SDK and deployable ...

Convert Xaml UI to .Net Compact Framework UI

Is it possible to convert Xaml into a .Net Compact Framework UI (dll, exe, etc...)? In fact any XML based representation would be nice (QT, GTK, etc...). ...

does GUI mean the same as MMI ?

any material on the core differences between the terms will be welcomed. ...

How to maintain state in a web app - as HTTP is stateless

I am new in building web apps and just begun learning and setting up Grails. I am planning to build an app which has a flow of 4 to 5 pages. Since HTTP is a stateless protocol, how is the state between the pages maintained usually. I am curious what is the accepted standard here, should I create session scoped objects and use them betwee...