Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

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 ...

0
votes
1answer
60 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
47 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
99 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. ...
4
votes
2answers
301 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
283 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
86 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
399 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 (...
1
vote
2answers
120 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
0answers
35 views

Using non-Latin scripts in the GUI + database

Suppose, I want to build an application like the one seen in this video. I have thought of an idea: store the English texts of all GUI elements and their respective non-Latin texts in a table. load ...
0
votes
2answers
118 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
141 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
164 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
152 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
77 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, ...
3
votes
1answer
424 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
98 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
vote
3answers
607 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
125 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
309 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
182 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
360 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
849 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
283 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
281 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 ...
5
votes
1answer
1k 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) ...
6
votes
1answer
250 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
474 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 ...
4
votes
4answers
207 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
97 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 ...
2
votes
0answers
51 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). ...
15
votes
3answers
4k 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
199 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, ...
0
votes
0answers
431 views

Building Grid-like View in FlowDocument

The program I have been building for the last about year and a half is in C# 4.0 WPF. I have a RichTextBox with a Table inside. Inside the table are varying columns and rows depending on the user's ...
3
votes
1answer
168 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
212 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:...
4
votes
2answers
1k 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
1k 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
470 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 ...
4
votes
3answers
106 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 ...
0
votes
2answers
133 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
274 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 ...
0
votes
0answers
76 views

GUI - engine data exchange, design with C, getters or struct pointers passing?

Having quite big codebase and external libraries, in C application, what would be pros and cons of two approaches (or suggest other): (assume that there are NONE api provided calls for this) Edit ...
2
votes
1answer
1k 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
97 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
100 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 ...
4
votes
2answers
3k 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 ...
2
votes
0answers
63 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
278 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
88 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 ...