Linux: resize application window to fit display - xorg

I have a 1024x768 Qt3 application, and want to run it on a smaller tablet display. Isn't there a way to zoom out the application window, so to fit the display? I mean: not resize widget by widget, but at very low level, frame by frame, as if it were a video. The window should respond to mouse and keyboard, obviously.
Thank you!
John

you can start x11vnc server where your qt3 app is running and vnc client on the tablet
x11vnc -id qt3_app_window_id -scale required_scale -geometry 1024x768

Related

How does monitor size influence a desktop application

I want to know if a fixed sized application would look exactly the same(talking about the size of the window) on any monitor. Let me give you an example.
Let's say that I have a PyQt5 application with a fixed size of 600x400 pixels. I run this application on my 14 inch LENOVO laptop(its resolution is the recommended one, 16:9) and it will look fine, application's window is not too big for the monitor and also not too small. But if I take this application and run it on a PC which has an 22 inch ACER monitor(same resolution, 16:9) will the application's window stretch or will it look smaller? I mean, the a 600x400 window would look smaller on a big monitor right? Or will the OS somehow stretch it?

Nonexclusive Borderless Fullscreen with QML

I need a fullscreen window in QML. However, it must not be exclusive fullscreen. My application must work with accessible applications such as Windows On-screen Keyboard and Magnifier. If my application runs in exclusive fullscreen, it will stay on top of other accessible applications making them useless.
With QWidget, I can call showFullscreen() and get what I needed (a window that cover the entire screen while letting other accessible applications stay on top of it.
With QML, there are a few few ways to make the window fullscreen. However, all of the methods I've tried result in exclusive fullscreen.
I've tried all answers suggested here. To summarize I've tried setting visibility: "FullScreen". I've tried manually setting the width and height to match the screen resolution.

JavaFX Scene Builder - Preview stays in fullscreen mode

I've encountered what might be a bug, but I do want to ensure there isn't a setting I missed somewhere...
I'm using JavaFX Scene Builder (this has the same behavior in Gluon Scene Builder), on macOS X High Sierra.
The Scene Builder application is operating in fullscreen mode, and when I press cmd+P to launch a preview window for the FXML project loaded, it opens normally, like so:
But if I put the preview into fullscreen (fills the screen space, not in fullscreen mode like scene builder app) by pressing the green plus at the top left, and then close it (or shrink back to normal size and then close), it reopens back in fullscreen.
My informal solution is to shrink the fullscreen window to normal size, then minimize the window (which also makes the screen black), then reopen the preview and then close it. That makes it open at normal size again.
My question is whether or not this is a bug. Is there a more simple solution or is this even the intended behavior?
Thanks.

Last screen seen on cursor position after moving to a new screen

I'm running Qt 5.5.1 on my embedded Linux machine. When a mouse is connected the cursor is visible and work as expected, but, when I'm pressing on a widget to move to another screen the new screen is presented with the old screen view inside a small square (mouse background at the time of the press). Example:
It seems like it's a rendering issue. Your help is most welcome.

How to fit Qt application in phone window?

How to fit Qt application in phone window? When app is being designed it fixes the size of controls like combobox, calendar etc. When I run in emulator they are squeezed but, I want them to resize n fit in window as per the size of window.
Try using showFullScreen instead of show.

Resources