2013-04-30 10:26:13 +00:00
|
|
|
/*
|
|
|
|
Copyright 2006-2013 The QElectroTech Team
|
|
|
|
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-04-11 09:35:10 +00:00
|
|
|
#ifndef DIALOGCONDUCTORAUTONUM_H
|
|
|
|
#define DIALOGCONDUCTORAUTONUM_H
|
|
|
|
|
|
|
|
#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 {
|
|
|
|
class DialogConductorAutoNum;
|
|
|
|
}
|
|
|
|
|
|
|
|
class DialogConductorAutoNum : public QDialog
|
|
|
|
{
|
|
|
|
Q_OBJECT
|
|
|
|
|
|
|
|
public:
|
2013-04-18 08:00:09 +00:00
|
|
|
explicit DialogConductorAutoNum(Diagram *dg, QWidget *parent = 0);
|
2013-04-11 09:35:10 +00:00
|
|
|
~DialogConductorAutoNum();
|
|
|
|
|
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:
|
|
|
|
Ui::DialogConductorAutoNum *ui;
|
2013-04-18 08:00:09 +00:00
|
|
|
Diagram *dg_;
|
2013-04-30 10:26:13 +00:00
|
|
|
diagramselection *dgselect_;
|
|
|
|
|
2013-04-11 09:35:10 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif // DIALOGCONDUCTORAUTONUM_H
|