Programming :: QSplashScreen - Extend Loading Time To Display Splash For Longer?

Apr 7, 2011

One requirement of a project I am currently working on (for Maemo) is that the Qt application displays a QSplashScreen when it loads.

My issue is that the application is fairly small and I have written it to load components etc as they are required rather than at start-up. This has lead to quick start up times (which, in a perfect world is what we all strive for!)

How would I intentionally delay the start-up time so that the splash shows for longer?

I have investigated

Quote:

QTimer:: oneShot() (Space added to prevent smiley)

however, its prototype dictates that it be connected to a slot. I am running this QSplashScreen from inside main so this is neither needed nor feasible.

What is the best way to essentially do this:

Code:
Display Splash
Timer for 3 seconds
Close Splash
Display mainWindow

I do not want to use native system calls such as sleep() and would instead rather a Qt based solution.

View 1 Replies


ADVERTISEMENT

Programming :: QSplashScreen And QPainter - Draw Shapes And Gradients

Apr 7, 2011

Following on from my issues with QSplashScreen, I am wanting to investigate the QPainter class(es) some more.

Code:

How would I best achieve this:

- Draw some shapes and gradients with QPainter/QPen etc
- Create a splash screen out of it
- Display SplashScreen.
I cannot find anything that doesn't involve

Code:

I am comfortable making splash screens out of images, but now I want to try drawing one myself.

View 2 Replies View Related

General :: Networking - Extend Display Over Network On VNC?

Apr 30, 2011

What I need is a program that will extend a X-windows display over a network, similar to nvidia's TwinView (which I am already using on the main machine for its 2 current monitors).However, I cannot use Xdmx (as suggested by all the threads I found), as I would like it not to require me to manually start the x server and viewer, and have all the machines must be running a *nix OS, which won't work for me, as the secondary machine is running windows.I would also like it to hopefully use VNC to share the desktop, as I would be connecting to it from a windows machine over ethernet.By "extend" I mean one that would, say, for example, add another X display with a given resolution and position and serve that over VNC. I have yet to find any programs that will do this.

View 1 Replies View Related

Ubuntu :: How To Extend Time Before Auto Log Off

Mar 29, 2011

Sometimes I am watching PBS movies on line... and from a period of inactivity, Ubuntu log me off automatically from my movie to the password typing page. How can I extend the time, to avoid being log off automatically. Which command should I use to control that time?

View 2 Replies View Related

Ubuntu :: Extend Time Before Monitor Goes Dark?

Nov 22, 2010

How can I extend the time before the monitor goes blank. The only setting I have found only gives me 1 minute.

View 1 Replies View Related

Ubuntu :: 10.10 Freezes At Splash Screen Upon Loading?

Dec 21, 2010

I was not able to install any version of Ubuntu. Everytime when the splash screen would appear, the computer would freeze and no hard drive activity would be present. The only way was to use the alternate install version of Ubuntu 10.10. Though, the splash screen problem persists. After the Ubuntu boot screen disappears, the splash screen appears with the coursor. About 3 seconds later it becomes unresponsive and the hard drive light stops showing activity. After reading a lot, I think it's my video card driver. I'm a complete newbie, so any commands need to be written out so I can just type in and cross my fingers. I can boot into the GRUB recovery mode. I log in and have a text based setup at this point.You know, I can type sudo commands and all that jazz. How can I fix my video? The graphics is not integrated. It's a 32mb nvidia TNT2 PRO.

View 1 Replies View Related

General :: Show A Splash Screen While Gnome Is Loading?

Aug 26, 2009

i have a splash screen i want to use while gnome is loading (well it is a pic rather than a splash) rather than black screen till gnome i use ubuntu 9.04 or macbuntu as i call it (is looks exactly like a mac) so can i use a image while gnome is loading ?

View 3 Replies View Related

Fedora :: Rescue Data From Unbootable / Hangs Before Loading The Splash Screen?

Apr 4, 2011

