2013-04-30 10:26:13 +00:00
|
|
|
/*
|
2016-05-13 17:40:36 +00:00
|
|
|
Copyright 2006-2016 The QElectroTech Team
|
2013-04-30 10:26:13 +00:00
|
|
|
This file is part of QElectroTech.
|
|
|
|
|
|
|
|
QElectroTech is free software: you can redistribute it and/or modify
|
|
|
|
it under the terms of the GNU General Public License as published by
|
|
|
|
the Free Software Foundation, either version 2 of the License, or
|
|
|
|
(at your option) any later version.
|
|
|
|
|
|
|
|
QElectroTech is distributed in the hope that it will be useful,
|
|
|
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
GNU General Public License for more details.
|
|
|
|
|
|
|
|
You should have received a copy of the GNU General Public License
|
|
|
|
along with QElectroTech. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
*/
|
2013-05-07 13:17:57 +00:00
|
|
|
#ifndef DIALOGAUTONUM_H
|
|
|
|
#define DIALOGAUTONUM_H
|
2013-04-11 09:35:10 +00:00
|
|
|
|
|
|
|
#include <QDialog>
|
|
|
|
|
2013-04-18 08:00:09 +00:00
|
|
|
#include "diagram.h"
|
2013-04-30 10:26:13 +00:00
|
|
|
#include "ui/diagramselection.h"
|
2013-04-18 08:00:09 +00:00
|
|
|
|
2013-04-11 09:35:10 +00:00
|
|
|
namespace Ui {
|
2013-05-07 13:17:57 +00:00
|
|
|
class DialogAutoNum;
|
2013-04-11 09:35:10 +00:00
|
|
|
}
|
|
|
|
|
2013-05-07 13:17:57 +00:00
|
|
|
class DialogAutoNum : public QDialog
|
2013-04-11 09:35:10 +00:00
|
|
|
{
|
|
|
|
Q_OBJECT
|
|
|
|
|
|
|
|
public:
|
2013-05-07 13:17:57 +00:00
|
|
|
explicit DialogAutoNum(Diagram *dg, QWidget *parent = 0);
|
|
|
|
~DialogAutoNum();
|
2013-04-11 09:35:10 +00:00
|
|
|
|
2013-04-18 08:00:09 +00:00
|
|
|
private slots:
|
2013-05-02 14:50:44 +00:00
|
|
|
void on_pushButton_annotation_clicked();
|
|
|
|
void on_pushButton_delete_clicked();
|
2013-04-18 08:00:09 +00:00
|
|
|
void on_pushButton_close_clicked();
|
|
|
|
|
2013-04-11 09:35:10 +00:00
|
|
|
private:
|
2013-05-07 13:17:57 +00:00
|
|
|
Ui::DialogAutoNum *ui;
|
2013-04-18 08:00:09 +00:00
|
|
|
Diagram *dg_;
|
2013-05-18 18:39:53 +00:00
|
|
|
diagramselection *dgselect_;
|
2013-04-11 09:35:10 +00:00
|
|
|
};
|
|
|
|
|
2013-05-07 13:17:57 +00:00
|
|
|
#endif // DialogAutoNum_H
|