config autonum widget: minor change about enable/disable apply button

git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2351 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
blacksun
2013-06-27 14:02:59 +00:00
parent 5151fb9d1f
commit 238115df84
3 changed files with 26 additions and 7 deletions

View File

@@ -21,10 +21,12 @@ class NumPartEditorW : public QWidget
enum type {unit,ten,hundred,string,folio};
NumerotationContext toNumContext();
bool isValid ();
private slots:
void on_type_combo_activated(int);
void on_value_field_textChanged();
void on_value_field_textEdited();
void on_increase_spinBox_valueChanged();
void setType (NumPartEditorW::type t);
@@ -35,6 +37,7 @@ class NumPartEditorW : public QWidget
Ui::NumPartEditorW *ui;
QValidator *intValidator;
QString type_str;
type type_;
};