Adding several 2TB HDDs somehow crashed SATA controller on motherboard.Fedora will no longer boot.

I connected HDD (with Fedora OS) to another computer.Fedora gets past GRUB, but hangs before loading the splash screen.Is something wrong with GRUB settings?Previously, I had dual boot at GRUB (Fedora and WindowsXP).

What is the easiest way to get Fedora to boot properly on another system?I need access to those files.

View 14 Replies View Related

Programming :: Child Classes That Extend Each Type Of Pet

Jan 6, 2011

I am fairly new to c++. There must be a better way to do the following?:- Say I have a base class, Pet. I have several child classes that extend from this, like Dog, Cat, Fish etc.

I have the following function, that returns a pointer to a new Pet:-
Code: Pet* addPetToVet()
{ //Do some stuff
return new Pet();
} This will return a pointer an instance of a pet object.

Now, if I want to interpret this pet as a dog or cat I have to do this:-
Code: Dog* dogA = static_cast<Dog*>(addPetToVet());
Cat* catA = static_cast<Cat*>(addPetToVet()); Is there a way around this? Casting seems lame. I cant write a function for each type of pet.

View 5 Replies View Related

OpenSUSE :: Software To Display Time From Multiple Time Zones?

Jun 15, 2011

I'm looking for a program that will digitally display the time in three different cities - all showing at once. I don't care if it is a panel applet or stand-alone. I'm using Suse 11.3 and Gnome.

View 5 Replies View Related

Programming :: Extend Perl Capabilities Using CGI / Start Cgi Scripts?

Feb 22, 2010

I want to extend my perl capabilities using CGI. So, could you please tell me where to start and how to start my cgi scripts on linux RHEL AS 4 system.

View 4 Replies View Related

Ubuntu :: Hide Grub Menu But Display Splash?

Jan 22, 2011

I would like to hide the Grub menu, but still display a splash screen, and be able to blindly select the items.

View 3 Replies View Related

General :: Cannot Reset Resolution - No Display After Splash Screen

Jul 26, 2010

So I know now that I reach the login screen, and I know to hit control, alt, f1. However, all attempts to reset the resolution have failed. Here's how it went down. I was working with nvidia driver. Already was frustrated I couldn't get a working wide screen setting for my toshiba hd tv/monitor but that's a seperate issue. I was trying to get the driver to recognize my separate monitor to an hd tv in the living room using the video out. works fine with windows. I got it to recognize, it made me save settings, and then restart. Note resolution settings are set to automatic right now. Then when I restart, I get to ubuntu splash screen, it plays the chime, and shows a blank black screen. Control alt f1 brings me the menu.

I have been told to type (this is just quick type, I used the proper commands in reality)
sudo dpkg-reconfigure xserver-xorg.
sudo dpkg-reconfigure -phighxserver - xorg
xrandr --output lvds --mode 1024x768

I found one article that gave a three step process.
sudo cp /etc/x11/xorg.conf / etc/x11/xorg.conf.custom
sudo sh -c 'md5sum ' etc'/x11/xorg.conf > /var/lib/x11/xorg.conf.md5sum'
sudo dpk-reconfigure xserver-xorg.

Nothing gave me any of the results I expected from command doesn't exist to completely irrelevant menus. Start me from the beginning to what I should do. Yes I logged in properly with my username and password to. Do the 'etc' in the command need to be filled with something else like a drive letter or something. I'm so lost, should I disconnect my tv? Also I tried running in safe mode and it said something about display not found.

View 6 Replies View Related

Ubuntu Installation :: 10.04 Terminal/Boot Splash Doesn't Display Correctly?

Apr 19, 2010

I just upgraded my computer from Ubuntu 9.10 to 10.04 (beta2) restarted and the splash was screwed i thought meh i can live with it then went into my account switched to tty1(ctrl+alt+F1) and it was the same. got annoyed now asking had anyone else encountered/know how to fix this problem. pictures attached sorry for bad quality took on phone, but that is how it really looks.

