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.
235
questions
1
vote
1answer
45 views
How to record the sequence of events effectively when there is a logical flow runs over various event notifications?
Let me explain what I mean there is a logical flow runs over various event notifications based on our web app, which is event-driven and it is quite common in my opinion.
User clicks a button to ...
0
votes
2answers
72 views
Check if can delete before save
I am designing an application that works with REST API requests for dealing with information stored in a database.
The user will add, edit, delete information in this client and after SAVE the ...
0
votes
2answers
42 views
How to construct a model state dependent context menu in a MVP GUI application
Lets say I have a GUI application which tries to adhere to Model-View-Presenter (MVP) as best as possible.
In this application I have a list box with items. One should be able to interact with these ...
2
votes
1answer
96 views
In the MVC pattern, what has the responsibility for creating the view?
This is something that has been bugging me for a bit in a program I am trying to build. It is a desktop GUI application, and I settled on the use of the famous "MVC" (Model-View-Controller) ...
-1
votes
1answer
61 views
A question about WinForms versus WPF regarding GUI performance
I have some experience with WinForms and want to make a GUI for real-time plot of signals and also controlling hardware.
I am planning to use WinForms for this and want to avoid WPF. My reasoning is ...
0
votes
2answers
201 views
A desktop app which incorporates a REST API?
I am planning to build an adapter between a PC and devices which have the same function but which have different interfaces. The adapter will probably be based on a Raspberry Pi and will have a touch ...
1
vote
3answers
96 views
What's a good way to inplement a “delete” function for my custom polymorphic widgets?
I'm currently trying to make a simple program with UI where a user can add, select and remove different objects inherited from an abstract common interface with a mouse.
What I plan to do is use a set&...
-1
votes
1answer
65 views
Making a GUI for receiving/checking user input - how to arrange GUI and validation checks
Sorry if my question sounds general, I'm new to GUI and frontend/backend ideas and all that (mostly I just do scripts for math hw and such) but I make it more specific here. I have a program that runs ...
0
votes
1answer
82 views
Simple tic-tac-toe GUI in Common Lisp: Avoid using Continuation Passing Style?
I've made a simple Tic-Tac-Toe game in Common Lisp using the Ltk library.
One of the things I wanted to do was to support CPU vs CPU, human vs human, human vs CPU, and CPU vs human. Also, possibly ...
-1
votes
1answer
87 views
Display different panel on button click (MVC pattern)
I have to code a gui like this:
It's an homepage with a left menu and a changing right part, on button1 click form1 must be displayed, on button2 click form2 a so on.
Each form has its own button "ok"...
0
votes
1answer
107 views
How Would I Create Bindings to a GUI toolkit like GTK, Tk, or Qt for a Programming Language?
The title says it all. How would I, in theory, create a binding for different GUI toolkits for a programming language that has no GUI bindings. I ask because I want to experiment with this sometime ...
0
votes
2answers
152 views
How is fast-scroll simulated?
I've noticed on web and mobile apps, when scrolling down to the bottom of a list with thousands of entries it reaches the bottom instantly but appears to be scrolling through every entry.
How is ...
1
vote
2answers
165 views
how to build microservices that also have GUIs
In a microservices architecture where each component does one thing, how do you handle GUI logic? How do you avoid building a front end web application that has a lot of smarts built into it where it ...
1
vote
1answer
236 views
Whats a proper way to design a GUI event system?
I'm trying to write a GUI library for a project (also for learning purposes) from scratch (in C++), and it's working pretty well, but since this is my first attempt i feel that the design of the event ...
-1
votes
1answer
344 views
Multiple main windows in one process vs multiple processes
I'm making a desktop application where it would be perfectly sensible for the user to have multiple instances of the main window open at the same time (i.e., with different documents open between them)...
2
votes
4answers
797 views
Alternatives to polling an API
Assume we have a desktop application (probably WinForms) that acts as a client to some API for an app with a messaging function. This API has endpoints that return a JSON of messages, and who sent ...
1
vote
1answer
184 views
Build docker images for GUI applications in Linux
Currently I'm building GUI applications for Linux and they have many dependencies( We ship Raspberry Pi devices with the executable installed on each device). My idea is to create a docker image for ...
5
votes
2answers
313 views
balance between UI responsiveness and avoiding race conditions
To keep scope small I will talk about UI race conditions initiated by the same user in the same app sessions.
The question is general and not specific to mobile, web or desktop UI.
The issue
Modern ...
0
votes
1answer
108 views
Who is responsible for GUI timeouts: the GUI or the app?
I have an application written in C#. This app uses a GUI for message display and user input, and the GUI is connected to the app via an interface class:
public interface IEndUserInterface
{
void ...
0
votes
1answer
605 views
How to output exception messages in GUI applications in order to decouple application code to GUI code?
I want to make GUI applications such that the non-GUI code is independent from the GUI one (let's say I'll use Java 8 and Swing for example). The goal is that I could hypothetically change the GUI ...
0
votes
1answer
177 views
Designing a WPF / MVVM architecture where view behavior changes in different states
As part of my bachelors thesis, I'm trying to develop something akin to a painting program. That means, I have a toolset, be it selection, drawing, highlighting, etc.
I'll have a canvas that displays ...
1
vote
2answers
139 views
Observer reporting to multiple layers up from the bottom of hierarchy
There is a swarm of objects. When a new unit of certain kind appears on the frame, the swarm integrates this object by calling some add_new_unit method. Above the swarm is a controller abstraction, ...
1
vote
1answer
914 views
“Screen-states”: How to express all of them in a concise way? [closed]
If my software has some screens, how do i express the various states of those screens? If, for example, I have 3 checkboxes in a screen, so I have 8 combinations total and at first thought, 8 states ...
1
vote
1answer
90 views
How to inform presenters of sub views of a main window about global data change in an MVC or MVP GUI app?
Suppose I'am writting a GUI desktop application which has a main window with a corresponding presenter. This main windows may host one or multiple panels which each also have their own presenter.
The ...
1
vote
3answers
300 views
At what stage should the (G)UI be designed?
I'll take out the ellipsis to make this easier/quicker to read:
Large group project in school, stakeholders gave a fuzzy explanation as to what they want. I suggested that we:
sketch the GUIs so we ...
-1
votes
1answer
165 views
WebApp for ETL with visual mapping - read csv and map it to data model
a few years ago I wrote a python script for reading CSV, handling the headers, filtering data, renaming stuff via RegEx...bascially to do various ETL stuff.
This was done using a exhaustive ...
0
votes
1answer
171 views
Making execution of Python script fool-proof beyond adding shebang
Assume that a Python package (available via PyPI) is too difficult for novice users to utilize. Specifically, typing python2 path_to_package/start_GUI.py in the command line, which opens a TKinter GUI,...
0
votes
1answer
51 views
Term for user interfaces using characters to create “keyboard navigating menus”: GUI or CLI?
Does anyone know a term for these kind of user interfaces? Some examples:
old BIOS menu of PCs
safeboot menu of windows
other old MSDOS applications running on fullscreen using "keyboard navigating ...
-1
votes
1answer
147 views
What options are for a GUI for a Java application? [closed]
This might be a bit of a wide question. I have a couple of classes in Java that take input a String which is a mathematical expression and evaluates it.
I want to implement a desktop GUI for this. ...
6
votes
2answers
839 views
TDD for Graphics application
I have googled and read few articles about the TDD for UI. I am not very much clear about how to start the implementation of the Graphics Application using Test Driven Development or how to write unit ...
3
votes
1answer
1k views
can I send message to the actor in sequence diagram
Is it correct for the user(actor) in sequence diagram to receive a message from object while<< UI>> is exist in the diagram
for example user will request to edit some data ..so the request will ...
1
vote
1answer
92 views
How can a GUI display unsolicited output?
"Solicited output" means a user issues a command to a GUI and the GUI displays the corresponding output.
In this context, I include Web apps in the term "GUI".
However, often a GUI needs to display ...
-3
votes
1answer
969 views
Web GUI for Python scripts
I have several but independent computer vision pipelines which were original planned to run by a user via a cmd (task1 -> script_1.py, task2 -> script_2.py and so on).
All pipelines share some code (...
3
votes
3answers
373 views
How to separate serialization, visualization and computation from GUI editable code objects?
This might be an X Y problem, but here's my situation.
I've got a QT5 C++ code base whose task it is to allow for the configuration of a "process chain". A "process chain" here means a list of ...
0
votes
2answers
184 views
Ideal Interprocess Communication
So, there is a workflow I feel needs to exist. It may already exist, and I don't know about it.
Consider the Linux command line workflow, the "motto" of Linux, more or less. You have a bunch of ...
2
votes
1answer
221 views
Is there a theoretical foundation for GUI layout management?
I don't mean to come across as glib, but I feel that the clearest way I can communicate what I want to know is through some analogies:
CPython, gcc, javac, ... -> compilers
MS Windows, OS X, Ubuntu, ....
2
votes
2answers
177 views
Solving similar devices problem
Problem:
Winform app for servicing different types of devices (approx. 10 types).
Some devices have more settings similar (or same) then the others.
Each device could also has software and hardware ...
0
votes
2answers
181 views
Manage the Lifetime of GUI States
I am designing a program responsible for a GUI (with the graphics and user input being managed within a typical update loop) which has several states:
The default state is an animation which ...
1
vote
0answers
103 views
Proper Separation of Concerns in GUI Development
The Situation
I'm developing a JavaFX desktop application that can be described in three parts:
The Data
The GUI
The Process
The GUI is a means of seeing and editing the data and the process is a, ...
2
votes
1answer
1k views
Data sync between Model and View in MVC pattern
I have a question about MVC pattern, concerning the controller part.
Most of the program I happen to write are basically spreadsheet like. They are written in C/GTK+ and Python3/Qt5/Tkinter but share ...
2
votes
2answers
114 views
Choosing the right paradigm when building a GUI for an application
I'm building a GUI for a CL program and I have the following question
Is it better to
Have the GUI invoke the program behind the scenes using a shell with some options eg: If I were I were writing a ...
2
votes
3answers
950 views
Architecture of gui application
I am writing gui application. I want to implement following structure:
project tree with nodes of different type and behavior (i.e. when right clicking or selecting there can be different menu ...
-1
votes
2answers
436 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
617 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
230 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
565 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 ...
2
votes
2answers
405 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 ...
1
vote
2answers
1k 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
51 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 ...