summaryrefslogtreecommitdiff
path: root/cad/plugins/NanoVision-1/src/PreferencesDialog.h
blob: 745a29ffd9ed8ee75210550293ae2f6a1260d82e (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
28
29
// Copyright 2008 Nanorex, Inc.  See LICENSE file for details.

#ifndef PREFERENCESDIALOG_H
#define PREFERENCESDIALOG_H

#include <QObject>
#include <QFileDialog>

#include "UserSettings.h"
#include "ui_PreferencesDialog.h"

class PreferencesDialog : public QDialog, private Ui_PreferencesDialog {
	Q_OBJECT
	
	public:
		PreferencesDialog(QWidget *parent = 0);
		~PreferencesDialog();
		
	public slots:
		void accept();
		
	private slots:
		void logToFileCheckBoxChanged(int state);
		void logToConsoleCheckBoxChanged(int state);
		void fileLogBrowseButtonClicked(bool checked);
};

#endif