Questions tagged [gui]

In computing a graphical user interface (GUI, sometimes pronounced gooey) is a type of user interface that allows users to interact with electronic devices with images rather than text commands. GUIs can be used in computers, hand-held devices such as MP3 players, portable media players or gaming devices, household appliances and office equipment.

Filter by
Sorted by
Tagged with
-1
votes
2answers
561 views

UI vs Window vs View

What are the differences between these? I would assume UI would be the overarching interface for a specific application composed of multiple windows. A window would then be composed of either 1 or ...
0
votes
2answers
641 views

What is an effective design pattern for 'fan-in' from multiple task threads into a single UI thread?

In many applications the 'UI thread' is special and framework UI updates must be dispatched from this thread. However, in order to avoid locking the UI slow tasks are executed in background threads ...
1
vote
0answers
233 views

GUI that builds an object - how to design the GUI?

I'm currently writing the GUI for my application. As I understand in a MVC-like application are the following components for each feature: Business data: a complex object hierarchy containing all the ...
-1
votes
4answers
585 views

At what stage of a Java project do you configure GUI components?

I need a little advice with project design. I have taken on a personal project to enhance my knowledge of Java Swing, API integration, JDBC and OOP I have chosen to do this in Java as I previously ...
-1
votes
1answer
3k views

Multi platform GUI with a python/C++ core

