[Jahshaka-cvs] SF.net SVN: editopia:[202] cinesuite/cineplay-cinecode/trunk/src
Status: Beta
Brought to you by:
jahshaka
From: <tim...@us...> - 2008-09-18 07:17:59
|
Revision: 202 http://editopia.svn.sourceforge.net/editopia/?rev=202&view=rev Author: timdewhirst Date: 2008-09-18 14:17:57 +0000 (Thu, 18 Sep 2008) Log Message: ----------- cinesuite - make menubar appear Modified Paths: -------------- cinesuite/cineplay-cinecode/trunk/src/Common.cpp cinesuite/cineplay-cinecode/trunk/src/Utils.cpp cinesuite/cineplay-cinecode/trunk/src/resources/default.css Modified: cinesuite/cineplay-cinecode/trunk/src/Common.cpp =================================================================== --- cinesuite/cineplay-cinecode/trunk/src/Common.cpp 2008-09-18 12:58:32 UTC (rev 201) +++ cinesuite/cineplay-cinecode/trunk/src/Common.cpp 2008-09-18 14:17:57 UTC (rev 202) @@ -183,8 +183,10 @@ menubarPlaceholder->hide(); #endif - m_menubar = new QMenuBar( menubarPlaceholder ); - + m_menubar = new QMenuBar; + m_menubar->setSizePolicy( QSizePolicy::Expanding, QSizePolicy::Preferred ); + CineUtils::AddWidgetToParentLayout( menubarPlaceholder, m_menubar ); + // file m_fileMenu = new QMenu( m_menubar ); Modified: cinesuite/cineplay-cinecode/trunk/src/Utils.cpp =================================================================== --- cinesuite/cineplay-cinecode/trunk/src/Utils.cpp 2008-09-18 12:58:32 UTC (rev 201) +++ cinesuite/cineplay-cinecode/trunk/src/Utils.cpp 2008-09-18 14:17:57 UTC (rev 202) @@ -207,8 +207,6 @@ QWidget* FindWidget( const char* name, QWidget* parent ) { - DEBUG_LOG << "name: " << name << " parent: " << parent; - if( !parent ) return NULL; @@ -217,9 +215,7 @@ if ( !objList.isEmpty() ) result = objList.first(); - { - DEBUG_LOG << "result: " << result; - } + DEBUG_LOG << "name: " << name << " parent: " << parent << " result: " << result; return result; } Modified: cinesuite/cineplay-cinecode/trunk/src/resources/default.css =================================================================== --- cinesuite/cineplay-cinecode/trunk/src/resources/default.css 2008-09-18 12:58:32 UTC (rev 201) +++ cinesuite/cineplay-cinecode/trunk/src/resources/default.css 2008-09-18 14:17:57 UTC (rev 202) @@ -3,6 +3,11 @@ background-color: rgb( 0, 0, 0, 0% ); } +QMenu { + color: white; + background: #363636; +} + #tray { background: qlineargradient(x1:0, y1:0, x2:0, y2:1, stop: 0 #424242, stop: 1 #181818); @@ -230,7 +235,7 @@ background-image: url(":/images/end_normal"); } -#end_start:hover { +#goto_end:hover { background-image: url(":/images/end_active"); } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |