#include <dialognewpattern.h>
Public Member Functions | |
DialogNewPattern (VContainer *data, const QString &patternPieceName, QWidget *parent=nullptr) | |
virtual | ~DialogNewPattern () |
QString | name () const |
Unit | PatternUnit () const |
Protected Member Functions | |
virtual void | showEvent (QShowEvent *event) Q_DECL_OVERRIDE |
Private Slots | |
void | CheckState () |
Private Member Functions | |
void | InitUnits () |
Private Attributes | |
Ui::DialogNewPattern * | ui |
VContainer * | data |
bool | isInitialized |
Definition at line 66 of file dialognewpattern.h.
DialogNewPattern::DialogNewPattern | ( | VContainer * | data, |
const QString & | patternPieceName, | ||
QWidget * | parent = nullptr |
||
) |
Definition at line 66 of file dialognewpattern.cpp.
References CheckState(), InitUnits(), qApp, and ui.
|
virtual |
Definition at line 87 of file dialognewpattern.cpp.
References ui.
|
privateslot |
Definition at line 100 of file dialognewpattern.cpp.
Referenced by DialogNewPattern().
|
private |
Definition at line 135 of file dialognewpattern.cpp.
References Cm, Inch, Mm, qApp, ui, and UnitsToStr().
Referenced by DialogNewPattern().
QString DialogNewPattern::name | ( | ) | const |
Definition at line 150 of file dialognewpattern.cpp.
References ui.
Referenced by MainWindow::New().
Unit DialogNewPattern::PatternUnit | ( | ) | const |
Definition at line 93 of file dialognewpattern.cpp.
References StrToUnits(), and ui.
Referenced by MainWindow::New().
|
protectedvirtual |
Definition at line 114 of file dialognewpattern.cpp.
References isInitialized.
|
private |
Definition at line 81 of file dialognewpattern.h.
|
private |
Definition at line 82 of file dialognewpattern.h.
Referenced by showEvent().
|
private |
Definition at line 80 of file dialognewpattern.h.
Referenced by CheckState(), DialogNewPattern(), InitUnits(), name(), PatternUnit(), and ~DialogNewPattern().