Questions tagged [mainwindow]
157 questions
0
votes
1 answer
How to send an object to MainWindowViewModel using an child element view model inside a frame(WPF)?
I have a MainWindowViewModel and my MainWindow contains a frame to display project pages.
The first page being displayed is a list of recently opened projects(Similar to Microsoft word) which has it's own ViewModel.
There is no problem in loading…

hamid ramezanali
- 1
- 2
0
votes
1 answer
Generate QtLabel inside Class and call it in MainWindow
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
{
public:
QPolygon polygon;
QLabel…

ShibeSon
- 79
- 5
0
votes
1 answer
Java Already opened windows inside the Content pane of Main window goes beneath the main window when a menu item is clicked on the main window
I am a beginner in java swing an this is my first question. Before asking this I have searched long and not found any solution.
I have a main window with JmenuBar and MenuItems. My problem is that when I click on a menu item the already opened…

Renoj Joseph
- 93
- 10
0
votes
0 answers
High-level structure of PyQt applications - splitting into modules and passing variables
As a PyQt application grows the mainwindow class becomes very crowded, and it is convenient to split the application into modules. In some cases distinctions as to what can be placed into a module are clear, for example a config file that is loaded…

Joseph
- 578
- 3
- 15
0
votes
1 answer
Adding and Removing UIBarButtonItems to UINavigationBar from Multiple Views
I currently have a Main Window set up as a UINavigationController (also is the root view controller), and I have two views. The first view is the login screen, and the second screen is a table view screen. What I would like to have happen is to…

SpacePyro
- 3,121
- 4
- 25
- 30
0
votes
1 answer
How do you create a QPushButton in the MainWindow?
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 Mainwindow but I don't know how to do this (without…

Schulp
- 73
- 6
0
votes
1 answer
Accessing a MainWindow list from another window (Protection)
I have this code over here from MainWindow.xaml.cs in a WPF application
public partial class MainWindow : Window
{
animaciones.Preferences Preferences;
animaciones.GameOver GameOver;
ObservableCollection listafiguras = new…

dantosh
- 1
0
votes
4 answers
Accessing MainWindow from another window
I have created a new Window that opens up from the MainWindow. Upon clicking a button from this Window, the Window should close and at the same time trigger some event in MainWindow.
I thought this would be easy to implement but I don't know how to…

AshleyKang
- 1
- 1
0
votes
0 answers
After my login dialog window exits my app main window hangs
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 after a few seconds. I have the user's…

Nick Ismond
- 21
- 2
0
votes
1 answer
Why does the main window of an X11 application sometimes not appear in OS X
I have created Perl/Tk application for OS X compiled using ActiveState PDK PerlApp 8.2.1. The application requires X11 to work properly on OS X, and everything works fine on my own computer (OS X 10.4.11) and others report it working well on OS X…

LozzerJP
- 856
- 1
- 8
- 23
0
votes
1 answer
Check, if dialog window "locks" main window
I'm doing Surface Automation of an application. The Automation is asynchron. Sometimes, a Dialog window occures and locks the mainwindow for further Access.
I'm using C++ / Win32API, C# or VB. I can get the main window by the processID and want to…

Jan021981
- 521
- 3
- 28
0
votes
0 answers
Why only top border is visible when ToolWindow is used?
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
WindowStyle="ToolWindow"
It works, but now only…

broadband
- 3,266
- 6
- 43
- 73
0
votes
1 answer
Update Combo Box contents with the updated dictionary contents that it is data binded to
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 layed out in the xaml above.
So the combo boxes don't…

a_here_and_now
- 177
- 3
- 15
0
votes
1 answer
My Main Window will not change even though I change it?
Hey!
Have a problem that is driving me crazy! My Main Window will not change when a make changes in interface builder in xcode 4, I have played around for over 2 hours trying to make changes but when a build it does not change. When a change…

Fabian Lundberg
- 205
- 3
- 6
0
votes
1 answer
Display ModalViewController with button in MainWindow.xib
I'd like to display a ModalViewController from a bar button in the MainWindow.xib file. How would I do this? The basic code I'm looking to use is this:
-(IBAction)add {
myCustomViewController *add = [[myCustomViewController alloc]…

Simon M
- 2,931
- 2
- 22
- 37