mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2026-04-11 09:29:59 +02:00
Creation of folio sequential type for Element Autonumbering. Correction of autonumbering type handling in numparteditorw.cpp
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4592 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
@@ -41,13 +41,20 @@ class NumPartEditorW : public QWidget
|
||||
NumPartEditorW (NumerotationContext &, int, QWidget *parent=0);
|
||||
~NumPartEditorW();
|
||||
|
||||
enum type {unit,ten,hundred,string,idfolio,folio,elementline,elementcolumn,elementprefix};
|
||||
enum type {unit,unitfolio,ten,tenfolio, hundred, hundredfolio,
|
||||
string,idfolio,folio,
|
||||
elementline,elementcolumn,elementprefix,
|
||||
};
|
||||
NumerotationContext toNumContext();
|
||||
bool isValid ();
|
||||
type type_;
|
||||
|
||||
private:
|
||||
void setVisibleItems();
|
||||
void disableItem(int index);
|
||||
|
||||
private slots:
|
||||
void on_type_combo_activated(int);
|
||||
void on_type_cb_activated(int);
|
||||
void on_value_field_textEdited();
|
||||
void on_increase_spinBox_valueChanged(int);
|
||||
void setType (NumPartEditorW::type t, bool=false);
|
||||
|
||||
Reference in New Issue
Block a user