#include <VP1DockWidget.h>
Definition at line 24 of file VP1DockWidget.h.
◆ VP1DockWidget()
Definition at line 127 of file VP1DockWidget.cxx.
131 setObjectName(
"VP1DockWidget:"+cw->
name());
135 setAllowedAreas(Qt::TopDockWidgetArea);
136 setFeatures(VP1DockWidget::DockWidgetMovable | VP1DockWidget::DockWidgetFloatable);
142 m_d->
frame->setObjectName(
"VP1DockWidgetFrame");
143 cw->setObjectName(
"IVP1ChannelWidget:"+cw->
name());
148 QMargins marg =
m_d->
frame->contentsMargins();
149 Q_ASSERT(marg.left()==marg.top()&&marg.left()==marg.right()&&marg.left()==marg.bottom()&&
"Qt changed its margin behaviour for QFrame!!");
◆ ~VP1DockWidget()
VP1DockWidget::~VP1DockWidget |
( |
| ) |
|
|
virtual |
◆ channelWidget()
◆ contextMenuEvent()
void VP1DockWidget::contextMenuEvent |
( |
QContextMenuEvent * |
event | ) |
|
|
protected |
Definition at line 261 of file VP1DockWidget.cxx.
265 QDockWidget::contextMenuEvent (
event );
275 QAction* pFullScreenAction =
menu.addAction(
"Show &full Screen");
277 QAction* pRemoveAction =
menu.addAction(
"&Remove channel");
278 menu.addSeparator ();
279 QAction* pMoveChannelAction =
menu.addAction(
"&Move to tab");
282 QMenu menu_movechan(
this);
283 if (tablist.count()==1) {
284 menu_movechan.addAction(
"No other tabs available")->setEnabled(
false);
287 for (QString tab : tablist) {
289 menu_movechan.addAction(tab)->setData(
"MOVECHAN");
292 pMoveChannelAction->setMenu(&menu_movechan);
295 QAction * selAct =
menu.exec(
event->globalPos());
299 if (selAct==pFullScreenAction) {
303 if (selAct==pRemoveAction) {
307 if (selAct->data()==
"MOVECHAN") {
311 std::cout<<
"ERROR in VP1DockWidget::contextMenuEvent!!!!!"<<std::endl;
◆ ensureCWHasNoParent()
void VP1DockWidget::ensureCWHasNoParent |
( |
| ) |
|
◆ ensureCWHasParent()
void VP1DockWidget::ensureCWHasParent |
( |
| ) |
|
◆ highlightStyle()
QString VP1DockWidget::highlightStyle |
( |
| ) |
|
|
static |
Definition at line 121 of file VP1DockWidget.cxx.
123 return "background-color: rgba(0, 0, 255, 12%)";
◆ isSelected()
bool VP1DockWidget::isSelected |
( |
| ) |
const |
◆ resizeEvent()
void VP1DockWidget::resizeEvent |
( |
QResizeEvent * |
event | ) |
|
|
protected |
◆ setSelected()
void VP1DockWidget::setSelected |
( |
| ) |
|
◆ setUnselected()
void VP1DockWidget::setUnselected |
( |
| ) |
|
◆ systemRefreshInfoChanged
void VP1DockWidget::systemRefreshInfoChanged |
( |
QString |
sysrefreshing, |
|
|
int |
nsysOn, |
|
|
int |
nsysOnRefreshed |
|
) |
| |
|
privateslot |
Definition at line 195 of file VP1DockWidget.cxx.
197 assert(nsysOnRefreshed<=nsysOn);
198 if (nsysOn==nsysOnRefreshed) {
204 assert(nsysOnRefreshed<nsysOn);
205 if (sysrefreshing.isEmpty()) {
◆ updateTitle
void VP1DockWidget::updateTitle |
( |
| ) |
|
|
privateslot |
◆ wasSelected
◆ m_d
The documentation for this class was generated from the following files: