How do I empty a room? - game-maker

I have a scrolling room in my game, and I want to duplicate it so I do not have to go back into the views tab again and edit each new room. Is there a way to remove all of the objects in a room at once?

Third icon in the room editor. Select object tab and press the icon - all objects will be deleted. Select 'tiles' tab and press the icon - all tiles in the current layer will be deleted.

in room editor click object and press delete button

Related

How do I rearrange menu bar options in Qt Designer 5?

I have been unable to figure out how to easily rearrange the menu bar selections that I have created in Qt Designer. Older documentation indicates that I can press the left click mouse button on a selection and then drag and drop it into a new location but this feature does not seem to work in this version.
I am trying to move "Load Database" above the "Exit" option. I would imagine I could just delete the "Exit" menu selection and add it again but I was hoping there would be an easier option in case this happens again.
To do so you need to go in the ui editor.
Then click on File. Press and hold on the item you want to move. Move it.
Below you can see the exact same thing done in QT 4.12.3 and Window 10.
Press file
Press and hold on the desired item
Drag the selected item where you want
Now the 'Save as' is above 'Save'
Select your action in Designer
Press Ctrl + Up/Down
Ctrl + Up/Down is working for me (Qt desinger 5.15.0)

JavaFX: When the user touches any button (to click them) in a particular scene, how can I suppress mouse cursor movement?

I have a JavaFX Windows application that contains:
a Teacher screen (JavaFX scene), which exists on the first monitor.
a Student screen, which exists on a second monitor.
On the Student screen there are controls, such as buttons, that the student touches in order to click.
When the student does that (touches a button in order to click it), I don’t want the mouse cursor to move at all from where it resides on the Teacher screen.
How can I accomplish that? Thanks!

How can I dynamically update Accordion Tab with Info Mark

I need to update the accordion tab with an info mark (!) to notify the user about some changes, and then make the mark go away when the user clicks on the tab.
As an example based on the image below, lets say there is some change in the application, at this point I want to show the red info mark as shown in the 'Apples' accordion tab below. Once the user clicks on the 'Apples' accordion tab, the mark should disappear.
This is very standard use case to notify users of changes that have happened. How do I implement this change?

when choose customized qcompleter dropdown list item, it does not appear in customized lineditor

I followed this great example, but when I use the arrow key to go through the customized QCompleter dropdown list item, the item does not appear in the customized line editor (it is highlighted in blue in the dropdown list). when I hit the enter button, the item will appear in the line editor highlighted in blue. then i have to hit the enter button again to let the editor take the item.
this is different from how QCompleter behaves. in QCompleter, when using the arrow key to go through the items, they will automatically appear in the editor without highlight. when hitting the enter button, the editor will take the item.
I spent a lot of time debugging, but couldn't figure out what's wrong.
I think this is a bug as described here: QTBUG-3745. There you can also find a workaround.

What is the proper name for a multibutton?

I'm trying to design a UI in Qt and I can't find anywhere in the designer a button which can be "droped down" like combobox. What I mean by that is that I would like to have this button with his "default" option choosen so if I like it I would have to just click on it but if I would like to choose different option I would be able to clik the little arrow on the right side of this button and then pick option suitable for me at that moment.
You're looking for a QToolButton that has a set of actions or a menu set on it. From the documentation, the QToolButton::ToolButtonPopupMode...
Describes how a menu should be popped up for tool buttons that has a menu set or contains a list of actions.
Of it's values, the two that I see most frequently are DelayedPopup:
After pressing and holding the tool button down for a certain amount of time (the timeout is style dependant, see QStyle::SH_ToolButton_PopupDelay), the menu is displayed. A typical application example is the "back" button in some web browsers's tool bars. If the user clicks it, the browser simply browses back to the previous page. If the user presses and holds the button down for a while, the tool button shows a menu containing the current history list
And MenuButtonPopup:
In this mode the tool button displays a special arrow to indicate that a menu is present. The menu is displayed when the arrow part of the button is pressed.

Resources