Questions tagged [user-interface]

18112 questions
1

votes
0

answer
42

Views

SwiftCharts- display one data point for Custom Units Scrollable graph

I would like to display one data point for Custom Units Scrollable graph (Custom Units Example). Is it possible to do it with this library? I have looked into issues and the library to check and I only see [ChartAxisValue] array to create ChartAxisModel (i.e. xModel an yModel), no function to only a...
mir
1

votes
1

answer
80

Views

Kivy: Making a persistent notification with buttons

I'd like to make an Android app, and I prefer to not have to step out of my comfort zone which is Python. I heard that the Kivy package can make Android apps, but I heard that it likely doesn't have the full Android UI functionality that you could access using Java. My desired app should have a pers...
Ram Rachum
1

votes
1

answer
344

Views

Python - Creating a Cancel Button for a Countdown Timer

This code is the start of a program simulating a smart toaster. I am trying to make a cancel button for my countdown timer. The timer works fine except for the fact that when the cancel button is pressed, the message 'Timer done' is displayed, but the timer continues. Is there a way I can do this? f...
cellodude1998
1

votes
0

answer
366

Views

Getting NullPointerException when button is clicked (JavaFX and FXML) [duplicate]

This question already has an answer here: What is a NullPointerException, and how do I fix it? 12 answers What's the difference between fx:id and id: in JavaFX? 4 answers After finally getting the gui to run without problems whenever i click on a designated button the IDE (Eclipse) putting out a l...
Arad Zekler
1

votes
0

answer
32

Views

Android Activity - Design on Server / Render on Client

We have a Windows Mobile application which is being migrated to Android. It has a large-ish number of forms (around 150). Given the complexity of the rewrite ahead of us, I am looking for as many shortcuts as I can find :) One of the options we are considering is as follows: Move all the .NET code...
Timothy Muir
1

votes
1

answer
138

Views

python Tkinter buttons are freezing while waiting

I wrote a gui class using Tkinter: def start_gui(): def do_some_task(): dosometask def do_some_task2(): dosometask2 ttk.Button(mainframe, text='task1', command=do_some_task).grid(column=1, row=3, sticky=W) ttk.Button(mainframe, text='task2', command=do_some_task2).grid(column=2, row=3, sticky=W) if...
kabe
1

votes
1

answer
283

Views

Delay rendering UI until store loads in ExtJs

The store I want to load takes significant time in authentication and fetching the data (huge), and I need to select one field from store as default as per the condition. Since the store takes a lot of time (8-10s) and UI is rendered already, so setting the value appears out of nowhere, which is an...
Virag Swami
1

votes
1

answer
29

Views

add Line_Edit while program is running

I am using Pyqt5 and Qt Designer to build GUIs. i want to know if there is any way to make a Gui that it can build a new line edit with a push button while running by clicking on another push button (add button for example) a picture of what i mean new line
Ahmad
1

votes
1

answer
36

Views

JTextArea Output

