HowManyAreAnalyzed(): use status_user_agent to report progress
[linguistica.git] / listbuilderdialog.cpp
blob507c768063a98f3a52b4d80bc30585bab36815e3
1 // Generic two-paned included/excluded list dialog
2 // Copyright © 2009 The University of Chicago
3 #include "listbuilderdialog.h"
5 ListBuilderDialog::ListBuilderDialog( QString caption,
6 QStringList& notIncluded, QStringList& included,
7 QWidget* parent, Qt::WindowFlags fl )
8 : QDialog( parent, 0, false, fl ), Ui::ListBuilderDialogBase()
10 setupUi( this );
12 setCaption( caption );
13 m_NotIncluded->insertStringList( notIncluded );
14 m_Included->insertStringList( included );
18 void ListBuilderDialog::addListItemSlot( Q3ListViewItem* )
23 void ListBuilderDialog::addListItemSlot()
25 m_Included->insertItem( m_NotIncluded->currentText() );
26 m_NotIncluded->removeItem( m_NotIncluded->currentItem() );
30 void ListBuilderDialog::removeListItemSlot( Q3ListViewItem* )
35 void ListBuilderDialog::removeListItemSlot()
37 m_NotIncluded->insertItem( m_Included->currentText() );
38 m_Included->removeItem( m_Included->currentItem() );