Lines 62-68
Link Here
|
62 |
const double keyMoveSpeed = 40.0; |
62 |
const double keyMoveSpeed = 40.0; |
63 |
const double keyScaleFactor = 1.4; |
63 |
const double keyScaleFactor = 1.4; |
64 |
|
64 |
|
65 |
bool PMGLView::s_bDirect = true; |
65 |
bool PMGLView::s_bDirect __attribute__((visibility("default"))) = true; |
66 |
|
66 |
|
67 |
|
67 |
|
68 |
PMGLView::PMGLView( PMPart* part, PMViewType t, |
68 |
PMGLView::PMGLView( PMPart* part, PMViewType t, |
Lines 105-111
Link Here
|
105 |
|
105 |
|
106 |
PMRenderManager* rm = PMRenderManager::theManager( ); |
106 |
PMRenderManager* rm = PMRenderManager::theManager( ); |
107 |
rm->viewCreated( ); |
107 |
rm->viewCreated( ); |
108 |
|
108 |
|
109 |
QFrame* frame = new QFrame(this); |
109 |
QFrame* frame = new QFrame(this); |
110 |
//frame->setFrameStyle(QFrame::StyledPanel | QFrame::Raised); |
110 |
//frame->setFrameStyle(QFrame::StyledPanel | QFrame::Raised); |
111 |
frame->setBackgroundRole(QPalette::Highlight); |
111 |
frame->setBackgroundRole(QPalette::Highlight); |
Lines 116-122
Link Here
|
116 |
pal.setColor(QPalette::Highlight, c); |
116 |
pal.setColor(QPalette::Highlight, c); |
117 |
frame->setPalette(pal); |
117 |
frame->setPalette(pal); |
118 |
frame->hide(); |
118 |
frame->hide(); |
119 |
m_pDragOverlay = frame; |
119 |
m_pDragOverlay = frame; |
120 |
|
120 |
|
121 |
setMinimumSize( 50, 50 ); |
121 |
setMinimumSize( 50, 50 ); |
122 |
|
122 |
|
Lines 1469-1475
Link Here
|
1469 |
if( vo && vo->viewType( ) == "glview" ) |
1469 |
if( vo && vo->viewType( ) == "glview" ) |
1470 |
{ |
1470 |
{ |
1471 |
PMGLViewOptions* o = ( PMGLViewOptions* ) vo; |
1471 |
PMGLViewOptions* o = ( PMGLViewOptions* ) vo; |
1472 |
return i18n( "3D View (%1)" , |
1472 |
return i18n( "3D View (%1)" , |
1473 |
PMGLView::viewTypeAsString( o->glViewType( ) ) ); |
1473 |
PMGLView::viewTypeAsString( o->glViewType( ) ) ); |
1474 |
} |
1474 |
} |
1475 |
return description( ); |
1475 |
return description( ); |