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


ADVERTISEMENT

Programming :: Use QPainter Over An Xlib Window?

Jan 15, 2011

Suppose i have an XID of a window. How can i wrap QPainter to draw on this window? I need something like cairo_xlib_surface_create(), but Qt-based.

View 3 Replies View Related

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 View Related

Programming :: Supposed To Print Shapes

Oct 10, 2010

I've been working on it for over 20 hours and I'm stuck. It asks the user for input and then prints a shape of a certain length.

View 4 Replies View Related

Programming :: What Kind Of Code Has Shapes In It?

Sep 10, 2010

When I open program files in windows some of them are almost nothing but boxes and triangles. I was always curious what the hell it was.

View 2 Replies View Related

Programming :: C Program That Displays Shapes - Keep Getting Errors

Oct 10, 2010

Here is my program. It asks the user for input and then prints a shape of a certain length. The errors I get when I compile are:

shape.c: In function "main":
shape.c:22: error: expected identifier or "(" before "int"
shape.c:58: error: expected expression before "return"
shape.c:59: error: expected expression before "}" token
shape.c:59: error: expected expression before "}" token
#include<stdio.h> .....

View 14 Replies View Related

Programming :: Draw A Circle In C++ Without Making Use Of BGI

Apr 10, 2010

How can one draw a circle in c++ without making use of BGI.

View 4 Replies View Related

Programming :: G++ - Draw On The Screen In X Windows Using C++?

Jun 9, 2011

I am looking for a way to draw on the screen in X Windows using c++, the GNU g++ compiler. I don't want to mess with requirements so just how to draw in x windows. Can it be done with g++ or is there something else I need to use.

View 8 Replies View Related

Programming :: Draw To Screen Without Using A GUI / Xwindows?

Mar 10, 2010

I am very new to Linux and I hope someone on here can provide some help.

Goal:
I am am developing an embedded application on Linux 2.6 that will hopefully run without a GUI. There will be no user input just simply displaying information to the user in a graphical form. I will be drawing the screen in C and outputting this to the display.

Problem:
I don't know how to draw to the display? From reading and talking with others, I think I can write to the frame buffer and that will output to the display, but I am not sure this is rite. If it is correct, can someone explain how this is done? Is there another way to draw to the screen without using the windows API?

View 11 Replies View Related

Programming :: Utility That Draw The Graph Or Flow Chart Of An Application?

Oct 28, 2010

Does any one know any software or utility that draw the graph or flow chart of an application (if application code is on multiple files)?

View 1 Replies View Related

Programming :: PHP Booleans - Print Draw The First Image From A Function Then Hide The Rest Of The Images Using 'display: None'

Jul 29, 2010

I have this function that is supposed to print draw the first image from a function then hide the rest of the images using 'display: none' however for some reason the boolean test does not seem to work on one of my servers however it works on another, is there some php.ini setting I am missing or can you see any issues with the following code:

[Code]....

View 1 Replies View Related

Ubuntu :: Themes Don't Display Semitransparent Gradients

Nov 26, 2010

