General improvements window manager

Add support to multi window mode.
Clean code and fix some functions to manage the active windows and
detect close and focus
This commit is contained in:
jfmcarreira committed 2015-01-23 01:21:23 +00:00
1 parent 826bac655c
commit 56e466346b
9 files changed
+135 -70

No files matched your search

+7
View File
@@ -32,6 +32,13 @@ PlaYUVerMdiSubWindow::PlaYUVerMdiSubWindow( QWidget *parent ) :
{
}
QSize PlaYUVerMdiSubWindow::sizeHint() const
{
QSize sizeHint = widget()->sizeHint();
return sizeHint;
}
Void PlaYUVerMdiSubWindow::closeEvent( QCloseEvent *event )
{
emit aboutToClose( this );