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]

Graphical User Interface development for applications or web sites. This tag should usually be combined with other tags specifying the programming language, platform or framework, if applicable.

0
votes
0answers
28 views

Java Multi-threaded Chat Room

In an attempt to learn more with Java, I decided to challenge myself by creating a GUI-based, multi-threaded chat room. Currently, you run the Client and it prompts you to either create or join a ...
1
vote
0answers
52 views

Python GUI Calculator - Passing Variables Between Classes [closed]

I've recently come across this code that another user submitted for their python calculator using tkinter and have a few questions regarding it if anyone can help. I fully understand how they made ...
2
votes
0answers
160 views

PyQt5 - Open new image window for each button click in menu

I wanted to write a code that each time I will press some button in my menu, a numpy image array will somehow be created, and this image will show up in a new window. So the following code is the ...
3
votes
1answer
59 views

Enhancing a Conversion calculator

Could I please have some ideas how to improve this conversion calculator I have made. I am currently not looking to add any more quantities, but rather trying to enhance the usability and add some ...
7
votes
2answers
126 views

2 player TicTacToe

Can I optimize this Tic-tac-toe game or make it smaller? Known optimizations: string turn = "X"; can be changed to ...
2
votes
0answers
172 views

Python Tkinter Custom Widget (Frame) with Mousewheel Scroll Event

I try to write a GUI for practicing with one Window, containing two frames in a ttk.Notebook. Each of these Custom Widget Frames should have a scrollbar and the MouseWheel bound to a yscroll for the ...
5
votes
2answers
306 views

C++ “Dear ImGui” file browser

