mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2026-03-22 21:59:59 +01:00
Element autonumbering. New tab inside autonumbering menu to assign formulas to element label. XML containing elements labels according ISO/IEC 81346 (./elements/10_electric/qet_labels.xml
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4563 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
@@ -26,7 +26,7 @@ class QAbstractButton;
|
||||
class QETProject;
|
||||
|
||||
namespace Ui {
|
||||
class FolioAutonumberingW;
|
||||
class FolioAutonumberingW;
|
||||
}
|
||||
|
||||
class FolioAutonumberingW : public QWidget
|
||||
@@ -35,16 +35,16 @@ class FolioAutonumberingW : public QWidget
|
||||
|
||||
//METHODS
|
||||
public:
|
||||
explicit FolioAutonumberingW(QETProject *project, QWidget *parent = 0);
|
||||
~FolioAutonumberingW();
|
||||
explicit FolioAutonumberingW(QETProject *project, QWidget *parent = 0);
|
||||
~FolioAutonumberingW();
|
||||
|
||||
void setContext (QList <QString> autonums);
|
||||
void setContext (QList <QString> autonums);
|
||||
NumerotationContext toNumContext() const;
|
||||
QString autoNumSelected();
|
||||
int newFoliosNumber();
|
||||
bool newFolios;
|
||||
int fromFolio();
|
||||
int toFolio();
|
||||
QString autoNumSelected();
|
||||
int newFoliosNumber();
|
||||
bool newFolios;
|
||||
int fromFolio();
|
||||
int toFolio();
|
||||
|
||||
// SIGNALS
|
||||
signals:
|
||||
@@ -53,20 +53,20 @@ class FolioAutonumberingW : public QWidget
|
||||
|
||||
//SLOTS
|
||||
private slots:
|
||||
void on_m_create_new_tabs_rb_clicked();
|
||||
void on_m_autonumber_tabs_rb_clicked();
|
||||
void on_m_new_tabs_sb_valueChanged();
|
||||
void on_m_create_new_tabs_rb_clicked();
|
||||
void on_m_autonumber_tabs_rb_clicked();
|
||||
void on_m_new_tabs_sb_valueChanged(int);
|
||||
void on_buttonBox_clicked(QAbstractButton *);
|
||||
void on_m_from_cb_currentIndexChanged();
|
||||
void on_m_from_cb_currentIndexChanged(int);
|
||||
void applyEnable (bool = true);
|
||||
|
||||
//ATTRIBUTES
|
||||
private:
|
||||
QETProject *project_;
|
||||
Ui::FolioAutonumberingW *ui;
|
||||
QETProject *project_;
|
||||
Ui::FolioAutonumberingW *ui;
|
||||
QList <NumPartEditorW *> num_part_list_;
|
||||
NumerotationContext m_context;
|
||||
void updateFolioList();
|
||||
void updateFolioList();
|
||||
};
|
||||
|
||||
#endif // FOLIOAUTONUMBERING_H
|
||||
|
||||
Reference in New Issue
Block a user