author | insilmaril |
Fri, 09 Nov 2007 12:07:21 +0000 | |
changeset 624 | 4ffc47ae27e4 |
parent 623 | 7ba1c04d96d5 |
child 626 | 96c8e6860e0c |
permissions | -rw-r--r-- |
insilmaril@623 | 1 |
#include "attributedialog.h" |
insilmaril@623 | 2 |
|
insilmaril@623 | 3 |
|
insilmaril@623 | 4 |
AttributeDialog::AttributeDialog (QWidget *parent):QDialog (parent) |
insilmaril@623 | 5 |
{ |
insilmaril@623 | 6 |
ui.setupUi (this); |
insilmaril@623 | 7 |
} |
insilmaril@623 | 8 |
|
insilmaril@623 | 9 |
|
insilmaril@623 | 10 |
void AttributeDialog::closeEvent( QCloseEvent* ce ) |
insilmaril@623 | 11 |
{ |
insilmaril@623 | 12 |
ce->accept(); // can be reopened with show() |
insilmaril@623 | 13 |
hide(); |
insilmaril@623 | 14 |
emit (windowClosed() ); |
insilmaril@623 | 15 |
return; |
insilmaril@623 | 16 |
} |
insilmaril@623 | 17 |
|
insilmaril@623 | 18 |
|
insilmaril@623 | 19 |