I am aware of the existence of several threads on the topic, but I am looking for fresh hand-on experience, that I was unable to find. I have an application written in C++ (core, linear algebra and ...
1
vote
2answers
428 views

Releasing Python GUI app on GitHub: still use setup.py?

First Software Engineering question, so I hope I'm on topic. I'm an academic scientist working on on Python GUI applications for educational (and eventually research) use. The GUI uses PyQt and ...
2
votes
2answers
2k views

Events fired when widgets are updated programmatically

In the GUI application I'm working on I have a number of custom (composite) widgets that I've created, with each widget having an update_gui function where I access my SQLite database so I can fill in ...
0
votes
1answer
52 views

Incrementally populating a list with a sliding effect

I have seen a very nice effect in many applications which i don't how how it is achieved. There is, usually, a list (eg. with emails) and the app populates it gradually with the emails putting them ...
9
votes
1answer
4k views

Options vs Preferences vs Settings? What do they mean, and for what should I use them? [closed]

Across the various different programs, you will most often have a menu item called: Preferences Firefox Chrome Gedit Synaptic (Under a Settings menu column) Hexchat (Under a Settings menu column) ...
5
votes
1answer
274 views

Idiomatic way of writing a GUI system in Go?

I'm writing a little GUI system for my game in Go. So far my structure is kind of like this: type Component interface { Update() Render(ctx) Translate() GetComponent() []Component ...
2
votes
2answers
579 views

User Interface design for selecting elements from big lists

I am not to sure if this is a question which fits the topics of software engineering. I have two levels of objects "Categories" and "Category Values". I need to build a user interface for users to ...
3
votes
4answers
215 views

Using ObserverPattern, but need to stop some observers displaying changes immediately

In a GUI application (to organize images), I use the Observer Pattern (or anything similar to model-view-(view)controller) to inform other components about changes. Assuming three components A, B, C ...
1
vote
0answers
112 views

Sending events down a tunnel, and bubbling them back up

I am working on developing an HTML canvas application, where I need to be able to do my own UI event processing. That's where the stem of this question comes from, but I'd really like to understand ...
3
votes
0answers
71 views

Background operations in controller/presenter or form?

I have a desktop application with each window decopuled into presentation layer (containing the Form/Controls etc.) and application layer (Controller/Presenter - naming is irrelevant to the question). ...
21
votes
3answers
10k views

How to decouple UI from logic on Pyqt/Qt apps properly?

I've read quite a lot about this subject in the past and watched some interesting talks like this one from Uncle Bob's. Still, I always find pretty difficult to architect properly my desktop ...
2
votes
1answer
291 views

Why use X11 windows extensively in a GUI toolkit?

In GTK+, most if not all widgets are based on GDK windows, which are in turn each backed by their own X11 window, assuming one uses the X11 backend (Note that I'm not talking about toplevel windows, ...
3
votes
1answer
188 views

Should a State Machine or Processing Engine be abstracted away from the UI?

I'm working on a suite of micro-services, with a web-based GUI. We are using a 3rd party state machine via REST calls. Sometimes we get/set state from one of our micro-services, while other times we ...
3
votes
2answers
284 views

GUI applicaton states and polymorphism

I have WinForms GUI application, which can work in two "states" with different functionality, but these states share GUI controls. I am dividing these states by using enum almost in every method, like:...
3
votes
2answers
2k views

Not understanding the concept of how to make my GUI application

I am making a program that primarily deals with heavy data mining and analysis. It is primarily a back-end type algorithm, with no GUI elements or console windows seen as it runs. Occasionally though, ...
1
vote
1answer
2k views

Creating a private in-house application with Qt

I want to create an application using the Qt framework, but can not at all afford a commercial license. While looking at the licensing comparison table, I noticed that the LGPLV3 license said this: ...
1
vote
1answer
922 views

How to create a layout of controls that can be duplicated on a form at runtime

I have a bunch of controls including labels, updown menu, combo boxes, radio buttons, and check boxes that must be replicated once someone hits the add button. Is there a way that I can create a ...
3
votes
3answers
113 views

Associate selection from GUI with executable code

I am currently writing a GUI for a C# application that adheres to the following software requirements (and am struggling with the conceptual design): Have a GUI with some choices of different ...
1
vote
2answers
244 views

Standard for implementing GUIs for command line utilities

I wrote a command-line utility and I want to develop a GUI for it. I saw that almost every tool on linux comes command-line, and it eventually has a GUI which interacts with the command line utility ...
-1
votes
1answer
826 views

Choosing default size of application window

Suppose I'm developing an application with a simple graphical user interface, like a basic text editor. How do I choose a good default size of the application window? Should the height of the window ...
2
votes
1answer
2k views

Why Does JavaFX's GridPane Attach Properties of the Layout to the Components?

I am currently learning JavaFX and I came across a very strange API for laying out GUI components. It is perhaps best explained by it's javadoc: To use the GridPane, an application needs to set the ...
2
votes
1answer
98 views

Possible DRY with Pausing Mechanism

Background I am currently working on the architecture for a future software design. The design is one long running task (hours-long) with thousands of sequential calls to various libraries. I ...
3
votes
1answer
105 views

GUI Testing With Network

I am doing GUI tests for my network application and I'm wondering if I should stub out mock responses, or if it's OK to keep using the network for the GUI tests. It seems to me the main benefits of ...
7
votes
2answers
7k views

If I create a desktop application using Tkinter, PyGTK or PyGame does my app have to be open source?

I intent to start learning desktop gui programming, so I've been looking to Python and it's Tkinter, PyGTK and PyGame. But I want to make proprietary software, so I'm concerned because of the licences ...
3
votes
0answers
68 views

Visual interpolations: independent or linked to object?

I have a class that I use to render GUI elements on the screen, this class has a tree structure (with children, parent, and siblings). I created an additional class which allows me to interpolate some ...
1
vote
0answers
350 views

Using events and event subscribers to create windows in a desktop application

I should probably open this by saying I do mostly Web applications at work, which obviously have some major differences from typical desktop stuff. I had a small Windows Forms program I'd made for ...
1
vote
0answers
91 views

Universal Modules GUI Design

PROBLEM: GUI built above database entities usually consist of creator window (pane etc.), editor window, maybe grid or other view window. To represent an entity for user it usually requires building ...
0
votes
1answer
75 views

Accessing information between GUIs in Java

I'm fairly new to Java and GUIs and am trying to work on a side project. I'm finding that as I continue to make more and more GUIs within eachother, I am continuously needing to access information ...
3
votes
2answers
260 views

Managing widgets in a simple GUI framework

So, I'm still working on my small GUI "library". (C++ with boost) The goal is to provide a simple solution for small SPI displays, using a Raspberry or some embedded board. Thus, I ended up having a ...
11
votes
5answers
4k views

Best strategy for reporting progress to the UI - how should the callback happen?

Sometimes the user starts an extended technical operation that takes a while to execute. In these cases, it's usually nice to display some kind of progress bar, along with information about which task ...
2
votes
1answer
976 views

How to document GUI screens transitions of a complex application

There is an application based on multiple screen model with pretty complex net of transitions between these screens. It has some similarities to a web page or Football Manager like games. Its main ...
2
votes
3answers
99 views

A pattern to find out if data in a dialog-window was modified by the user?

I think about if there is a pattern or another intelligent solution for that problem. I am searching for a more generalized and reusable solution. I load an existing and still persistent row/object ...
-1
votes
1answer
2k views

develop crossplatform GUI based DESKTOP application with HTML5/CSS [closed]

I'm experienced wed developer doing stuff for web for a several years. But now my customer need to build crossplatform ETL tool which he want to ship to his clients. And will be much easier if it will ...
3
votes
2answers
5k views

What is the role of the public folder in MVC web applications? [closed]

Must all the controllers, models and views be placed in the private folders? If so, what are the roles of the public folder? What are the correct terminologies for such roles in computer science? How ...
1
vote
1answer
398 views

What are potential problems when write business logic code in GUI as MVVM pattern

Currently, I'm implementing MVVM pattern for a WPF application but not 100% no code behind, sometimes I put some business logic code into GUI and so what are potential problems for this? Thanks
8
votes
1answer
2k views

Is hardware accelerated GUI data kept on the GPU

I am doing some research as to how most hardware accelerated GUI libraries work. I am actually only care about the rendering backends of them here. I am trying to figure out what would be the best way ...
0
votes
1answer
288 views

What is a receiver in SWT (or GUI programming in general)?

I see this notation used throughout documentation and discussions on SWT, but I've yet to see it actually defined. The comment on Stack Overflow by MarsAtomic makes me think it is just the object that ...
3
votes
1answer
321 views

GUI functional acceptance tests, making them less brittle / obstacle to further development

(Background - skip to bold statement for the crux) I'm working through the book "Growing Object-Oriented Software, Guided by Tests" by Freeman & Pryce, while applying it to a project I'm starting....
1
vote
1answer
305 views

Separate GUI for clients

I am writing a game in which I have a Java server/client system set up. Everything is working great, but I reached a slight problem. I have set up a basic health system, and a GUI to go with it (for ...
2
votes
1answer
83 views

How to provide a good User Experience with a slower app

I am working on an embedded application that has a web server as a GUI. The webserver supports what you would expect, and I am using javascript to request data from the application and supply it to ...
0
votes
1answer
59 views

Accessing data in widget

Background I started to get involved in a project written in python and wxPython (for the GUI). My task is to debug and add a few features to the GUI. The widgets are organised mainly with sizers, ...
1
vote
0answers
77 views

Approach for interruptible transition animations

I found it's very complex to manage transitional animations. For example, when changes to a model get reverted before the animations have completed, the animations for previous changes should stop and ...
2
votes
1answer
74 views

Development approach for GUI application sharing on X

I'm curious about developing a simple system for GUI application sharing between users on a single computer, which uses Xorg (or perhaps any modern form of X11 display). I'd like user Alice to be able ...
0
votes
1answer
963 views

Architecture for my Java application [closed]

I try to create small Java tools to help me at my work every now and then. Usually these do not have to be pretty and I find myself coding a single, sometimes massive, Java class. However, now my plan ...
1
vote
1answer
756 views

Does Separation of Concerns applies to GUI components?

In an application I developed with C#, I use a webbrowser control, it should navigate to some websites, then I would like to extract some contents from the webpages. I do it by manipulation of DOM and ...
2
votes
1answer
324 views

GUI concept for a reactive, asynchronous graphical editor

I think I could describe this problem in an abstract way, but I suppose it will be easier to understand when I describe it in a real world environment. The Problem Imagine a graphical editor where ...