Questions tagged [mainwindow]

157 questions
1
vote
0 answers

menuBar not displayed in windows qt

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 constructor is…
1
vote
1 answer

Xcode 4: Switch Views to MainWindow.xib

I'm pretty new to Objective-C and Xcode, so it would be really helpful if you could give a detailed answer. I'm working with a Navigation-Based Application and I have a menu. If the user clicks on a specific button, the tableview and the navigation…
niclas
  • 710
  • 1
  • 6
  • 17
1
vote
1 answer

How to do in-window hint in GTK+

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). Also, I want to put the hint inside the GtkListBox…
ADBeveridge
  • 650
  • 3
  • 15
1
vote
1 answer

Check if Microsoft Edge is already opened

my problem is following: I am currently opening up Microsoft Edge through .NET code to be able to read PFD-Files. But I only want to open Edge with a PDF-File, if it's not already opened. The problem with Edge is, that the window is hosted by the…
1
vote
1 answer

How do I show Border Frame and Title Bar on MainWindow on Cross Compiled Application on an RPi3?

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 MainWindow is full screen with no control buttons nor…
Max
  • 95
  • 1
  • 13
1
vote
1 answer

WPF access a page control from MainWindow class

I have created a WPF app that has navigation between two pages. I want a control(a groupbox) from one of the pages to be hidden by default and to be able to enable it when pressing a keycombo. Home1 is the name of the page and bgdb is the name of…
erma86
  • 75
  • 1
  • 10
1
vote
0 answers

C# process.mainwindowtitle showing process name instead

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 SetConsoleTitle() function to set its title. The code I…
Jason
  • 11
  • 3
1
vote
1 answer

Qt MainWindow doesn't show MenuBar

In the code below I create Qt Widget's Application, base class QMainWindow, and without .ui form. Cant understand why MenuBar doesn't show, tried different variants and no one works. This image demonstrate what i got . System Ubuntu 16.04. Using…
1
vote
1 answer

How provide Grid instead of Links on ModernWindow of WPF

On ModernWindow I have something like this for tabs: How could I have something like this:
1
vote
1 answer

System.TypeInitializationException when changing MainWindow startupUri WPF

I am trying to change the MainWindow location in a WPF application from the default startup URI: MainWindow.xaml to Views\MainWindow.xaml. where Views is a folder created inside the project folder. Uri: this.StartupUri = new…
user7496642
1
vote
1 answer

Qt non-main windows

If I want to create a window that is not a main application window (like say I want a Preferences window to pop up when a preferences menu has been clicked in the main window), how would I accomplish this?
wrongusername
  • 18,564
  • 40
  • 130
  • 214
1
vote
1 answer

Where can I add a method call when the MainWindow is completely built in C#

I need to call a method the first thing after the MainWindow is built. I've added this code to the XAML: Loaded="MainWindow_Loaded" And this method to MainWindow: void MainWindow_Loaded(object sender, RoutedEventArgs e) { SelectScenario dlg =…
zetar
  • 1,225
  • 2
  • 20
  • 45
1
vote
0 answers

Qt - MainWindow.cpp hangs/crashes

I turn on the PC, the code compiles, the application runs. I close the application, and run again, but it crashes with error A I close and run again, it just hangs while trying to create MainWindow. I restart PC, and back to top, the application…
meleneemil
  • 21
  • 4
1
vote
1 answer

Check if main window of application is open and loaded

Part of my app is opening applications and preserving the work space that they have opened in. My problem is checking if the main application window has opened so I can go and switch to the next work space. Normally, I could just check if A window…
Minebomber
  • 1,209
  • 2
  • 12
  • 35
1
vote
1 answer

How to make C# tab switch between form

I want to know if it possible to use tabs (like Google Chrome or many others program) in VS Express 2010 to swap between forms without closing any window. I know there is the tab control item in the tool box but as far as I know you need to create…
hen shalom
  • 127
  • 1
  • 1
  • 9