Good Evening, What can I do to have the output from jTExtArea like in the console? You can see the image how it is, I use .append to show the output in jTextArea Image Code: public void actionPerformed(ActionEvent e) { if (e.getSource() == b1) { for (int i = 0; i < a.pattern_cnt; i++) { for (int j =...
John Coffey
1

votes
1

answer
143

Views

Returning an output from a listbox, TKinter

I'm trying to create a clock that reacts to time zone inputs from the user, using TKinter. I'm having trouble with the selectTZ function in the code. It prints the selected timezone, but when I try to return it and use it in the clock function, it gives an error. Can you help me figure out what the...
Yuval Schlosser
1

votes
1

answer
169

Views

How to add a custom menu to an actionBar

I am working in an app with this kind of structure: The app has no initial ActionBar so I add it on the OnCreate on each Activity this way: android.support.v7.widget.Toolbar barra =(android.support.v7.widget.Toolbar) getLayoutInflater().inflate(local.quick_stuff.R.layout.barra_herramientas,null); Li...
Albert
1

votes
1

answer
36

Views

Labels not displaying - why? - Using wxPython-Phoenix

I'm trying to create a simple graphical interface with wxPython-Phoenix but the widgets are not displaying and I'm not sure why. I have choose to use wx.FlexGridSizer() as the sizer to handle the widgets positioning. Attached is my code: class App_Frame(wx.Frame): def __init__(self,title=''): #Conta...
Andy
1

votes
1

answer
64

Views

Why does my SDL app have an abnormal window border on Mac?

I've noticed my simple SDL application has an abnormal window border on Mac. There's no gradient and the color is dark gray instead of light gray. It just looks wrong. I've noticed that LÖVE also has this on mac, and it uses SDL as well, leading me to believe this is indeed SDL-related... Meanwhile...
Accumulator
1

votes
0

answer
63

Views

JSplitPane in JLayeredPane

I want the right content of an JSplitPane to fill the entire available space and the left content (panel) to be on top of the other panel. I was thinking about using a JLayeredPane to solve that problem but I couldn't get it to work. My class currently looks like this: public class LayeredPane exte...
Ubuntix
1

votes
0

answer
32

Views

Faster UI response for mouse position

I am making a UI to display the mouse's position on the user's screen. However I have a very large amount of lag. Anyone have an idea on how I can increasse the speed of my UI's response ? import sys from PySide import QtGui, QtCore import lsl_threads class mouse_position_viewer(QtGui.QWidget): def...
LearningAssembly
1

votes
1

answer
30

Views

Save data from multiple classes

I have looked around a lot and I have looked into many comparable questions and types of guis but unfortunately I am still not able to solve my problem. Currently I am working on an Tkinter gui with multiple pages. People have to insert certain properties and eventually i would like to print those p...
Carmen
1

votes
1

answer
30

Views

iOS, leftButtonItem 'are you sure?' approach to confirming exit from screen approach?

I'm trying to figure out the standard approach or the best approach. I don't want my users (children) to accidentally tap the back button and lose what they have entered into a view. 1) In a very old implementation, there's a leftBarButtonItem with an action which shows an alert asking are you sure....
Jules
1

votes
1

answer
53

Views

Fixed element when using TileView in Android Studio

I am building an activity within Android Studio which uses the TileView library by moagrius to build a layout that can be panned and zoomed, which is all working just fine. I am trying to add an element to the activity which stays fixed at the bottom of the screen and not be affected by the scrollin...
Timothy Bomer
1

votes
0

answer
57

Views

JavaFX - Sorting Algorithms - BarChart not updating

Here is a hope that someone might be able to help me. I have to work on a project for sorting algorithms and have had to develop an application which uses an interface, so that a sorted list is updated on the Console, a ListView and this 'Bargraph' (a subclass of BarChart). The project has the foll...
Cameron
1

votes
1

answer
222

Views

Add label on drawing in Java

My experience in Java is very little but I like programming and everything I make I want it to be as good as possible. Having studied Java for a total time of at most 2 days, it is not so easy. I've been asked to make a Logic Gate Simulator. I've done everything besides the GUI. It is not necessary...
John Katsantas
1

votes
0

answer
144

Views

Tkinter changing the height of a button

Hi I am trying to create a button with the following features: B_home = ttk.Button(self, width=17, height=20, text='Home', command=lambda: controller.show_frame(main_menu)) When I run my code, I get an error saying: _tkinter.TclError: unknown option '-height'. I have read through tkinter documentat...
Momo 6aye3
1

votes
1

answer
43

Views

Netbeans IDE 8.02 Java jFrame GUI bulder initComponents error

I am Currently building a GUI for a tic tak toe game and i have finished it all, however when I tried to run it failed so I checked the code to find the problem and the only one i can currently find is that initComponents is red lined and I am Having a hard time finding out why. I am currently new t...
Matt
1

votes
0

answer
61

Views

Differ between integer and float in an array

I have an assignment where I'm handed an array with numbers, integers, floats and possibly strings. I then have to identify which of the elements are contained in another array with pure integers and which are not. Those which are not contained in the array with integers must be printed and the user...
Edin Mahmutovic
1

votes
0

answer
104

Views

Java/IntelliJ gui refuses to open - exit code -1073740791 (0xC0000409)

Hi stackoverflow community, I just started learning how to implement a gui in Java and run into an extremly weird problem on my Windows 10 Desktop. When I tried running my code, it compilied without errors, did nothing for about 5 seconds and then returned the following message: Process finished wit...
CoderInDistress
1

votes
1

answer
109

Views

Can I use Plain Wizard instead of Modal Wizard?

I am working on a wizard for vmware plugin that will require a lot of configurations. Somehow Modal Wizard is making the process slow, will that be all right to use Plain Wizard?
NEYA
1

votes
1

answer
269

Views

“smart home” IOT WebSocket --> Server WebSocket --> Client

I am developing some 'smart home' IOT stuff and what I am trying to do is have my IOT devices connected to my server using websocket and have my server as a 'root node' and have it host the GUI then have the clients connected to the server using WebSocket as well. Currently I am developing a door s...
Patrik Fröhler
1

votes
0

answer
35

Views

How do I launch a exe file (will pop out GUI) with windows service correctly

I have a problem with launching a exe file with windows service. My service will call 'CreateProcessasUser' function in MSDN, and it will launch the exe file correctly, however the launched exe task only shows in task manager but didn't prompt on desktop(GUI). Is there any ideas to fix this problem?...
Kevin Chiu
1

votes
1

answer
68

Views

Cmake windows project using Qt appears as windows 95

I am trying to build an apllication using CMake and Qt that does a bunch of stuff. All the logic is working fine so far, CMake is finding Qt 5.10.0 and the software runs, no struggle there. The window class is inheriting QWidget. The problem I am having is that the appearence of the gui is like wind...
Arnoud van Leeuwen
1

votes
0

answer
23

Views

java, How can I show a list when choose a item in the combobox(GUI)?

I have a doubly linkedlist that contains 'Drivers','Tickets','Buses','Passengers' info and I want to print if I choose a item in the combobox for example when I pick driverlist, use my print method to print the information, if its any way to show each list by a chooser, please tell me, thanks. priva...
mehradds
1

votes
1

answer
120

Views

Emulating scrolling of QScrollArea Qt5

I have following problem: I have QScrollArea, inside of it QVBoxLayout with lots of QToolButtons in it. QToolButtons are created dynamically, through the work and they are added as follows: QToolButton* btn = new QToolButton(ui.previewList); btn->setCheckable(TRUE); ui.buttonsLayout->removeItem(ui.b...
Crazy Sage
1

votes
0

answer
37

Views

PyInstaller: Support cmd and Gui mode?

Is there a way to make my PyInstalled Pythoncode run either in CMD or in GUI mode? My intention is: If the user drops a file to my .exe file, I want to immediately start processing it (and therefore show the results within the CMD window as usual), if the user does not drop a file, I want to show a...
tim
1

votes
0

answer
248

Views

Display thousands of records in CSV data in Tkinter

I want to load the data from a CSV file which have around 20,000 records and want to display it in tkinter in a scrollable table format. I used canvas, labels, grids, and scrollbar to achieve this. However, it can load only around 100-300 records in Tkinter without hanging. What could be the possibl...
Parvathy Mohan
1

votes
1

answer
52

Views

SemanticUI Dropdown form not sent

I got following piece of code (shortened for this question purpose) $(function() { var professions = [{'name':'Altenpflegehelfer','value':'3'},{'name':'Altenpfleger','value':'4'},{'name':'Änderungsschneider','value':'2'},{'name':'Anlagenmechaniker','value':'5'},{'name':'Anlagenmechaniker für Sani...
Slawomir Boczek
1

votes
0

answer
49

Views

Move an UI item

I have a problem with a UI line. Here is my code : Vector3 pointA = a.transform.position, pointB = b.transform.position; Vector3 dif = pointB - pointA; RectTransform imageRectTransform = GetComponent(); imageRectTransform.sizeDelta = new Vector2(dif.magnitude, imageRectTransform.sizeDelta.y); imag...
Aiixu
1

votes
0

answer
99

Views

SQL Server : check user/password is valid without trying connect

We have built a vb.net (2015) application that requires the user to logon using name and password. The app only requires a valid login since the active connection does the work using a hidden connection with very specific rights, however we must validate the real user As far as I am aware, the only...
William Slaney
1

votes
0

answer
33

Views

I am trying to bundle my Python(3.5.3) Tkinter app using cx_Freeze(5.1.1). When I hide my command prompt the app doesn't work.

As suggested here I use it to hide my command prompt in my setup.py file. It does hide my command prompt but the app does not work. Basically I am trying to make a Windows native Microsoft MSI for my GUI that I have built for youtube-dl command line tool that is used to consume media from some of th...
1

votes
0

answer
387

Views

ipywidgets button: how to set a global variable in a running script?

I would like to use ipywidgets buttons to make my script interactive. But I think there's something very fundamental about GUIs and threading that I'm missing: It seems the functions triggered by the button are only called when the main script finishes! The way I would like to implement this GUI is...
poppie
1

votes
1

answer
40

Views

UI Difference in IOS 11 and Lower versions

In my application while designing the UI i am facing some UI Issue. The Top contraints I am setting in story board are coming same in IOS 11 but in versions lower to that UI is moving up. Please see the attached image As you can see image in IOS 10 is above from the one in IOS 11.2. How I can have...
Shruti
1

votes
0

answer
51

Views

Async load COM object

I have a COM object with a GUI-component, lets call it 'FileViewer'. This FileViewer component can load a file by using a method, lets call it 'LoadFile', that needs to use the UI thread to work. To use LoadFile, the FileViewer have to already been added and loaded into the GUI. The problem is that...
Steff
1

votes
0

answer
104

Views

Enterpad Device do a Double Click to Execute a Autohotkey Script

I am using a Cedeq Enterpad Device and i want to do Double Click to Execute a Autohotkey Script. With a Fysical Enterpad device (Cedeq): you can Stay always your Right hand on the Mouse Device and you can execute with the Left Hand (finger) in one Button Click do a simple or complex Computer Moveme...
G. user17

View additional questions