From c6bca75c479533d064a782a5f27d3dfb3aa1c042 Mon Sep 17 00:00:00 2001 From: ar Date: Sat, 14 Feb 2004 16:58:36 +0000 Subject: improve support for BigScreen --- (limited to 'noncore/graphics') diff --git a/noncore/graphics/drawpad/drawpad.cpp b/noncore/graphics/drawpad/drawpad.cpp index 71c9695..139c752 100644 --- a/noncore/graphics/drawpad/drawpad.cpp +++ b/noncore/graphics/drawpad/drawpad.cpp @@ -36,10 +36,11 @@ #include #include #include -#include #include #include +#include +#include #include #include #include @@ -601,9 +602,7 @@ void DrawPad::importPage() { ImportDialog importDialog(this); - importDialog.showMaximized(); - - if (importDialog.exec() == QDialog::Accepted) { + if ( QPEApplication::execDialog( &importDialog ) == QDialog::Accepted ) { const DocLnk* docLnk = importDialog.selected(); if (docLnk) { @@ -617,9 +616,7 @@ void DrawPad::exportPage() { ExportDialog exportDialog(m_pDrawPadCanvas->pagePosition(), m_pDrawPadCanvas->pageCount(), this); - exportDialog.showMaximized(); - - if (exportDialog.exec() == QDialog::Accepted) { + if ( QPEApplication::execDialog( &exportDialog ) == QDialog::Accepted ) { m_pDrawPadCanvas->exportPage(exportDialog.selectedFromPage(), exportDialog.selectedToPage(), exportDialog.selectedName(), exportDialog.selectedFormat()); } @@ -629,7 +626,7 @@ void DrawPad::thumbnailView() { ThumbnailView thumbnailView(this, m_pDrawPadCanvas, this); - thumbnailView.showMaximized(); + QPEApplication::showWidget( &thumbnailView ); thumbnailView.exec(); } -- cgit v0.9.0.2