Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F98022723
skviewerpanel.cpp
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Wed, Jan 8, 19:17
Size
613 B
Mime Type
text/x-c
Expires
Fri, Jan 10, 19:17 (2 d)
Engine
blob
Format
Raw Data
Handle
23485755
Attached To
rSYMKIT symkit
skviewerpanel.cpp
View Options
#include "skviewerpanel.h"
#include <QLayout>
SKViewerPanel
::
SKViewerPanel
(
QWidget
*
parent
)
:
QWidget
(
parent
)
{
}
void
SKViewerPanel
::
addToDedicated
(
QWidget
*
widget
)
{
widget
->
setParent
(
getDedicated
());
QLayout
*
layout
=
getDedicated
()
->
layout
();
if
(
layout
)
layout
->
addWidget
(
widget
);
}
void
SKViewerPanel
::
removeFromDedicated
(
QWidget
*
widget
)
{
widget
->
setParent
(
0
);
QLayout
*
layout
=
getDedicated
()
->
layout
();
if
(
layout
)
layout
->
removeWidget
(
widget
);
}
void
SKViewerPanel
::
setDedicatedLayout
(
QLayout
*
layout
)
{
getDedicated
()
->
setLayout
(
layout
);
}
Event Timeline
Log In to Comment