UniversalIndentGUI 1.2.0
Public Slots | Public Member Functions | Private Slots | Private Attributes
AboutDialogGraphicsView Class Reference

A container for the real AboutDialog. Makes the 3D animation possible. More...

#include <AboutDialogGraphicsView.h>

Inheritance diagram for AboutDialogGraphicsView:
Inheritance graph
[legend]

List of all members.

Public Slots

void hide ()
 Does not directly hide the AboutDialog but instead starts the "fade out" 3D animation.
void show ()
 Grabs a screenshot of the full desktop and shows that as background. Above that background the AboutDialog 3D animation is shown. Also grabs the content of the AboutDialog itself.

Public Member Functions

 AboutDialogGraphicsView (AboutDialog *aboutDialog, QWidget *parentWindow=NULL)
 The constructor initializes everything needed for the 3D animation.
 ~AboutDialogGraphicsView (void)

Private Slots

void hideReally ()
 This slot really hides this AboutDialog container.
void showAboutDialog ()
 Stops the 3D animation, moves the AboutDialog to the correct place and really shows it.
void updateStep (int step)
 Does the next calculation/transformation step.

Private Attributes

AboutDialog_aboutDialog
QSplashScreen * _aboutDialogAsSplashScreen
QGraphicsProxyWidget * _graphicsProxyWidget
QWidget_parentWindow
QTimeLine * _timeLine
int _windowPosOffset
int _windowTitleBarWidth

Detailed Description

A container for the real AboutDialog. Makes the 3D animation possible.

The 3D animation shall suggest the user, that he is looking at his desktop, while this animation is done. Since this is not directly possible, AboutDialogGraphicsView when shown starts in frameless fullscreen mode with a screenshot of the desktop as background.

Definition at line 30 of file AboutDialogGraphicsView.h.


Constructor & Destructor Documentation

AboutDialogGraphicsView::AboutDialogGraphicsView ( AboutDialog aboutDialog,
QWidget parentWindow = NULL 
)

The constructor initializes everything needed for the 3D animation.

Definition at line 42 of file AboutDialogGraphicsView.cpp.

References _aboutDialog, _aboutDialogAsSplashScreen, _graphicsProxyWidget, _parentWindow, _timeLine, _windowPosOffset, _windowTitleBarWidth, hide(), and updateStep().

Here is the call graph for this function:

AboutDialogGraphicsView::~AboutDialogGraphicsView ( void  )

Definition at line 93 of file AboutDialogGraphicsView.cpp.


Member Function Documentation

void AboutDialogGraphicsView::hide ( ) [slot]

Does not directly hide the AboutDialog but instead starts the "fade out" 3D animation.

Definition at line 177 of file AboutDialogGraphicsView.cpp.

References _graphicsProxyWidget, _parentWindow, _timeLine, _windowPosOffset, _windowTitleBarWidth, hideReally(), and show().

Referenced by AboutDialogGraphicsView(), and hideReally().

Here is the call graph for this function:

Here is the caller graph for this function:

void AboutDialogGraphicsView::hideReally ( ) [private, slot]

This slot really hides this AboutDialog container.

Definition at line 202 of file AboutDialogGraphicsView.cpp.

References _parentWindow, _timeLine, and hide().

Referenced by hide().

Here is the call graph for this function:

Here is the caller graph for this function:

void AboutDialogGraphicsView::show ( ) [slot]

Grabs a screenshot of the full desktop and shows that as background. Above that background the AboutDialog 3D animation is shown. Also grabs the content of the AboutDialog itself.

Definition at line 101 of file AboutDialogGraphicsView.cpp.

References _aboutDialog, _aboutDialogAsSplashScreen, _graphicsProxyWidget, _parentWindow, _timeLine, _windowPosOffset, _windowTitleBarWidth, and showAboutDialog().

Referenced by hide(), and MainWindow::showAboutDialog().

Here is the call graph for this function:

Here is the caller graph for this function:

void AboutDialogGraphicsView::showAboutDialog ( ) [private, slot]

Stops the 3D animation, moves the AboutDialog to the correct place and really shows it.

Definition at line 166 of file AboutDialogGraphicsView.cpp.

References _aboutDialog, _graphicsProxyWidget, _parentWindow, _timeLine, _windowPosOffset, _windowTitleBarWidth, and AboutDialog::exec().

Referenced by show().

Here is the call graph for this function:

Here is the caller graph for this function:

void AboutDialogGraphicsView::updateStep ( int  step) [private, slot]

Does the next calculation/transformation step.

Definition at line 150 of file AboutDialogGraphicsView.cpp.

References _graphicsProxyWidget, and _windowTitleBarWidth.

Referenced by AboutDialogGraphicsView().

Here is the caller graph for this function:


Member Data Documentation

Definition at line 47 of file AboutDialogGraphicsView.h.

Referenced by AboutDialogGraphicsView(), show(), and showAboutDialog().

Definition at line 51 of file AboutDialogGraphicsView.h.

Referenced by AboutDialogGraphicsView(), and show().

QGraphicsProxyWidget* AboutDialogGraphicsView::_graphicsProxyWidget [private]
QTimeLine* AboutDialogGraphicsView::_timeLine [private]

Definition at line 53 of file AboutDialogGraphicsView.h.

Referenced by AboutDialogGraphicsView(), hide(), show(), and showAboutDialog().


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines