attributedialog.cpp
changeset 623 7ba1c04d96d5
child 626 96c8e6860e0c
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/attributedialog.cpp	Fri Nov 09 12:07:20 2007 +0000
     1.3 @@ -0,0 +1,19 @@
     1.4 +#include "attributedialog.h"
     1.5 +
     1.6 +
     1.7 +AttributeDialog::AttributeDialog (QWidget *parent):QDialog (parent)
     1.8 +{
     1.9 +	ui.setupUi (this);
    1.10 +}
    1.11 +
    1.12 +
    1.13 +void AttributeDialog::closeEvent( QCloseEvent* ce )
    1.14 +{
    1.15 +    ce->accept();	// can be reopened with show()
    1.16 +	hide();
    1.17 +	emit (windowClosed() );
    1.18 +    return;
    1.19 +}
    1.20 +
    1.21 +
    1.22 +