View 9 Replies View Related

General :: Display Boot Splash Image On Embedded Device Using Fbsplash?

May 13, 2011

I'm working on a project to have our company logo image display on the screen during bootup. Our platform is an embedded Linux device running on a custom configured linux kernel 2.6.38.2. Our development distro is Ubuntu 10.04. I am currently trying to get fbsplash to work on our device with no luck so far.

View 1 Replies View Related

CentOS 5 :: Icons Not Loading / And Will Not Display .png

Nov 29, 2010

I am running Centos 5.5 X86_64 and recently after updating my server, I am having problem loading gnome. When the server boots, and begins to bring up the login screen theme, I get an error that states "Could not recognize the image file format for /usr/share/gdm/themes/TreeFlower/background.png"I am able to login after clicking ok to this message, and using the "simplistic" login manager. But when the users desktop loads, there are several errors pertaining to "unsupported image format" and none of the icons are displaying correctly. They are just the default "curvy page" icon for an unassociated file type. Some of the icons do not even show up at all.

Another thing I noticed wierd is that when I try to view a png, nothing happens. When I try to open one using gimp, I get an "unsupported file type" error. When I tried to click on the "add/remove software" button I get prompted for root pass, but nothing happens.

View 2 Replies View Related

Ubuntu :: Back In Time No Longer Works?

Nov 25, 2010

I've been using Back in Time on Maverick (originally on Karmic) for some time but in the last couple of weeks I haven't been able to make new backups. Here's my output:

Code:
[REDACTED: ~]$ backintime -b
Back In Time

[code]...

View 2 Replies View Related

Debian Multimedia :: Vlc No Longer Shows Image - Display Movies Again?

Apr 4, 2010

I used to have a working vlc. Then I added debian-multimedia to my sources.list and installed several other movie players (kplayer, kaffeine,). As a result, my vlc no longer works: When I run it to display a movie (any movie, I tried several) I get the sound OK, but there is no image, and the window stays small (like when playing a sound file). How do I get vlc to display movies again?

View 3 Replies View Related

Ubuntu :: 10.10 Taking Longer Time (90 Seconds) To Boot

Nov 7, 2010

My ubuntu(10.10) installation takes a relatively longer time (90 seconds) to boot. I think part of the problem might be related to an error message during boot related to usb drivers.
Code:
[2.717076] usb 4-1: new low speed USB device using ohci_hcd and address 2
[3.244051] usb 4-2: new full speed USB device using ohci_hcd and address 3
[12.029046] /build/buildd/linux-2.6.35/drivers/hid/usbhid/hid-core.c: usb_submit_urb(ctrl) failed
I have attached the relevant part of dmesg output also.

View 6 Replies View Related

Debian :: Gnome Time GUI No Longer Has The Ability To Control NTP?

Feb 14, 2011

I've installed Squeeze on my two machines and now I discover that the Gnome Time GUI no longer has the ability to control NTP. Did they move the NTP GUI somewhere else or did we go backwards on this one?

View 6 Replies View Related

Ubuntu :: 10.10 Not Loading/booting After Some Time?

Feb 5, 2011

OK, so I installed Ubuntu 10.10 alongside with my other os(XP,win7,XP)nd after some time using it, (3-5 weeks or so) it stopped to boot soon after grub2 menu. First I recovered some of my data, and then I reinstalled ubuntu 10.10 because there is no repair option on the live cd. And yesterday when I wanted to go into ubuntu, after grub2 menu, it froze at the same point (like the last time ) and it never continued.... I need to check where it stops in 2nd option (recovery something) from grub2 and write it down and post it here.

I don't want to reinstall ubuntu again, since this problem will return, probably, and I have to spend some time for customizing and nesting in my ubuntu . I'm not asking for a program or recovery software, ill do it manually when I know how XD

View 4 Replies View Related

General :: Screen Display Broken Up Loading Ubantu 10.04?

Sep 28, 2010

