diff --git a/sources/autoNum/ui/autonumselectorwidget.cpp b/sources/autoNum/ui/autonumselectorwidget.cpp
deleted file mode 100644
index 8ede7cb1f..000000000
--- a/sources/autoNum/ui/autonumselectorwidget.cpp
+++ /dev/null
@@ -1,79 +0,0 @@
-/*
- Copyright 2006-2017 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 .
-*/
-#include "autonumselectorwidget.h"
-#include "ui_autonumselectorwidget.h"
-
-/**
- * @brief AutonumSelectorWidget::AutonumSelectorWidget
- * Constructor with texts to fill the combo box
- * @param items, items for fill the combo box
- * @param parent, parent widget
- */
-AutonumSelectorWidget::AutonumSelectorWidget(const QStringList &items, QWidget *parent) :
- QWidget(parent),
- ui(new Ui::AutonumSelectorWidget)
-{
- ui->setupUi(this);
- ui -> m_available_autonum_cb -> addItems(items);
-}
-
-/**
- * @brief AutonumSelectorWidget::~AutonumSelectorWidget
- * Destructor
- */
-AutonumSelectorWidget::~AutonumSelectorWidget() {
- delete ui;
-}
-
-/**
- * @brief AutonumSelectorWidget::setCurrentItem
- * Set the combo box current index by text.
- * If text doesn't exist, set current index -1
- * @param item, item of index
- */
-void AutonumSelectorWidget::setCurrentItem(const QString &item) {
- ui -> m_available_autonum_cb -> setCurrentIndex( ui -> m_available_autonum_cb -> findText(item));
-}
-
-/**
- * @brief AutonumSelectorWidget::setItems
- * Populate this widget with the content of @items
- * Previous items is clear.
- * @param items
- */
-void AutonumSelectorWidget::setItems(const QStringList &items) {
- ui -> m_available_autonum_cb -> clear();
- ui -> m_available_autonum_cb -> addItems(items);
-}
-
-/**
- * @brief AutonumSelectorWidget::text
- * @return the current displayed text
- */
-QString AutonumSelectorWidget::text() const {
- return ui -> m_available_autonum_cb -> currentText();
-}
-
-/**
- * @brief AutonumSelectorWidget::on_m_edit_autonum_pb_clicked
- * Just emit the signal openAutonumEditor.
- * The owner of AutonumSelectorWidget need to connect the signal.
- */
-void AutonumSelectorWidget::on_m_edit_autonum_pb_clicked() {
- emit openAutonumEditor();
-}
diff --git a/sources/autoNum/ui/autonumselectorwidget.h b/sources/autoNum/ui/autonumselectorwidget.h
deleted file mode 100644
index a14f8679c..000000000
--- a/sources/autoNum/ui/autonumselectorwidget.h
+++ /dev/null
@@ -1,55 +0,0 @@
-/*
- Copyright 2006-2017 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 .
-*/
-#ifndef AUTONUMSELECTORWIDGET_H
-#define AUTONUMSELECTORWIDGET_H
-
-#include
-
-namespace Ui {
- class AutonumSelectorWidget;
-}
-
-/**
- * @brief The AutonumSelectorWidget class
- * This widget show a combobox to select an autonum and a button to edit the autonum
- * The combo box is empty and the button isn't linked with anything, it's the role of caller
- * of this class to fill the combo box and edit the connection with the button.
- */
-class AutonumSelectorWidget : public QWidget
-{
- Q_OBJECT
-
- public:
- explicit AutonumSelectorWidget(const QStringList &items, QWidget *parent = 0);
- ~AutonumSelectorWidget();
-
- void setCurrentItem (const QString &item);
- void setItems (const QStringList &items);
- QString text () const;
-
- signals:
- void openAutonumEditor ();
-
- private slots:
- void on_m_edit_autonum_pb_clicked();
-
- private:
- Ui::AutonumSelectorWidget *ui;
-};
-
-#endif // AUTONUMSELECTORWIDGET_H
diff --git a/sources/autoNum/ui/autonumselectorwidget.ui b/sources/autoNum/ui/autonumselectorwidget.ui
deleted file mode 100644
index e36467037..000000000
--- a/sources/autoNum/ui/autonumselectorwidget.ui
+++ /dev/null
@@ -1,66 +0,0 @@
-
-
- AutonumSelectorWidget
-
-
-
- 0
- 0
- 400
- 300
-
-
-
- Form
-
-
-
- 0
-
- -
-
-
- Autonumérotation :
-
-
-
- -
-
-
- -
-
-
- Qt::Horizontal
-
-
-
- 40
- 20
-
-
-
-
- -
-
-
- true
-
-
- éditer les numérotations
-
-
-
-
-
-
- :/ico/16x16/configure.png:/ico/16x16/configure.png
-
-
-
-
-
-
-
-
-
-