mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2026-04-02 01:19:59 +02:00
Element Autonumbering now has sequential variables and selectautonum widget. Renamed autonumbering variables.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4569 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
@@ -20,6 +20,7 @@
|
||||
|
||||
#include <QWidget>
|
||||
#include "numerotationcontext.h"
|
||||
#include "elementautonumberingw.h"
|
||||
|
||||
class NumPartEditorW;
|
||||
class QAbstractButton;
|
||||
@@ -40,6 +41,8 @@ class SelectAutonumW : public QWidget
|
||||
|
||||
void setContext (const NumerotationContext &context);
|
||||
NumerotationContext toNumContext() const;
|
||||
void contextToFormula ();
|
||||
QString elementFormula();
|
||||
|
||||
signals:
|
||||
void applyPressed();
|
||||
@@ -51,15 +54,15 @@ class SelectAutonumW : public QWidget
|
||||
void on_buttonBox_clicked(QAbstractButton *);
|
||||
void applyEnable (bool = true);
|
||||
|
||||
//ATTRIBUTS
|
||||
//ATTRIBUTES
|
||||
void on_m_next_pb_clicked();
|
||||
|
||||
void on_m_previous_pb_clicked();
|
||||
|
||||
private:
|
||||
Ui::SelectAutonumW *ui;
|
||||
QList <NumPartEditorW *> num_part_list_;
|
||||
NumerotationContext m_context;
|
||||
ElementAutonumberingW *m_eaw;
|
||||
};
|
||||
|
||||
#endif // SELECTAUTONUMW_H
|
||||
|
||||
Reference in New Issue
Block a user