QT Close window problem

Hello

I have a shutdown problem Qt QMainwindows on BB10 / Dev Alpha. I have a QMainwindow parent who created a QMainwindow child who is open, allows you to set some options for the user, then closed (I would close but not destroy the window if possible).

The window is created as follows:

gW_Options = new COptions(this);
gW_Options->showFullScreen();

and closed by a button on the form:

void COptions::on_pbClose_clicked()
{
    this->close();
}

It works on the Nokia N9 / N900 (screen disappears and the user sees the parent window), but on the Dev Alpha, the child window remains on the screen and accept no other entry.

Anyone has any suggestions please? I have only a QMainwindow? I need to convert this child window of a dialog box instead?

Note: I prefer not to create the window with Qt::WA_DeleteOnClose set such that it is useful to have the hidden window to reuse them later.

Thank you

Tom

Edit: I tried several other options, including: showMinimized(); masquer(); parent-> raise(); parent-> showFullScreen() but no luck yet.

Hello

It seems that the cause of this problem was the showFullScreen() method. I opened the window as follows:

   gW_FEMView = new CGUI_FEVMob(this);
   gW_FEMView->setAttribute(Qt::WA_DeleteOnClose,false);
   gW_FEMView->showFullScreen();

but now open it with:

   gW_FEMView = new CGUI_FEVMob(this);
   gW_FEMView->setAttribute(Qt::WA_DeleteOnClose,false);
   gW_FEMView->show();

To close the window that I use:

   (*this).hide();
   this->parentWidget()->activateWindow();

My next job is to get the opening full screen of windows (either maximized or hard-coded I guess). But at least I don't get suspended app more )

Tags: BlackBerry Developers

