Changed all debug and tools windows to be non-modal top level windows. This allows then to be minimized and maximized via the title bar buttons and will also show in the task bar of the window environment as separate windows.

This commit is contained in:
Matthew Budd 2020-10-27 22:26:58 -04:00
parent 02dbc9e42d
commit 86a12c96f9
11 changed files with 11 additions and 11 deletions

View File

@ -48,7 +48,7 @@ void updateCheatDialog(void)
}
//----------------------------------------------------------------------------
GuiCheatsDialog_t::GuiCheatsDialog_t(QWidget *parent)
: QDialog( parent )
: QDialog( parent, Qt::Window )
{
QHBoxLayout *mainLayout, *hbox, *hbox1;
QVBoxLayout *vbox, *vbox1, *vbox2, *vbox3;

View File

@ -30,7 +30,7 @@ static char loadedcdfile[512] = {0};
static int getDefaultCDLFile( char *filepath );
//----------------------------------------------------
CodeDataLoggerDialog_t::CodeDataLoggerDialog_t(QWidget *parent)
: QDialog( parent )
: QDialog( parent, Qt::Window )
{
QVBoxLayout *mainLayout, *vbox1, *vbox;
QHBoxLayout *hbox;

View File

@ -52,7 +52,7 @@ static std::list <ConsoleDebugger*> dbgWinList;
static void DeleteBreak(int sel);
//----------------------------------------------------------------------------
ConsoleDebugger::ConsoleDebugger(QWidget *parent)
: QDialog( parent )
: QDialog( parent, Qt::Window )
{
QHBoxLayout *mainLayout;
QVBoxLayout *vbox, *vbox1, *vbox2, *vbox3, *vbox4;

View File

@ -63,7 +63,7 @@ int closeGamePadConfWindow(void)
}
//----------------------------------------------------
GamePadConfDialog_t::GamePadConfDialog_t(QWidget *parent)
: QDialog( parent )
: QDialog( parent, Qt::Window )
{
QWidget *mainWidget;
QVBoxLayout *mainLayout;

View File

@ -534,7 +534,7 @@ void HexBookMarkMenuAction::activateCB(void)
}
//----------------------------------------------------------------------------
HexEditorDialog_t::HexEditorDialog_t(QWidget *parent)
: QDialog( parent )
: QDialog( parent, Qt::Window )
{
//QVBoxLayout *mainLayout;
QGridLayout *grid;

View File

@ -94,7 +94,7 @@ static std::list <LuaControlDialog_t*> winList;
static void updateLuaWindows( void );
//----------------------------------------------------
LuaControlDialog_t::LuaControlDialog_t(QWidget *parent)
: QDialog( parent )
: QDialog( parent, Qt::Window )
{
QVBoxLayout *mainLayout;
QHBoxLayout *hbox;

View File

@ -83,7 +83,7 @@ int openNameTableViewWindow( QWidget *parent )
}
//----------------------------------------------------
ppuNameTableViewerDialog_t::ppuNameTableViewerDialog_t(QWidget *parent)
: QDialog( parent )
: QDialog( parent, Qt::Window )
{
QVBoxLayout *mainLayout, *vbox;
QHBoxLayout *hbox;

View File

@ -169,7 +169,7 @@ void openRamSearchWindow( QWidget *parent )
//----------------------------------------------------------------------------
RamSearchDialog_t::RamSearchDialog_t(QWidget *parent)
: QDialog( parent )
: QDialog( parent, Qt::Window )
{
QVBoxLayout *mainLayout;
QHBoxLayout *hbox, *hbox1, *hbox2, *hbox3;

View File

@ -46,7 +46,7 @@ void openRamWatchWindow( QWidget *parent, int force )
}
//----------------------------------------------------------------------------
RamWatchDialog_t::RamWatchDialog_t(QWidget *parent)
: QDialog( parent )
: QDialog( parent, Qt::Window )
{
QMenuBar *menuBar;
QHBoxLayout *mainLayout;

View File

@ -75,7 +75,7 @@ static TraceLoggerDialog_t *traceLogWindow = NULL;
static void pushMsgToLogBuffer( const char *msg );
//----------------------------------------------------
TraceLoggerDialog_t::TraceLoggerDialog_t(QWidget *parent)
: QDialog( parent )
: QDialog( parent, Qt::Window )
{
QVBoxLayout *mainLayout;
QHBoxLayout *hbox;

View File

@ -66,7 +66,7 @@ int openPPUViewWindow( QWidget *parent )
}
//----------------------------------------------------
ppuViewerDialog_t::ppuViewerDialog_t(QWidget *parent)
: QDialog( parent )
: QDialog( parent, Qt::Window )
{
QVBoxLayout *mainLayout, *vbox;
QVBoxLayout *patternVbox[2];