Questions tagged [mainwindow]
157 questions
0
votes
1 answer
"Deleted" viewcontroller from MainWindow.xib. Is this possible?
So I accidentally removed the viewcontroller from the mainwindow.xib in xcode. I tried dragging the xib back into the mainwindow, but nothing is working. Is there anyway to get the viewcontroller back onto the mainwindow? When I run the app all…

davis
- 1,911
- 6
- 26
- 50
0
votes
0 answers
Get MainWindow Instance WPF
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 many articles, but don't find a way how to do…

Bird
- 1
- 1
0
votes
0 answers
WinUI 3: WinRT.Interop.WindowNative.GetWindowHandle(this) crashes application
I have a button in my Xaml code like this:
and the code behind is this:
private async void PickFolderButton_Click(object sender, RoutedEventArgs e)
{
…

lajawi
- 101
- 3
0
votes
0 answers
Passing a stream thorugh IPC
Working on video calling project, My Call is displayed in the mainWindow and when I Click On a button , I need the Call to be on another Window. but am not able to send stream through the IPC , so the only possible way I can see is to start a…
0
votes
0 answers
Why is my PyQt6 QPushButton not clicking in my QTableWidget and QWidget on my MainWindow?
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 online, extensively, as to the issue I am having.…

jreezy
- 1
- 1
0
votes
0 answers
Getting Excel Main window in System.Windows.Window in C#
I have Excel AddIn and I need to pass Excel Main Window to a certain function as a parent.
So, at ThisAddin_Startup I try
public static Excel.Window ExcelActiveWindow { get; set; }
private void ThisAddIn_Startup(object sender, System.EventArgs e)
{
…

Leon
- 165
- 12
0
votes
0 answers
I'm getting an error: QGraphicsView(parent: QWidget = None): argument 1 has unexpected type 'MainWindow'
I'm trying to run my Gui but I got this error:
TypeError: arguments did not match any overloaded call:
QGraphicsView(parent: QWidget = None): argument 1 has unexpected type 'MainWindow'
QGraphicsView(QGraphicsScene, parent: QWidget = None): argument…

nnguyenquy
- 1
- 4
0
votes
1 answer
Change Visibility of Main Window from a different window
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()
{
InitializeComponent();
…

Crestfallen Vulpes
- 11
- 2
0
votes
1 answer
Open secondary window while primary widow is loading
I have a main window in my application which has lot of components and usercontrols. Since this window is taking so long to load, I need to implement a new secondary window(containing buttons for create new, open, recent files etc and details about…

abhijith
- 1
- 1
0
votes
1 answer
make a window running on one thread modal to main window running on another one
I have the Mainwindow running on its own UI single STA thread. AT some point in the application I am running, for limited time, another window on a different single STA thread.
The problem I am having is that the second tread runs on a different…

Florin
- 23
- 5
0
votes
4 answers
in WPF, returning back to MainWindow after setting the content elsewhere
I have no idea why this is so hard for me to find an answer to.
Essentially, just like in a windows form, i create a new object of a page, and then display it.
However you cant do that in WPF, so instead, I set the content of the main page, to that…

MichaelMcCabe
- 523
- 4
- 15
- 33
0
votes
1 answer
Running a PYQT Dialog before QT MainWindow is Activated
I am coding a Python program using PyQT that will collect a list of files from folders in an SD card and let me view the photo and video files so I choose if I want to save any to more permanent storage. The process to read the directory of files…

Dave Nagy
- 21
- 7
0
votes
1 answer
Could not load NIB in bundle [...] with name 'MainWindow' only on iPhone 4
I have a Problem with my App. It is working perfectly on my iPhone 3GS, but now where I tried to test it on an iPhone 4, it is crashing while the Splashscreen is visible.
Here's the log:
2011-07-06 16:01:05.611 Apptest [294:607] *** Terminating app…

Kevin Glier
- 1,346
- 2
- 14
- 30
0
votes
1 answer
why does super(MainWindow, self),__init__(*args, **kwargs) NameError: name '__init__' is not defined
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(QMainWindow, Ui_MainWindow):
def…
0
votes
1 answer
xcode MainWindow.xib vs ViewController.xib, trying to delete label from viewController.xib?
I'm trying to understand the relationship between the ViewController xib and the MainWindows.xib?
I clicked the mainwindow xib from the project navigator a window pops up that I can draw on and then I click the viewcontroller icon and another window…

Mantisimo
- 4,203
- 5
- 37
- 55