After updating today, my buttons and scrollbars now look like this:The gradients on them are gone. Similarly, the transparant parts in the right-mouse menu dividers are white too, as is the active part of my gnome-do panel.What can I do to fix this? Ubuntu 10.04, nvidia drivers, using the ambiance theme and compiz (already tried turning off compiz but that didn't help)

View 1 Replies View Related

OpenSUSE :: Shapes Of Windows In The Desktop Switcher KDE 4.4.4?

May 24, 2011

Is it possible to get rid of the windowshapes in the desktop switcher application? I just want to see the square of the desktop an it's title, not the ugly shapes of all open windows on it.Or any alternatives?

View 2 Replies View Related

Software :: How To Prevent GIMP From Anti Aliasing Shapes

Jul 7, 2011

For example, if I fill in a circle with black (using the ellipse tool), then fill the surrounding with another color (a dark color) there will be a nearly white outline of the circle. I don't want there to be an outline. The whole canvas should be ALL black.

View 1 Replies View Related

OpenSUSE Hardware :: Nvidia Geforce 8600m GT - Few Coloured Shapes In The Background (Video Driver Not Loaded)

Mar 31, 2010

I have a Macbook Pro which i want to install Opensuse 11.2 64bit(Upgrades to 11.3) The problem is that once i install opensuse and then boot via rEFIt, it loads up till the desktop is supposed to appear. All i get at this stage is darkness with a few coloured shapes in the background (Video driver not loaded).I can however reboot and go in via the failsafe option. Once in here i can use the GUI. I am a total noob with linux, can some one give me the instructions on how to install this driver. Its driving me insane. When i run uname -r, the results are 2.6.33-6-default I have added the following http repository (download.nvidia.com/opensuse/11.2/)

View 3 Replies View Related

Ubuntu :: Use Pen Tablet To Draw On The Top Of The Screen

Jul 28, 2011

I have Wacom Bamboo Fun Pen & Touch pen tablet and I'd like to use it to draw on the top of the screen.. For example if I have Evolution opened on the screen, I want use my pen tabled to draw with freehand on the top of Evolution. Did you understand? Is there any small application which allows to do that?

View 9 Replies View Related

General :: Draw UML From Java Code?

Apr 27, 2011

Does anyone know an application that can draw UML graphs automatically from Java code for linux platform. I've tried startuml, but in doesn't work very well.

View 1 Replies View Related

Software :: Draw The Graphs In Fltk?

Dec 9, 2010

iam doing a project in GUI.. inthat i have to draw graph(sine wave)by the obtained values.. iam using fltk2.0 in linux 2.6 kernel.

View 1 Replies View Related

Ubuntu :: Draw A Picture That Will Show Up In Tomboy?

Jan 26, 2010

Is there a way to draw a picture that will show up in tomboy?

View 4 Replies View Related

Ubuntu :: Draw Progressbar For Bash Scripts?

May 12, 2010

i am using Kubuntu 9.04 with KDE4 installed. I created some bash scripts and used Kdialog to display the graphical items and other things, only the progressbar in Kdialog, I am unable to use. I read the tutorial in KDE's website but still it shows me an error saying "ERROR: Couldn't attach to DCOP server!".

View 1 Replies View Related

Ubuntu :: Draw Program To Create Patents?

Dec 23, 2010

I need a program (to draw or paint patents like the example below
Example:
http://www.google.com./patents?id=-K...page&q&f=false

I remember that the Word version of Windows XP had tools to create drawings but I can not find (or help) equal tools in Ubuntu Ooo.
Also, Windows has the "Paint" program that I used (pasting Word drawings) to erase, create mirror-effects, etc

Can somebody recommend me a good program (not CAD way) for simple drawings for patents?

View 5 Replies View Related

Ubuntu :: Make Conky Draw To Windows?

Mar 10, 2011

if this isnt correct place to ask my question, forum seems large and im not familiar with it yet. I would like to draw to windows with conky. I allready have an idea with launching conky ~/. config1 & conky ~/.config2 and this should work but is it possible to have 2 conky windows without launching second instance of conky ?

View 5 Replies View Related

Ubuntu :: OpenOffice Draw : How To Send Layers Back

Feb 24, 2010

OpenOffice 3.0 on Ubuntu 9.04

I have a card project in OpenOffice Draw. In this project is a bitmap with the year 2009 embedded in it. I want to change that to read 20 and I can place the current year as a text layer on top of it.

I have a grid laid out on this bitmap, and I have overlaid text information such as date, time and frequency.

I got hold of the bitmap and cut it, leaving my data there but the form behind it missing. I pasted that into gimp and did the editing, saved it as a .bmp file and loaded that into Draw. I copied the bitmap from this bmp file and pasted it back into my card project.

The bitmap is now sitting on top of my data and I want to send it to the rear so my data sits on top of it.

I can not find a single reference to how to send layers to the front or to the back in OpenOffice Draw.

Launchpad.net is a way to get help online, but I am completely lost on that site, so I am asking here on the Ubuntu forum.

View 1 Replies View Related

Ubuntu :: Make Pcmanfm Draw Desktop Instead Of Nautilus?

Aug 9, 2010

How would I make pcmanfm draw the desktop instead of Nautilus?

View 3 Replies View Related

Software :: Finding A Program To Draw Directional Map Diagrams?

Jul 27, 2010

I would like to know if there is a program such as edraw:

[URL]

that I can use to make directional diagrams in linux. I know about inkscape but I would like a program that has a premade library of shapes. I also know about Dia Diagram but it doesnt have a sheet of shapes that suits me.

View 2 Replies View Related

Ubuntu :: Draw Desktop Icons At Launch With Nautilus In Openbox?

Mar 7, 2011

I am using Openbox, i would like Nautilus to handle the desktop, which it does nicely, but i would like it so it draws the desktop at startup. So far the only way i have managed to do this is by adding "nautilus &" to the "autostart.sh", however, this, of course, launches an instance of the nautilus file browser.Can anyone help me to get Nautilus to draw the desktop automatically at startup without having to first launch the file manager?

View 2 Replies View Related

Ubuntu :: OpenOffice Draw - Insert A Basic Table With 6 Columns And 3 Rows?

Feb 23, 2010

the color from the table I insert? All I want to do is insert a basic table with 6 columns and 3 rows. I get that, but it has a gradient blue color.

View 1 Replies View Related

Ubuntu Multimedia :: Rotate Text Upside Down In Open Office Draw?

Apr 16, 2011

Okay, so I may sound like an idiot for asking this question (whether the answer is obvious or it is not possible at all) but, how do I rotate text so that it is upside-down in Open Office Draw? I am making a Birthday Card....

View 2 Replies View Related

Ubuntu :: Hugin 2011.0 Fails To Draw Preview With ATI Proprietary Drivers?

Jun 29, 2011

I tried upgrading to Hugin 2011. (latest stable) and it turned out that the panorama preview window did not properly draw the preview. Image flickers only quickly or is not drawn at all. For a not so great video of this see [URL]...

I tried switching to open source ATI drivers but for some reason I was unsuccessful in purging the ATI driver. I tried different computer with Inter hardware and it worked OK. If anyone happens to be using latest Hugin with ATI hardware can you comment on if the preview window works OK. I would like to get some more feedback to maintainers and to know if just proprietary ATI driver or Radeon HD5650 is affected. I am running lucid, but info from other releases is relevant.

View 6 Replies View Related

Debian Multimedia :: Xcompmgr 'master' - Rounded Window Borders Don't Draw And Redraw Properly When Using The Terminal (gnome-terminal And The LXDE And Xfce Ones)

Aug 26, 2011

I find xcompmgr more than adequate for making a desktop look pretty modern, and I don't like the more extravagentCompiz gimmicks - but there is one thing that irritates when using xcompmgr which someone here might have worked round.

Rounded window borders don't draw and redraw properly when using the Terminal (gnome-terminal and the LXDE and Xfce ones) or system monitor and moving them from their default place. You get this little white botch at the corners. I'm not massively technical and I'm ambivalent about how much more I want to learn as I have plenty of creative outlets already, but I would like to solve this. Somehow xcompmgr is treating these programs as a different class? It's capable of drawing the window borders properly as it is just these two programs that get botched. Possibly this doesn't get noticed as maybe people usually use xcompmgr with openbox and LXDE and their square window borders. I did do a search but there was nothing matching what I saw.

View 3 Replies View Related







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