I have tried to boot Ubantu 10.04 several times and every time the screen is unreadable, the desktop is broken up into about 5 vertical sections and that's as far as I can get. Help. I have a HP Pavilion dv6000 laptop. other versions of Ubantu work okay.

View 1 Replies View Related

General :: Current Time - File Path No Longer Valid

Aug 21, 2011

I am reading about jiffies in linux kernel. In one of the related example in the book Linux Device Driver, the author use
head -8 /proc/currentime
to print out some time information.

However this file is not present in my linux installation (kernel: 2.6.32-131.6.1.el6.x86_64). Why is it the case? Is it because the file path is no longer valid, or it is a distribution feature thing? It is not present in OSX too. What would be an equivalent in OSX?

View 1 Replies View Related

Ubuntu :: Suddenly Boot Time Got Longer - With BootChart Results

Jun 30, 2010

The thing I love most about 10.04 has been the boot times. Now, sadly that is gone for me... Suddenly it takes longer to boot. With almost no new apps installed and I have a separate disk for music/videos and such. Also, removed most of startup-applications!

Before, when the ubuntu logo showed the dots didn't even complete a whole lap, and...I was in the desktop... Now it does a couple rounds before eventually getting to the desktop.

Nothing extremely slow, but still noticable!..

Created a bootchart, but i couldn't see anything extraordinary.. maybe you guys can?

BOOTCHART RESULTS

View 1 Replies View Related

Ubuntu Installation :: Booting Up Takes Longer Time After Upgrade

Jun 2, 2011

Upgraded to 2.6.32-32-generic, it takes about 20 seconds after login at boot up; previous version only takes about 13 seconds. They are at the same environment and service status.(ubuntu 10.04)

View 1 Replies View Related

Ubuntu :: Upgraded To 9.10 - Battery Monitor No Longer Shows Time Estimate?

May 19, 2010

hey guys. recently upgraded to 9.10. a mouse hover over my battery applet only shows percentage, not time remaining.

View 2 Replies View Related

Ubuntu Multimedia :: Audio Long Time Loading?

Nov 20, 2010

The example can be viewed here:http://texasflyfishers.org/reports/i...ic,1461.0.htmlI am using this BBcode:

Code:
[img width=343 height=512]http://www.texasflyfishers.org/images/Emily.jpeg[/img]
HTML Code:

[code]....

View 1 Replies View Related

Ubuntu Networking :: Modules Not Loading At Boot-time?

Sep 1, 2011

I've recently been having a lot of trouble trying to install a ralink 3062 driver on my ubuntu 11.04 desktop. There are quite a few excellent tutorials on this website. [URL]... In my case, however, adding the conflicting drivers to /etc/modprobe.d/blacklist.conf didn't prevent them being loaded at boot-time, so I could not make the change permanent. I eventually found a workaround online which I thought I'd share here. Once you have updated your blacklist and module list, use Quote:

sudo update-initramfs -u

I'm a beginner so I'm not sure, but I think the problem is that initramfs loads the conflicting modules into memory before the system comes to reading the blacklist and module files. Once you've done this, restart your system and you shouldn't have any further problems. P.s. As far as I know this only works (but should only be a problem for kernel 2.6 and later)

View 2 Replies View Related

Programming :: Function Handler Is Called One Time Only Instead 2 Times If The 2 Timers Expires At A Time

Mar 2, 2011

I am using Debian linux. I have 100 timers running. If a timer expired which will generate a signal and it was mapped to a same function handler. All the timers are mapped to one function handler. The problem is if the timer expires one at a time, the function handler called at a time. But if the 2 timers expires at a time, the function handler is called one time only instead 2 times. Is it possible to invoke the function handler as many times based on timer expirary happens simultaneoulsy?

View 14 Replies View Related

Programming :: Get The Current Time As Provided From NTP (not The Currently Set Time On The Server)?

Jun 9, 2010

Is there a way to get the current time as provided from NTP (not the currently set time on the server)?

View 4 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved