Set grid visible when open new window

This commit is contained in:
jfmcarreira committed 2015-11-10 13:46:48 +00:00
1 parent ed16d97b20
commit ca5072e811
2 files changed
+1 -1

No files matched your search

-1
View File
@@ -66,7 +66,6 @@ void GridManager::drawGrid( QPixmap &image, const QRect& area, QPainter *painter
QPen mainPen = QPen( color, 1, Qt::SolidLine );
style = Solid;
hSpacing = vSpacing = 64;
switch( style )
{
case IntersectionDot:
+1
View File
@@ -372,6 +372,7 @@ Void VideoHandle::openSubWindow( VideoSubWindow* subWindow )
{
connect( subWindow->getViewArea(), SIGNAL( selectionChanged( QRect ) ), this, SLOT( updateSelectionArea( QRect ) ) );
subWindow->getViewArea()->setTool( m_uiViewTool );
subWindow->getViewArea()->setGridVisible( m_arrayActions[SHOW_GRID_ACT]->isChecked() );
}
Void VideoHandle::closeSubWindow( SubWindowAbstract* subWindow )