Il est desormais possible de specifier un widget parent pour les dialogues de la classe ElementDialog

git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@734 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
xavier
2009-08-13 18:30:06 +00:00
parent 0d304e8614
commit 4781e6b35c
3 changed files with 28 additions and 20 deletions

View File

@@ -803,7 +803,7 @@ void QETElementEditor::slot_new() {
*/
void QETElementEditor::slot_open() {
// demande le chemin virtuel de l'element a ouvrir a l'utilisateur
ElementsLocation location = ElementDialog::getOpenElementLocation();
ElementsLocation location = ElementDialog::getOpenElementLocation(this);
if (location.isNull()) return;
QETElementEditor *cee = new QETElementEditor();
cee -> fromLocation(location);
@@ -918,7 +918,7 @@ bool QETElementEditor::slot_save() {
*/
bool QETElementEditor::slot_saveAs() {
// demande une localisation a l'utilisateur
ElementsLocation location = ElementDialog::getSaveElementLocation();
ElementsLocation location = ElementDialog::getSaveElementLocation(this);
if (location.isNull()) return(false);
// tente l'enregistrement