user-interface

Greyed-out “waiting” page in Javascript? [duplicate]

本秂侑毒 提交于 2020-07-18 05:26:12
问题 This question already has answers here : Closed 7 years ago . Possible Duplicate: Div as modal - javascript Is there a way to somehow lock a page in Javascript until a function call is complete? What I have in mind is like a semi-transparent grey cover that prevents any other user actions such as mouse-overs or button clicks until the current request is done processing. The look-and-feel doesn't matter quite as much as the functionality, though. I haven't been able to find anything that does

Running python code through user friendly interface

十年热恋 提交于 2020-07-16 10:43:11
问题 additional question I'm working on a project for a family member, I have fairly limited experience with Python. I have written my script on Python, and it works exactly how I need. The code takes a photo and adds a red border to either the length or the width to create a square. My issue is my family member does not use Python, and after some light research I have come across tkinter for a GUI. I would like to have a text box where the image name can be typed, and that runs the code from the

Running python code through user friendly interface

泄露秘密 提交于 2020-07-16 10:43:04
问题 additional question I'm working on a project for a family member, I have fairly limited experience with Python. I have written my script on Python, and it works exactly how I need. The code takes a photo and adds a red border to either the length or the width to create a square. My issue is my family member does not use Python, and after some light research I have come across tkinter for a GUI. I would like to have a text box where the image name can be typed, and that runs the code from the

How can i change/update label

自古美人都是妖i 提交于 2020-07-16 05:44:15
问题 I am trying to build a simple internet speed test app using pyqt5 I am a beginner and trying to build small apps to learn GUI basics So here is the code whenever i try to change label text from my thread function is says that self has no member named label_7. ignore the print statements i was just using them for debugging def Update_values(self,MainWindow): _translate = QtCore.QCoreApplication.translate self.label_7.setText(_translate("MainWindow", "Download Speed : " + str(down))) at the

OpenGL 3D GUI Engine and/or assets [closed]

丶灬走出姿态 提交于 2020-07-15 05:51:29
问题 Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 15 days ago . Improve this question Are there any OpenGL 3D GUI libraries? and/or Are there any 3D assets like windows, list boxes, etc. that can be used in a 3D game engine? Something like Age 3D is a great start, http://www.youtube.com/watch?v=Cq8Qs8lqqFA, but they aren't around anymore. 回答1:

OpenGL 3D GUI Engine and/or assets [closed]

自闭症网瘾萝莉.ら 提交于 2020-07-15 05:50:35
问题 Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 15 days ago . Improve this question Are there any OpenGL 3D GUI libraries? and/or Are there any 3D assets like windows, list boxes, etc. that can be used in a 3D game engine? Something like Age 3D is a great start, http://www.youtube.com/watch?v=Cq8Qs8lqqFA, but they aren't around anymore. 回答1:

Draw a correct grid with PyQt5

谁说胖子不能爱 提交于 2020-07-10 07:00:09
问题 I'm struggling a bit with PyQt5: I have to implement Conway's Game of Life and I started out with the GUI general setup. I thought about stacking (vertically) two widgets, one aimed at displaying the game board and another one containing the buttons and sliders. This is what I came up with (I'm a total noob) I'd like to fit the grid correctly with respect to the edges. It looks like it builds the grid underneath the dedicated canvas: it would be great to fix the canvas first and then paint on

Run some code when a popup closes in my swing app

依然范特西╮ 提交于 2020-07-09 17:12:23
问题 In my app I display a popup using JPopupMenu . I want to run some code when this popup closes (either directly, programmatically or when escape key is pressed). For windows I can attach a WindowListener but JPopupMenu doesn't have any corresponding feature, and SwingUtilities.windowForComponent returns the root window of the app. How do I implement this? 回答1: How about adding a PopupMenuListener to it? Something like: jpopMenu.addPopupMenuListener(new PopupMenuListener { public void

Run some code when a popup closes in my swing app

天大地大妈咪最大 提交于 2020-07-09 17:12:09
问题 In my app I display a popup using JPopupMenu . I want to run some code when this popup closes (either directly, programmatically or when escape key is pressed). For windows I can attach a WindowListener but JPopupMenu doesn't have any corresponding feature, and SwingUtilities.windowForComponent returns the root window of the app. How do I implement this? 回答1: How about adding a PopupMenuListener to it? Something like: jpopMenu.addPopupMenuListener(new PopupMenuListener { public void