Questions tagged [mainwindow]

157 questions
1
vote
2 answers

How can I pass application control to another WPF window?

I'm setting up a simple WPF application, which looks at its command-line arguments to determine what kind of window should be shown next. When that's determined, I show the next window by calling new ApplicationWindow(), set the content, and call…
ArtOfCode
  • 5,702
  • 5
  • 37
  • 56
1
vote
0 answers

Qt Creator. Qt Quick Application screen doesn't show up on my Android device

I'm new to Qt Creator and I'm attempting to create a simple application. So far it's only very basic with just the main screen. I have written the QML code, and tried to run it on my OnePlus One Android phone. I have all the necessary components in…
mike
  • 11
  • 1
1
vote
1 answer

How to close main window from another class?

I have a class which inherits from QDialog (dialog_game_over). I show an object of that class in a slot of another class. I want to close mainwindow and QDialog when user clicked on ok button. First I built an object of mainwindow in…
maryam
  • 1,437
  • 2
  • 18
  • 40
1
vote
2 answers

How to add AppDelegate mainwindow xib in Singleview application

I have SingleView application. Now I want to add a mainwindow to my project. How can I add the window into my project? Thanks in advance.
Paresh Hirpara
  • 487
  • 3
  • 10
1
vote
1 answer

double plot in an embedded plot mainWindow

I have managed to plot a multi-bar plot in the mainWindow of my application created with QtDesigner, the problem that I am having is that each time I try to plot I am having two identical graphs, one inside the application (which is what I wanted)…
codeKiller
  • 5,493
  • 17
  • 60
  • 115
1
vote
2 answers

attributes of Mainwindow from childWindow

How can I make a childWindow access and/or modify an attribute from his MainWindow? I have a MainWindow that opens different childWindows, dependeing on the pressed button on the MainWindow. I would like any of the childWindows to be able to modify…
codeKiller
  • 5,493
  • 17
  • 60
  • 115
1
vote
1 answer

Get main window of a process, if not visible .Net/powershell

I'm testing the following command in powershell console: get-process thunderbird |% { $_.MainWindowHandle } It returns a value, when the window is visible, but as I hide it (actually, remove WS_VISIBLE from styles using an addon), it returns 0. As…
noober
  • 4,819
  • 12
  • 49
  • 85
1
vote
1 answer

merging or combining two projects. two delegates, two windows

Thinking about divide and conquer, I decided to start an application having small pieces of my big app. I thought it was more convenient and easier specially as far as errors go. When I tried to merge two of them, I faced the problem of having…
GianPac
  • 462
  • 1
  • 7
  • 18
1
vote
1 answer

How to animate the MainWindow itself when it is loaded

I am fairly new to wpf.I want to apply a fade animation on the MainWindow as soon as it is displayed on the screen.Is that possible?Please Help me out
gaurav9021
  • 65
  • 2
  • 8
1
vote
2 answers

Game Center view cut off on iPhone 5

I'm updating an older project to support the iPhone/iPod 5's 4 inch screen. I've added the Default-568h@2x.png to my project, and almost everything seems fine, except: the Game Center overlay (view controller) is cut off at the bottom. Tweet sheet…
eddybox
  • 355
  • 1
  • 10
1
vote
3 answers

How to Use RadWindow as MainWindow of WPF application

I want to use RadWindow as the main window of my WPF application. So that outer window also take the theme of overall application. I used this approach, but after that application is not being shown on Taskbar anymore. After reading different…
Muhammad Ummar
  • 3,541
  • 6
  • 40
  • 71
1
vote
1 answer

Set window.owner from Process.GetCurrentProcess().MainWindowHandle

I am in a Win Form application, somewhere in a document I need to call this dialog written in wpf and I want to set the window.owner. The only thing close I found to get the main window of my application is the following. I want to set the…
1
vote
1 answer

C# get main window title of processes on a remote machine

I am developing a C# program that is run from a server and monitors processes on another set of servers. The processes I am monitoring all have the same exe name, but different windows title names. I am looking for a way to pull the windows title…
0
votes
1 answer

Qt, new object for MainWindow, app crash,how to emit finished() signal

In main class MainWindow I have method which sets setEnabled("false") for each button, when the application is downloading. In other class "Download" I have method responsible for downloading. There is sth like this if ( uRet == S_OK ) and after…
aptyp
  • 251
  • 1
  • 6
  • 19
0
votes
1 answer

SubView did not load in the first launching of my application

I'm new to iPhone development. I tried to build a simple application with a window and a navigation controller as a sub-view of this window. The problem is this: the sub view did not load when I launch the application. I just have a windows with…
Aladdin Gallas
  • 701
  • 2
  • 12
  • 36