summaryrefslogtreecommitdiff
path: root/cad/plugins/NanoVision-1/src/JobSelectorDialog.h
blob: 5a4874f9753fcd9599e1727b95363712da0339fc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
// Copyright 2008 Nanorex, Inc.  See LICENSE file for details.

#ifndef JOBSELECTORDIALOG_H
#define JOBSELECTORDIALOG_H

#include <QObject>
#include <QPushButton>

#include "ui_JobSelectorDialog.h"

class JobSelectorDialog : public QDialog, private Ui_JobSelectorDialog {

	Q_OBJECT
	
	public:
		JobSelectorDialog(QWidget *parent = 0);
		~JobSelectorDialog();
	
		void addActiveJobs(const QStringList& activeJobs);
		QString getSelection();
	
	public slots:
		void itemSelected(QListWidgetItem* item);
};

#endif