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
1answer
70 views

How does Matplotlib / other GUIs work to draw the individual pixels?

So I wondered how matplotlib (or equivalents) makes graphics appear on your screen. I found that matplotlib does not do the drawing itself; instead it is built on TKinter, which is built on TK, which ...
1
vote
2answers
62 views

Should selected person be part of my application layer? (MVP pattern)

Consider the following GUI screen: When user selects a person from PersonListView, EditPersonView should show person's first name and last name and allow the user edit. So, I end up with the ...
2
votes
2answers
105 views

MVC: Should my domain model look like this?

Consider the following GUI screen (Java Swing) with a list of persons where the user can select a person and delete it. According to MVC, the view observes (observer pattern) the model and updates ...
0
votes
0answers
34 views

Desktop UI builders state of the art studies or papers?

I am quite surprised that searching for advances in the last 30 years of UI builders for desktop applications did not showed interesting results in Google Scholar: https://scholar.google.com/scholar?...
0
votes
2answers
115 views

Is there any benefit testing only with mocks/fakes/doubles?

Say I want to test the behavior of the GUI while I follow a PassiveView approach. I also use the command pattern to handle the actions of the user. So given a PersonView and a PersonService with a ...
1
vote
1answer
198 views

Best way to access (grand grand) parent element in gui

I'm creating a multi window gui program, in c++ with Qt Widgets. I do have many custom gui elements, which usually are c++ classes inherited from QWidget or other Qt elements. When foo is the main ...
2
votes
1answer
135 views

DRY principle vs decoupling (business from GUI)

Say I have a business model called Vehicle. Vehicle has many fields but to keep it simple say it looks like: public class Vehicle { String ownerName; String brand; FuelType fuelType; }...
3
votes
1answer
143 views

Am I using the correct terminology for my project?

I'm currently the sole programmer for a project. We are creating a handheld device that includes a screen to display live data and video feed, push buttons to control the program's functionalities, ...
31
votes
9answers
10k views

"Dead programs tell no lies" in the context of GUI programs

In The Pragmatic Programmer, the authors write: One of the benefits of detecting problems as soon as you can is that you can crash earlier, and crashing is often the best thing you can do. The ...
-1
votes
1answer
56 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
106 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 ...
-1
votes
2answers
51 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
211 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
64 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
440 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
104 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
112 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
119 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
133 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
127 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
160 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
3answers
329 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
365 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
482 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)...
3
votes
4answers
2k 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
223 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
397 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
127 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
1k 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
246 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
146 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
922 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
128 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
310 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
193 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
193 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
194 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
991 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
2k 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
94 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
1k 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
404 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
216 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
263 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
185 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
111 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
131 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 ...

1
2 3 4 5