user-interface

gtk: detect click on a cell in a TreeView

I'm displaying some data as a TreeView. How can I detect a click on a particular tree-view cell, so that I know which column of which row was clicked on? This is what I want to do, so maybe there's a better way: Part of the data is a series of True/False values indicating a particular set of options. For example, the options might be pi...

Suggestions for polished Line of Business web apps at CodePlex?

I am a asp.net web developer but not a very good designer. Looking for some inspiration for creating polished professional looking Line of Business apps which contain a good number of grids and reports which are contained in panels. CodePlex has a ton of web apps and I have little time to check all of them. Any recommendations for apps...

GetView Vs. BindView in a custom CursorAdapter?

So, I'm watching this video http://www.youtube.com/watch?v=N6YdwzAvwOA and Romain Guy is showing how to make more efficient UI adapter code using the getView() method. Does this apply to CursorAdapters as well? I'm currently using bindView() and newView() for my custom cursor adapters. Should I be using getView instead? ...

Opposite of View.bringToFront() in Android

Hi, I was wondering if there is some opposite method of View.bringToFront()? When i call bringToFront() my whole screen get locked cause i have some problem with overriding the onMeasure() method(when i implement onMeasure, my custom View doesn't draw itself even it enters onDraw method) and my cutom View takes up the whole screen.... ...

TimeZone Select field in Ruby on Rails.

I want to output one of those select fields for the user to select their timezone. My User model saves the timezone as an integer in seconds. But I can change that if it's not practical. Something like this: <select> .. <option value="x">+9:00 (Darwin, Australia)</option> <option value="x">+10:00 (Sydney, Australia)</option> .. </s...

How are embedded user interfaces controlled

How do they code the logic of a user interface running on embedded hardware. Microwave ovens, flat screen televisions, portable DVD players and even a digital watches these days have complex user interfaces. Are there tools / frameworks available to remove all the dirty work or are the developers using IF ELSE kind of constructs. I'm no...

Reverse engineering a game user interface -programming techniques

Hello everyone, I have programmed some user interfaces throughout my career, however they have always been somewhat dull, amateurish, and ugly. I was just playing Starcraft 2 a few minutes ago and was wondering how is something like that implemented? They probably use OpenGL for the spaceship to do the 3-d but what do they use for the...

highly customized UIs in Cocoa - Interface Builder or not?

Ive been working with some guys on a highly customized UI for a Cocoa app as well as a few for iPhones. Am I the only one who is starting to see interface builder as a cludge? Its good for standard components and simple apps.. but the moment you get more deep and complex and customized it becomes painful fast. Is it better to for in...

Adding permssions to Flex 4 UI without states.

I'm working in Flex 4.1, and I have a viewstack and tabbar as my main navigation. A user logs into the application and should then only be able to see what tabs are available to his user level. I am trying to stick with MXML as much as possible, since it works well with the framework. But I'm goin numb thinking about this. What are the ...

irrelevant messages

i am thinking of making a website.. bt how can i make sure that when a user who is asking some question is nt using any abusive language or the message is totally subject oriented.. i m nt talking about spams..i know about captcha and all.. what i am asking is how can i keep an eye on human activity[in this case the messages sent] and at...

How do you re-order a window to be on top of all others in cocoa?

I want my application to become the top-level window on the OSX desktop when it needs to display important information. How would you go about doing this in cocoa? ...

How to make a GOOD reporting Interface

Hi All, I have a ton of associated data revolving around a school, students, teachers, classes, locations, etc etc I am faced with a challenge put fourth by my client; they want to have reports on everything. This means they want the ability to cross reference data points every which way and i think i'm just short of writing a pretty...

Distinguishing signed Java applets

I have a Java applet which doesn't need any special privileges to run (i.e, it runs fine in the sandbox), but which expects the user to enter some sensitive information. Therefore, I'd like the user to be able to verify the origin of the applet. I then signed the applet, and everything appears to be working correctly. The browser appare...

How do I achieve the following result using RelativeLayout?

Pictures: http://img838.imageshack.us/img838/1402/picse.png How do I make the layout in Pic. 2 using RelativeLayout ONLY. Below is the xml layout of the first screenshot. <?xml version="1.0" encoding="utf-8"?> <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="wrap_content" ...

What are good approaches for handling a large number of permutations in the UI?

I'm looking for some advice in dealing with UI, specifically web UI, where a multitude of different settings and toggles change what is displayed to the user. The settings are tied to the user, so each user has a unique experience (depending on a variety of factors). The existing approach of using a plethora of conditional statements; ob...

cannot copy paste with keyboard shortcuts in a application

hi! i have the following problem. I am working on an application which is a desktop app that includes a web browser and loads aspx pages inside it. Well a very messy structure, i dont know why they have done it like that. Anyway, the problem is keyboard shortcuts like ctrl-c, ctrl-v; ctrl-f are not working there. And even the mouse curso...

UI Design/UI Components - Why isn't it a solved problem yet?

I've been thinking about the on going "revolution" in UI design and metaphors for interacting with the computer via a GUI and I'm suprised that as long as computers have been accessible through GUI's that programmers are still searching for the best way to allow the user to interact with their programs. It seems that most of the work ce...

In wxPython how do you bind a EVT_KEY_DOWN event to the whole window?

I can bind an event to a textctrl box np. The problem is I have to be clicked inside of the textctrl box to "catch" this event. I am hoping to be able to catch anytime someone presses the Arrow keys while the main window has focus. NOT WORKING: wx.EVT_KEY_DOWN(self, self.OnKeyDown) WORKING: self.NudgeTxt = wx.TextCtrl(self.panel, s...

What is the least distracting way to show some new information?

I'm working on an editor for novel authors. After seeing programs like DarkRoom, I wanted to add an full screen mode. In addition to that, I'd like to offer an option to show information about characters and other relevant data as you type (so you don't have to grab the mouse just because you can't remember a detail about one of your cha...

How would one create a UI such as this for an application?

Anyone know how I would go about implementing a UI that's very customized, something like this? (Programming in VB.net right now if it matters). Have yet to deviate from the standard windows form look but I've got a project which I would like to visually style out how I want. Thanks in advance :) ...