HowManyAreAnalyzed(): use status_user_agent to report progress
[linguistica.git] / propertiesdialog.cpp
blobd3bed1f36e2838a34ab0edf92652a597ea89048f
1 // Implementation of PropertiesDialog methods
2 // Copyright © 2009 The University of Chicago
3 #include "propertiesdialog.h"
5 #include <Q3CanvasItem>
6 #include <QDialog>
7 #include "GraphicView.h"
9 PropertiesDialog::PropertiesDialog() : QDialog(), Ui::PropertiesDialogBase()
10 { setupUi(this); }
12 void PropertiesDialog::exec(Q3CanvasItem* item)
14 if (DiagramBox* box = dynamic_cast<DiagramBox*>(item)) {
15 CState* pState = box->m_MyState;
16 if (pState == 0)
17 return;
20 static_cast<void>(QDialog::exec());