Similar Questions

  • His game even after you close windows media player

    my friend needs help with her computer, whenever it closes windows media player, again there is a sound, any ideas?

    Hi Alex,

    We'll find if there are other applications running in the background on the computer that use Windows Media Player.

    Check out the links and follow the suggestions that are marked as an answer:

    http://answers.Microsoft.com/en-us/Windows/Forum/windows_vista-pictures/Windows-Media-Player-just-keeps-playing/3e994012-18e6-48e3-9f1f-f3f864b12d99

    http://answers.Microsoft.com/en-us/Windows/Forum/windows_vista-pictures/Windows-Media-Player-keeps-opening-by-itself-every/184cfc98-36e3-4025-b3fe-77aa68e1ab20

    Alternatively, you can fix the problem by disabling the process using the media player:
    1. press Ctrl + Shift + Esc, this will bring up the Task Manager, right-click Windows media player in the Applications tab and select go to process. This will bring you to the processes tab with the process highlighted for you. Right-click on the process and select tree to complete the process . This will close the Windows Media Player.

    2. open another music file by double clicking it. Close Windows Media Player by clicking on the close (X) button for the player.

    This will fix the problem.

  • iPod touch recognized as a digital camera, apple says it's a windows problem

    iPod touch is recognized as a problem digital camera.the says it's a windows problem...

    Hi cuteshey,

    Welcome on the site of Microsoft Windows Vista Community.

     

    Solution 1: Update the drivers

     

    (1) the Device Manager open, either by right clicking on computer and then click on manage, and finally on Device Manager, or by typing devmgmt.msc in the box then find (or run) on the bottom of the start menu and press ENTER.

    (2) find the ipod, he (should) be listed under digital cameras, right click it and choose "update driver software".

    (3) select "Browse my computer for driver software".

    (4) for the location (you must have already installed itunes) use C:\Program Files\Common Apple Mobile Device Support\Drivers (replace C: for what is the letter of your system drive), and then click Next, windows will find the driver here and continue to update the driver
    (5) after the update is complete, click Finish to close the dialog box, then disconnect the ipod and plug it in again.

    Solution 2: This seems to be a known issue with the iPhone and iPod touch from Apple, I would suggest also allows you to check the link that contains the iPhone and iPod touch: Disabling digital camera notification in Windows Vista

    http://support.apple.com/kb/TS1500.

    Juice to ensure that it is not not a Windows problem check the Apple Support Article: iPhone and iPod touch: disable the notification of digital camera on Mac OS X

    http://support.Apple.com/kb/TS1501

    Announcement: Camera, video and photos: answers to frequently asked Questions

    http://discussions.Apple.com/Ann.jspa?annID=779

    Solution 3: If the issue is not resolved, it is recommended to contact Apple for iPod Touch http://www.apple.com/support/ipodtouch to have the best support or you can reach the Dell Forums: http://discussions.apple.com and check for extra support and check if they have new updates on this issue and if they can help fix the same.

    Let me know if that does or does not work. Good luck!

    Hope it will be useful.

    Thank you and best regards,

    Kadoch - Microsoft Support

    Visit our Microsoft Answers Feedback Forum and tell us what you think.

    [If this post can help solve your problem, please click the 'Mark as answer' or 'Useful' at the top of this message.] [Marking a post as answer, or relatively useful, you help others find the answer more quickly.]

  • After the launch and the release of Cisco close Windows loses the functionality of micro.

    If I run the Cisco close Windows application, I lose the microphone feature. I understand from the client accesses the pair with the SX camera microphone.

    But if I left out the functionality of client micro does not. I need to restart my computer for the features come back.

    No reason as to why this is happening?

    This looks like a driver problem. First of all, try to see if you can find a newer audio driver, may also update drivers for related equipment such as the dock and the chipset.

    If this does not help, you can try to see if disabling exclusive mode. If off exclusive mode help the issue, but makes it impossible for you to connect to the codec, check all the settings recording. You may have to disable all effects microphone such as the cancellation of the echo for your card to work without exclusive mode.

    Comments on how you price and information about what hardware you use, would be great if we can help others in your situation as well as possible.

  • I received a call from < removed > telling me that they would help my dose of my windows problems. Is it a scam?

    I received a call from the saying that they would help my dose of my windows problems. Is it a scam?

    Hello

    They are cold, you try to pick up the 'business' calling

    It's a scam.

    Either these so-called "Microsoft" Tech companies want to sell you a worthless software, or remote access to your computer to try to steal your credit card and bank information and also achieve an identity theft on you.

    You are the only person who knows if you gave them remote access.

    If you gave them remote access and you do Internet banking, contact your bank, to explain, and change passwords.

    If you use your online credit card, cancel and get a new one issued to you.

    And the only way that willl you know that you are free to them is to backup your data and do a clean install of your operating system.

    @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@

    And Microsoft does not contact you unless YOU have made prior arrangements with them to do.

    There is an article in the link I'm you provide at the end of this one

    Read this Information from Microsoft:

    "Avoid scams to phone for tech support.

    http://www.Microsoft.com/security/online-privacy/avoid-phone-scams.aspx

    Don't be fooled of unsolicited calls. Don't provide personal information.

    Here are some of the organizations that cyber criminals claim to come:

    • Helpdesk Windows

    • Windows repair center

    • Microsoft technical support

    • Microsoft technical support

    • Windows Support Group Technical Department

    • Microsoft Research and Development Team (team of Microsoft R & D)

    See you soon.

  • Close window Subvi

    Hello!

    I built a Subvi to a VI Oscilloscope that performs the analysis of the signals.

    Users should be able to open and close the Subvi window, but I can't make it work like I want.

    He needs to do is:

    -Open the Subvi when an on-off control is clicked and start calculations

    -close window calculations and stop the Subvi

    -Repeat passages that every time that the user needs

    I built what:

    -Open the Subvi with the key and start the calculations correctly

    -When I close the window Subvi it opens again stopped whith calculations

    -After a new closure, if I open the Subvi with the key it doesn't calcuates not

    -After clicking the button it finally starts working again

    I have attached the Subvi and an example VI reproducing the loop containing the Subvi.

    You know a better (and more correct) way to make it work?

    Thank you!

    Mike

    I just noticed a race condition mean you have as well.  If you switch the button after the terminal has been read, but before that the local variable is written to, your rocking button could be ignored accidental due to the locale of your user name.

    What I would do with this Setup would be to launch the Subvi as a parallel process.  The VI can maintain its own State and what not.  You can then use the user events and/or queues to send data to the other process.

  • Missing programs, perhaps a Windows problem

    I was working on my computer very well, I've been on the internet for hours without problem (no antivirus warning and I wasn't downloading anything, only normal pages), and I have existing, up-to-date antivirus.

    Well, the problem is that most of my installed programs have just "party" and some standard Windows programs are gone too. Programs, I had on my system for years and have used several times without problem simply disappeared as well as programs such as calculator and paint. Well, they are the programs that I realized that I have lost so far. To give you an idea, go to start, programs, and usually 1 columns 3/4 programs are displayed, it is now maybe 2/3 of a column. When you go into program files, there is nothing in the missing programs, it seems that they have been uninstalled.

    I have done a complete analysis of the system through Norton Antivirus and came up with nothing. I restarted and then a box come to say a word about "Windows is unable to complete the program installation..." something in this direction, and nothing has come on my desktop except for the desktop, My Documents and trash. I did a restore of the system at the point of older, two weeks ago, and it came up saying: "we cannot complete the system restore, no change has been made."  Arghh!

    I'm computer literate and worked a bit in the it helpdesk and I have absolutely no idea. I think since this is a Windows problem that we may have to clean this completely and started from scratch with new windows. I you gave as the screenshots I can, to maybe give you an idea of what is happening. Note on the last note of screenshot that there are a few things has highlighted. I did not do that, then maybe it's the question? This is the "InstallShield Installation information", "Uninstall information", and "windows update". Also, I am happy to install Real VNC if that helps diagnose the problem. Can you please guide me the case, before you go to all this effort?

    Thanks in advance.

    Run this tool to remove the flags hidden files and folders and see if that's it, it's.
    http://download.bleepingcomputer.com/grinler/Unhide.exe

    See also this article on the thieves hidden files and desktop rmeoved shortcuts and programs startmenu shortcuts in the folder temp\smtmp.
    Missing desktop icons - program files empty
    http://www.experts-exchange.com/A_6209.html

  • Since I set up Windows Vista, I can not close Windows Navigator. How do you turn it off?

    Since I set up Windows Vista, I can not close Windows Navigator. How do you turn it off?

    Hi, BillMarrale,

    Are you referring to the Windows Narrator?

    Go to control panel > accessibility > Ease of Access Center > explore all settings > use the computer without a display > untick the checkbox on Narrator byTurn > click Save...

  • Norton Internet Security 2010 automatically close Windows Defender? __

    My set up:

    Windows Vista 32 bit Home Premium, Vista SP2

    HP Desktop

    Modem DSL Connection

    Norton Internet Security 2010

    I just installed Norton Internet Security 2010. I get a pop up notice of Windows indicating that Windows Defender is disabled. When I had Norton Antivirus/spyware 2008 (that I used until the installation of Norton Internet Security 2010) Windows defender was on, but not in real time.  Then, when I'd go to

    The Task Manager > click on the Services tab > click on the Services button in the lower right

    This will display a list of Services. I scroll down and find the Windows Defender Service

    It shows NOT on and manual start

    Before the instalation of Norton Internet Security 2010, it has shown as Started and startup type automatic

    Is this the right setting with Norton Internet Security installed? I do not use Windows Defender, but I read that the Windows Defender Service is responsible for other things in addition to anti-spyware scanning.

    So should I change the startup type?

    and start the service?

    Or, as I said if I don't use it. leave it alone?

    Q. "Norton Internet Security 2010 automatically closes Windows Defender?"

    A. Yes.  It uses its own antispyware software.  Having two different types will result in conflicts and compatibility issues.

    Carey Frisch

  • Windows Installer + VSS + Windows problems in Windows 7 SP1 Activation

    I used this Windows 7 machine for 5 years now and has recently encountered several problems, which probably are closely linked:

    1. Windows installation problem
    Can't update programs, although new install if they do need Windows Installer to do. Most but not all Windows not updates install.

    2. the problem of volume shadow copy Service

    Failed to create system restore points. With VSS errors appear when I try to do. No previous restore point is available.

    3. Activation of Windows problem
    A pop up keeps appearing every 1 or 2 hours, saying that my computer is not running genuine Windows. Obviously nonsense since this PC was bought during the original Service Pack 1 of Windows 7 and I've never had a problem before.

    I searched a lot online to solve all these problems. I tried hundreds of possible solutions, but nothing has worked. I think that it is all caused by the same thing, but I am unable to find it.

    Ready to provide more information. Thanks in advance.

    (PS: my camera has a pre installed Windows 7 so I own not a Windows DVD, don't want to reinstall the OS, prefer to try to find the cause of the mess)

    Do you have same problems if you create a new user account?

    What Antivirus utility you installed?

    Have you installed a new hardware or software or both since you started these problems?

    Could you describe some of the thing things you've tried?

    Start by checking your hard disk for errors:

    Click Start

    Type: CMD, according to the results, right-click CMD

    Click on "Run as Administrator"

    At the command prompt, type: chkdsk /f /r

    When you restart your system, your computer will be scanned for errors and will try to correct them.

    then

    Click Start
    Type: CMD, according to the results, right-click CMD
    Click on "Run as Administrator"
    At the command prompt, type: sfc/scannow

    This will check for any breach of integrity

    Restart your system

    You can also try to perform a repair upgrade to see if it works. You need to download a copy of the edition of so that your system is under license:

    Download Windows 10, 8, 7 ISOs

    https://www.heidoc.NET/Joomla/technology-science/Microsoft/67-Microsoft-Windows-ISO-download-tool

    then

    How to make an upgrade of the repair - Notebooks.com

  • Not authentic "Windows" problem

    Story: My Dell Inspiron laptop has been running Windows Vista when initially purchased in 2009.   Dell has provided a free upgrade to Windows 7, and this upgrade went well several years ago.  Thus, the machine has been works well on Windows 7 Home Premium Service Pack 1 for awhile.
    Don't know if this is important: a couple of months, I replaced the hard drive.   I did a backup/restore image for the operating system on the new drive.   I don't think that I was invited to return keys validation of Windows at this time here.   I had no problem and the machine worked well after the replacement of the hard disk.
    Now, all of a sudden I get a pop up window that says "this computer is not running genuine Windows.
    However, my Windows is genuine!
    I tried to solve the problem by installing the WindowsActivationUpdate.exe, but will not install.   I get the error message "update installation failed.   Information about the error - 0xC8000247
    I tried to get the Windows product key (from the sticker on the bottom of the laptop) via Control Panel/system/change the product key but it says invalid key!
    Something is clogged to the top, but I don't know what.
    Thanks for any help you can provide.

    Thank you for your response.    I tried several related suggestions and more did not help.   That seems to have solved my problem of Windows Update is reinstalling the technology Intel Rapid Storage Technology driver as suggested by george1009 in your third link above.

    As for my Activation of Windows problem, I typed in the wrong product key.  I entered the key on the sticker on the computer, but it is valid only for Windows Vista (original OS), but not for Windows 7 (current operating system).  I found that my Windows 7 upgrade disk envelope and who had the key valid on it.
    Thanks again for your help.

  • I'm LR4 running on a pc. Control-Q does not close the program. (Sometimes it changes the selected color to b & w image.) I was closing the window by right-clicking on the LR icon in the taskbar and selecting "close window." Is - it really close the

    I'm LR4 running on a pc. Control-Q does not close the program. (Sometimes it changes the selected color to b & w image.) I was closing the window by right-clicking on the LR icon in the taskbar and selecting "close window." Is this really close the program? (It also changes an image n & b).

    -> Output file, or by clicking on the red X in the upper right, should work.

    CTRL-Q should work unless there is a Windows keyboard command that replaces it.

  • I bought the game, family and have installed the new Windows 7, but by the second match, it freezes, and windows says there was a problem and needs to close the game / and or window.problems? __

    I'm having a problem with my new game, family feud.  someone can help me?   How can I solve this problem? and I'm not bad with puters... sorta self-taught.   need help it's step by step in order to follow and apply them correctly.

    • Error messages
    • Recent changes to your computer
    • What you have already tried to solve the problem

    Hi Newgirl11,

    Welcome to the Microsoft Answers site!

    We don't have much information about the compatibility of the game with Windows 7, you can see the link below.

    http://www.Microsoft.com/Windows/compatibility/Windows-7/enus/search.aspx?type=software&s=family%20feud

    To work around the problem, you can try to install the game in compatibility mode and check if it works very well.

    To run the troubleshooting program compatibility Troubleshooter

    1. Open the program compatibility problems by clicking on the Start button, then Control Panel. In the search box, type troubleshooting, and then click Troubleshooting. Under programs, click on run programs for previous versions of Windows.
    2. Follow the instructions contained in the resolution of the problems.

    If you are unable to install a program, insert the installation disc for the program and, using the Troubleshoot utility, navigate to the program setup file, usually called Setup.exe, Install.exe, or something similar. This utility is not designed to work on programs that have an .msi file name extension.

     

    For more details follow the link below.

    Make older programs in this version of Windows

    Hope this information is useful.

    Amrita M

    Microsoft Answers Support Engineer
    Visit our Microsoft answers feedback Forum and let us know what you think.

  • Windows 7 extracted one unexpectedly closes. Problem event: BlueScreen, BCCode: 9f__

    almost every day when I wake up in the morning I receive a message saying that my computer has suffered from an unexpected shutdown, and he asks me how I want to start windows 7 (i.e. normal or safe mode). It doesn't matter if I have programs that are running or not, or if I have an external hard drive connected or not. When I get on the desktop I get this same notification but with the check for problem solutions. I press the button more detail and I get this:

    Signature of the problem:
    Problem event name: BlueScreen
    OS version: 6.1.7600.2.0.0.768.3
    Locale ID: 1033
    More information about the problem:
    BCCode: 9f
    BCP1:0000000000000003
    BCP2:FFFFFA8007F03060
    BCP3:FFFFF80000B9C4D8
    BCP4:FFFFFA80048143D0 OS Version: 6_1_7600 Service Pack:
    0_0 product: 768_1
    Files helping to describe the problem:
    C:\Windows\Minidump\120209-31746-01.dmp
    C:\Users\Melon\AppData\Local\Temp\WER-53835-0.SysData.XML
    Read our privacy statement online:
    http://go.Microsoft.com/fwlink/?LinkId=104288&clcid=0x0409
    If the online privacy statement is not available, please read our offline privacy statement:
    C:\Windows\system32\en-US\erofflps.txt
    I read somewhere that the 9f code means a power management problem. but I'm not sure. I followed all of the updates, Office Live in and silverlight are the only 2 that I've not being updated, any help would be great
    Thank you

    You have all devices IEEE 1394 connected to PC?
    http://support.Microsoft.com/kb/929762

  • Welcome window problem.  If poster every time I save and close a file in photoshop

    How to fix a bug on the Welcome window. This window appears whenever I have save and close a file Photoshop, its has started after the last update 2014.2.0

    See this document: home screen troubleshoot in Photoshop

    Scroll all the way down. There is a checkbox "do not see the Welcome screen Again.

    You can restart the screen later by selecting help > welcome screen...

    ~ David

Maybe you are looking for