Пример #1
0
void WindowQt::debugActOpenLog()
{
	LogWindow* foo = new LogWindow(m_machine, this);
	// A valiant effort, but it just doesn't wanna' hide behind the main window & not make a new toolbar icon
	// foo->setWindowFlags(Qt::Dialog);
	// foo->setWindowFlags(foo->windowFlags() & ~Qt::WindowStaysOnTopHint);
	foo->show();
}
Пример #2
0
void MainWindow::on_logButton_clicked()
{
    ConnectorPath  conPath( _connector, _curItemPath);
    LogWindow*  logWindow = new LogWindow( _appSettings, conPath, 0);
    logWindow->show();
}