void PluginRegistryTree::handleWatcherDone(void)
{
    new PluginPathTreeItem(this, _watcher->result());
    this->resizeColumnToContents(0);
    this->resizeColumnToContents(1);
    emit stopLoad();
}
Esempio n. 2
0
ActionWidget::ActionWidget(QWidget *parent) :
	QWidget(parent),
	ui(new Ui::Action)
{
	ui->setupUi(this);

	QString path = PRO_FILE_PWD;

	QDir dir(path + "/actionFiles");

	QStringList filter;
	filter.append("*.act");
	QStringList list = dir.entryList(filter, QDir::Files);

	connect(ui->startLoadButton, SIGNAL(clicked()), this, SLOT(startLoad()));
	connect(ui->stopLoadButton, SIGNAL(clicked()), this, SLOT(stopLoad()));

	connect(ui->startSaveButton, SIGNAL(clicked()), this, SLOT(startSave()));
	connect(ui->stopSaveButton, SIGNAL(clicked()), this, SLOT(stopSave()));

	ui->comboBox->addItems(list);
}