Hi!
I can't understand org.eclipse.draw2d.Triangle's api. There are some fields for manipulation:
protected int direction
The direction this triangle will face. Possible values are PositionConstants.NORTH, PositionConstants.SOUTH, PositionConstants.EAST and PositionConstants.WEST.
protected int orientation
The orientation of t...
Hi all,
I have a MFC application which has its GUI implemented as part of the executable code (view-doc architecture etc.)
My application uses some DLLs I worte.
Now I have to write another DLL which I know it has to have a GUI as well.
My question/uncertainty is should I implement the GUI as part of the main application (main GUI) an...
I have a Qt-based program, and I uses QMainWindow somewhere in the UI part.
This program works fine on both Windows (windows 7) and linux (Ubuntu 10.04), however, when I try to run it on MAC, some UI problem occurs.
The Central widget of QMainWindow shows up correctly, but the frame (where the "minimize", "maximize", "close" buttons sh...
I use the cmake command QT4_WRAP_UI. Is there an option to control the output path of the generated header files?
...
Hi,
I am trying to make a custom transparent bordered window(without tittle bar) to capture a part of the screen.This window should be resizeable from the bottom right corner area,and could be moved by dragging any of the border lines.This window should be such that, it could also be moved over the apple menu.
I am very new to Cocoa, C...
How do I run some clean up code when a user closes a window?
...
I'm trying to use RelativeLayout to display a map tile, surrounded by directional buttons, in a simple dialog.
I've tried a few variations, but inevitably, some of my buttons are missing.
In this version of the example, the up and left buttons are missing. If I declare the up button first and place the tile button relative to it, then ...
Hi,
I'm using Win32 with C++ to make an app that can load the contents of files through a dialog with the GetOpenFileName function. Everything works fine, except when I close the main window and the app quits and prints this to the console:
The thread 'Win32 Thread' (0xa50) has exited with code 0 (0x0).
But the main process keeps runn...
Hello,
I'm looking for commercial-grade SWT components such as polished charts, grids, or layout managers (similar to what's available on .Net with DevExpress Charts and Grids for instance).
Do you have some pointers to provide ?
Thanks!
...
The line of code below displays a dialog box with two buttons: Yes and No. I want those two buttons to be at least 3 times the actual default size. I understand I can create a customized JFrame and add button and set the Size but I have scores of dialog boxes; does not seems practical.
JOptionPane.showConfirmDialog(null, "Did you eat",...
I am using jQuery UI for an in-house application.
I am looking for an easy way to remove all style information provided by jQuery UI on a given widget instance. I'm open to really anything, but a reusable javascript solution would be perfect. It's absolutely imperative that no functionality is lost.
the most important thing is that...
I'm coding a WinForm component where I start a Task to do the actual processing and trap the exception on a continuation. From there I want to show the exception message on a UI element.
Task myTask = Task.Factory.StartNew (() => SomeMethod(someArgs));
myTask.ContinueWith (antecedant => uiTextBox.Text = antecedant.Exception.Message,
...
Hi,
I'm creating a piece of software (written in C#, will be a windows application) and I ran into this problem-
I've got a set of variables, and I need to allow the user to define a wide range of mathematical functions on those variables.
But my users don't necessarily have to have any prior knowledge about programming.
The options ...
Hi, I have a small java GUI application with a text field on it. When the user clicks the text field an event is triggered and the JFileChooser is launched. It's restricted to directories only.
What I'm trying to do is to get the full path of the directory that was chosen and put it in the text field.
I have no idea how to do this, I...
I'm trying to modify a GUI. It is hosting a GLCanvas displaying JOGL content.
Here is the code to set it up:
private void setupWindow() {
this.frame = new JFrame(WINDOW_TITLE);
frame.setSize(width, height);
frame.setVisible(true);
frame.addWindowListener(new WindowAdapter() {
public void windowClosing(WindowEve...
Hi, I am a little stuck. I can't figure out a much bigger problem than this, so I am going to the roots to eventually build my way up!
I can't print the selected item in the combo box, currently I have an ActionListener for it:
box.addActionListener(new ActionListener(){
public void actionPerformed(ActionEvent evt) {
myBox(...
How can I elongate sliders length and also the width if possible. Most importantly, the length.
Below is just pieces of codework on Jsliders.
slider = new JSlider(0,180);
slider.setMajorTickSpacing(30);
slider.setMinorTickSpacing(15);
slider.setPaintTicks(true);
slider.setPaintLabels(true);
slider.set...
Hello,
My needs :
I need to develop an GUI application that is cross platform
the chosen solution must be the fastest to implement
it should be easy to extend
The application is just a database front-end, mainly for CRUD operations, listing, filtering, exporting, charts and graphs etc.
After reading about some solutions (Python Car...
I'm experimenting with Python 2.7's new Tkinter Tile support (ttk). Is there a way to make the ttk.Progressbar() control auto-resize in proportion to its parent container? In reading the documentation on this control, it appears that one must explicitly set this widget's height or width?
I'm looking for a way to place the ttk.Progressba...
I have a dialog box that the user inserts various data through gui controls,
and this information is saved as an xml file (implemented in java).
The information stored in the xml file is configuration information
for the application.
I can manually modify the xml configuration file, but I also want to provide this capability through a UI...