You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
41 lines
593 B
41 lines
593 B
15 years ago
|
#include "displayMgrSDI.h"
|
||
|
|
||
|
#include <qwidget.h>
|
||
|
|
||
|
DisplayMgrSDI::DisplayMgrSDI()
|
||
|
{
|
||
|
}
|
||
|
|
||
|
DisplayMgrSDI::~DisplayMgrSDI(){
|
||
|
}
|
||
|
|
||
|
void DisplayMgrSDI::newTopLevel(QWidget *w, bool show){
|
||
|
if(show == TRUE)
|
||
|
w->show();
|
||
|
}
|
||
|
|
||
|
void DisplayMgrSDI::removeTopLevel(QWidget *){
|
||
|
}
|
||
|
|
||
|
void DisplayMgrSDI::show(QWidget *w){
|
||
|
w->show();
|
||
|
}
|
||
|
|
||
|
void DisplayMgrSDI::hide(QWidget *w){
|
||
|
w->hide();
|
||
|
}
|
||
|
|
||
|
void DisplayMgrSDI::raise(QWidget *w, bool takefocus){
|
||
|
w->show();
|
||
|
w->raise();
|
||
|
if(takefocus)
|
||
|
w->setActiveWindow();
|
||
|
|
||
|
}
|
||
|
|
||
|
|
||
|
void DisplayMgrSDI::setCaption(QWidget *w, const QString& cap){
|
||
|
w->setCaption(cap);
|
||
|
}
|
||
|
|