So I've been working on learning c++ and have created a file browser for the popular "Dear ImGui" framework (Immediate mode GUI). I'm looking for any feedback on its layout / code correctness. (It ...
5
votes
1answer
119 views

Lightshot Print Screen key linux handler - Follow-up #1

This question is a direct follow-up #1 of my previous question: Lightshot Print Screen key linux handler There were too many errors which I didn't see at the moment and I tried hard to fix them up ...
8
votes
2answers
116 views

Measuring the speed of a river

I already improved my program with the suggestions of @Mast. As requested by him I re-upload the code in English so we can check it out together. But before I'll explain a little bit what this ...
3
votes
1answer
159 views

AppJar number pad and keyboard

I am currently working on a python program with appJar. This program is made for Raspberry, as I wanted to create a program that is portable. I wanted to insert a virtual keyboard into it, by using ...
4
votes
0answers
72 views

SoundBoard in C++ Using Qt

I've been working on a soundboard software for tabletop games audio immersion in C++ using Qt. The software consists of 2 tabs who provides to a game master a set of individual sounds or scenes to be ...
3
votes
2answers
200 views

GUI interface for company specific calculator

I created a customised GUI application in Python, which is a calculator that does some basic functions for my company. I would like to ask you for overall suggestions for code improvement. ...
6
votes
1answer
113 views

PyFladesk Migration

I wanted to contribute to the PyFladesk project. The objective is to have a function that receives a Flask's app and embeds it in a Qt desktop app. I've already create a Pull Request on the main ...
3
votes
1answer
88 views

Lightshot Print Screen key linux handler

I haven't found any Lightshot Print Screen key linux handler publicly available. So, I decided to write one today. It is a standard POSIX shell script. I believe there is always space to get better, ...
5
votes
2answers
68 views

Goodgame Empire coin collector with random offsets in (almost-POSIX) Bash

Today, my goal was again to improve my POSIX shell scripting abilities. In one MMO game called Goodgame Empire, there is possible to code yourself a coin (tax) collector. But that's of less ...
1
vote
1answer
36 views

Script requester for workplace

My program allows employee's to request python scripts from me and the development team. It allows the user to enter fields and a specific developer to complete the task. Then once they click on the ...
7
votes
1answer
352 views

Moving Cell objects around a game field

I have a 20x20 field that contains Square objects. Each Square contains a Rectangle that is ...
0
votes
0answers
70 views

Plane Ticket Purchasing GUI

I'm a total newbie to Python and I decided to learn by building an app and picking up concepts along the way. I decided to make an app where you can view a catalog of plane flights. Once you click on ...
5
votes
1answer
2k views

Basic Countdown Timer

Below is a class,Countdown, that takes seconds as input from an entry, and starts counting down when the "Start" button is ...
2
votes
1answer
246 views

VBA UI design architecture, how to make this a piece of art

I have this very recurrent pattern at my VBA macros, where I have to ask the user to give me certain information that will be necessary for the processes to come. Most often for example, I need him to ...
3
votes
2answers
125 views

Basic DirectX window class

As a C++ beginner learning C++ and DirectX at the same time, I was wondering if a more experienced C++ developer would be able to go over the code and tell me what is done incorrectly or something ...
2
votes
1answer
66 views

Buttons labelled with the number of times they have been clicked

I am new to functional programming and I decided to learn it thru Elm instead of haskell. I wrote a practice code where there are 2 buttons and their names correspond to the number of times they are ...
1
vote
2answers
33 views

Detect resolution of X display and change font accordingly

This is my first attempt at anything functioning within elisp. This script is part of my configuration file that I use across multiple machines, one of which is hi-dpi and the other is not. To avoid ...
2
votes
0answers
177 views

Draw a panel control with a sunken look

I am relatively new to visual studio. I am in the process of creating a custom control and the same time learning. I have put together the beginning of this control and will love to get some input. ...
2
votes
2answers
237 views

Subclass Tkinter Widgets to save typing

I am doing a small GUI program for a practice exercise and in order to save myself some typing I took it upon myself to subclass some Tkinter widgets so I can pass the grid placement in the ...
1
vote
0answers
56 views

Interface prototype that draw on windows forms chart

now I'm working on some code that will control external FPGA and draw some data on WF chart. It has complete functionality now, but I'm interested in better practices of doing interfaces. I have UI ...
1
vote
0answers
3k views

Tkinter Application to Read & Update a CSV File

Background I started learning Python about 3 months ago. I feel like I learned a lot, but would like to receive some advices from the pros and some feedback about my code. So I wrote a small GUI app. ...
3
votes
2answers
1k views

Autocomplete for tkinter Entry widgets

Since tkinter doesn't provide easy autocompletion settings for tkinter.Entry widgets, I decided to write a widget with autocompletion functionality myself. I've ...
5
votes
1answer
85 views

Scala Docx generator from CSV input, using the docx4j library and Scala Swing

I am working on an application which takes as input a CSV file containing a list of attributes and a .docx template containing variable names equal to the columns ...
0
votes
2answers
796 views

Open text file and read data to an arrayfire array using Qt and C++

I'm currently writing a C++ project with a Qt GUI and would like to read numerical data from user-selected text files through QtFileDialog::getOpenFileName. There ...
1
vote
0answers
91 views

Racket - temperature value converter

I'm giving myself programming challenges in various languages so that I can become a better problem solver i.e. focusing on problem abstraction and algorithm design, using various programming ...
4
votes
2answers
569 views

Temperature value converter

I'm trying to improve my programming skills (not just using one language). I don't have a group of other programmers to bounce ideas off other than on the web - so please forgive me if I have posted ...
0
votes
1answer
87 views

Refactoring repetitive GUI components in Java

I have written a GUI map application using the JSwing design interface. After I finished the coding phase and started to refactor, I found that there are a lot of ...
3
votes
1answer
271 views

GUI Application for counting visitors

This code was to create how many people enter the "building" so there will be someone clicking the button "count". I am still improving. Please let me know your honest opinions! ...
1
vote
0answers
1k views

Android Canvas - Draw a line graph with a gradient whose color depends on the y value

I'm looking mostly for feedback on a solution of mine. I want to create a pretty line graph where the color of the line is dependent on the Y value, and a change in color at ...
2
votes
0answers
517 views

Python Tic Tac Toe Gui and AI

So, I've tried to write a gui for Tic Tac Toe or noughts and crosses, as well as an AI opponent to play against. This is by far the longest program I've written, having mainly just done bash scripts ...
1
vote
0answers
260 views

Website for demonstrating company skillset

I am posting my code again for a proper review because the last time I posted my code here the website was incomplete, and was therefore voted off-topic. Now that I have completed it, I am posting the ...
6
votes
1answer
115 views

Image editing in the frequency space

I wrote a little script that should load a GUI for deciding the bandpass filter. I'm a hobbyist programmer so I look here for comments that will help to improve my code abilities. The applet should ...
5
votes
1answer
718 views

My first Qt application - a multiple-state window with a menu

This is my first Qt app and also some of my first non-trivial C++ code. The application displays a menu offering two options. Clicking either option takes you to a sub-page with some text and a back ...
3
votes
1answer
682 views

2D Physics Simulation (game-like)

My program is meant to simulate 2D physics(hopefully 3D as well in the future), namely classical mechanics and eventually electromagnetism. Currently it simulates projectile motion by firing a ...
5
votes
1answer
10k views

GUI Calculator using tkinter

This is my python program for a GUI Calculator made using the tkinter module. This took me about 2 days to complete. However, I still believe that there is room for improvement. I am missing a few ...
2
votes
0answers
128 views

Drawing in libgdx

I have made a Java clone of the popular 2048 game. It works, but I drew the UI in the correct way. Images so you know what we're discussing: I'm basically not sure how to do this, whether I should ...
4
votes
0answers
135 views

A GUI program for a Buzzer system using arduino

At the outset, I am a beginner at python, having started out about 2 weeks back. Aim- To create a GUI program, that can adequately work as a buzzer-management system. A buzzer, like those used in ...
3
votes
1answer
205 views

GUI flashcard training

Aim This program will help you train your memory on facts and trivia by the use of flashcards. How to use Type start to start, then type the answer to the ...
3
votes
1answer
1k views

Function Plotter GUI in Tkinter and Matplotlib

I have been working on plotting time varying functions in Python as my most recent project, and would love input on optimization, proper Tkinter form, and anything that stands out like a sore thumb. ...
4
votes
3answers
291 views

Organizational Tool GUI with Java Swing (and GridBagLayout)

My first 'large' project is to create an organizational tool. Right now, it's pretty basic, but nevertheless functional in terms of the intent of the current release (v0.3.0). My main question is: '...
4
votes
0answers
204 views

Styling buttons using C++ Win32 Gdiplus

This portion is for a button style. I set the style depending on if it is pressed or not. I was wondering if I could write this better or more efficient. Mainly the way I use ...
4
votes
0answers
591 views

Open a file selection window to top-most position from jupyter notebook

Background I came up with this solution to a question that I posted on stackoverflow. It uses Tkinter to create a file select dialog window and raise it to the topmost position from jupyter notebook. ...
7
votes
1answer
3k views

Simple Tic-Tac-Toe using tkinter

I've been learning programming using a book about Python for a few months. To explore object-oriented programming, I built a few things in tkinter. When I started this code, I wanted to be able to ...
3
votes
0answers
151 views

Repainting real-time data during a modal loop in a Windows dialog

The following code will start a timer to continue drawing real-time data (that has been pre-buffered, to be swapped in the gui as fast as it can) to the window during repositioning or inside a menu ...