Skip to main content
Filter by
Sorted by
Tagged with
0 votes
1 answer
62 views

I'm trying to populate a QScrollArea object within a MainWindow object at runtime when a menu item is selected. However, I can't seem to figure out how to do this. Here is a minimal example of how I ...
Trevor Acton's user avatar
0 votes
0 answers
31 views

I am creating a simple PyQt GUI that initially shows a login window. Upon successful login, the MainWindow is supposed to refresh and change the MainWindow layout. The approach I used is creating two ...
Kevin's user avatar
  • 39
0 votes
0 answers
108 views

I have some custom extensions, which when i double-click on it, it launch program and every time as i do it, it creates new mainwindow. So i want not create, but update the first mainwindow. I searced ...
Bird's user avatar
  • 11
0 votes
0 answers
168 views

Need to understand the origin of the issue as to why my pyqt6 QPushButton does not seem to be clicking or functioning even though I have done everything right in my eyes. I have researched and read ...
jreezy's user avatar
  • 1
-1 votes
2 answers
552 views

I am using Qt Creator to build a main MainWindow and populate it with all my widgets. I do not set any MainWindow layout in this stage (like "Lay out in a Grid" or "Lay out Horizontally&...
Rick64's user avatar
  • 519
0 votes
1 answer
391 views

Sorry for the stupid question but I can't get it to work. I got a MainWindow that opens another window. public static Window2 LoadWindow = new Window2(); public MainWindow() { ...
Crestfallen Vulpes's user avatar
1 vote
0 answers
115 views

I have mainwindow.ui where need to use menubar and toolbar on my Windows 10OS.So I made in GUI menubar an toolbar, but when program runs they not appear. mainwindow.ui running mainwindow Code of ...
lucky_punch's user avatar
1 vote
1 answer
125 views

The Sound Recorder app of GNOME has this in-window hint at start-up. How do I do this? I was browsing through the source code and found that it is written either in Vala or Javascript (not sure). ...
ADBeveridge's user avatar
-1 votes
1 answer
120 views

I am unable to shutdown my WPF application on closing the main window. Just facing this issue after adding new window (splash screen) to my project. Below is the newly added code in App.xaml.cs ...
Alyesh's user avatar
  • 19
0 votes
1 answer
952 views

from PyQt5.QtGui import * from PyQt5.QtWidgets import* from PyQt5.QtCore import * import operator from Calculator import Ui_MainWindow # Calculator state. READY = 0 INPUT = 1 class MainWindow(...
Tegarrangga's user avatar
0 votes
1 answer
305 views

I'm pretty new to Qt and I came across a problem I don't find a fix for. So my problem is as follows: I try to generate a QtLabel inside a class and display it in my mainWindow. class Hexagon { ...
ShibeSon's user avatar
-1 votes
1 answer
47 views

Here is the link to the original post: Animating a WPF window width and height. Thanks for the given example. The code works great. But only on the main window. If i create a child window. ChildWnd cw ...
Геннадий Горбач's user avatar
0 votes
1 answer
827 views

QPushButton* m_button = new QPushButton(); Whenever i try to create a QPushButton like this, it appears to be created in a new separate window. However, I want the Button to be created within the ...
Schulp's user avatar
  • 73
0 votes
0 answers
43 views

I am new to pyqt5 and i have been desperately trying to make a login window for my payroll windows application however when i put in the credentials whether they are right or wrong the main app hangs ...
Nick Ismond's user avatar
0 votes
0 answers
705 views

I created new .NET WPF desktop application using Visual Studio 2019. The default mainwindow looks like this: What I want is to hide the icon, which I accomplished by setting next property to Window ...
broadband's user avatar
  • 3,548
1 vote
1 answer
354 views

I am using QT Creator 4.5.2 based on 5.9.5 on Ubuntu 18 to build an application designed for a Raspberry Pi 3 running Stretch (cross compiled). I can launch the application on the RPi3, but the ...
Max's user avatar
  • 95
0 votes
1 answer
148 views

I have a combo box who's display and value paths I have successfully bound to a dictionary. The only problem is that the actual dictionary isn't populated by the XAML until after these boxes are ...
a_here_and_now's user avatar
-2 votes
1 answer
41 views

I would like to know if this names (StartupUri="MainWindow.xaml" and MainWindow.xaml) should coincide. For example, if I'm going to rename MainWindow.xaml to e.g. MsgBox.xaml. Please look at pic and ...
DeputyOfCopyPaster's user avatar
1 vote
0 answers
333 views

I am writing a C# application and before I exit, I need to close another console application based on its window title... this second application (staticEngineWriter) is a C program that uses ...
Jason's user avatar
  • 11
-1 votes
1 answer
274 views

I have a Window(mainwindows.xaml) where there's a label.Now,i've created a UserControl(Just a basic button)..On Window_load,i'm adding the UserControl in a canvas(in mainwindow) using this : Dim con ...
Aousaf Rashid's user avatar
-1 votes
3 answers
2k views

What I'm trying to do is perform a heavy task triggered by a button event on the MainWindow, but still be able to drag the window freely. I've tried both the async/await pattern and creating new ...
Damian Radinoiu's user avatar
1 vote
1 answer
71 views

On ModernWindow I have something like this for tabs: <mui:Link DisplayName="Steps" Source="/Views/StepsControl.xaml" /> How could I have something like this: <mui:Link DisplayName="Steps" ...
Serareh Azimi's user avatar
0 votes
3 answers
2k views

Is there another way to access MainWindow's public variables than : MainWindow mainWindow = Application.Current.Windows.OfType<MainWindow>().FirstOrDefault(); mainWindow.variable.... this work ...
TestMan's user avatar
  • 77
0 votes
1 answer
32 views

2 simple question about resizing in WPF (images included): 1) When I make my mainwindow user-resizable it seems that if the user would want to reduce the size - the whole window with its' components ...
Yair V.'s user avatar
  • 119
0 votes
0 answers
58 views

I have searched on the internet for a long time but I couldn't find an answer to my question. When resizing the main window of my application I want some of my widgets to grow. A lot of answers I ...
Kikidr's user avatar
  • 11