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
-4
votes
1answer
46 views

What is the platform to use creating simulink like software? [closed]

I'm working on electronic manufacturer company. Initially we were writing logic in RISC hex and recently i have converted them to CISC assembly using a new language and its compiler. This new language ...
-1
votes
1answer
58 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
96 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
147 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
133 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
164 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
201 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
301 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
159 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
274 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
105 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
329 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
151 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
137 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
529 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
65 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
293 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
130 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
135 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
125 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
707 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
974 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
906 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
349 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
171 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
200 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
175 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
176 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
101 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
987 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
109 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
915 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
308 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
576 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
227 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
538 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
2k 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
374 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 ...
0
votes
2answers
908 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
50 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
3k 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
267 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
575 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
214 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
109 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
67 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
9k 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
270 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, ...

1
2 3 4 5