NewClassWidget Class
(Utils::NewClassWidget)The NewClassWidget class is a utility widget for 'New Class' wizards. More...
| Header: | #include <NewClassWidget> |
Public Functions
| bool | allowDirectories() const |
| QStringList | baseClassChoices() const |
| class QString | baseClassName() const |
| class QString | className() const |
| Utils::NewClassWidget::ClassType | classType() const |
| QStringList | files() const |
| class QString | formExtension() const |
| class QString | formFileName() const |
| bool | formInputCheckable() const |
| bool | formInputChecked() const |
| class QString | headerExtension() const |
| class QString | headerFileName() const |
| bool | isBaseClassEditable() const |
| bool | isBaseClassInputVisible() const |
| bool | isClassTypeComboVisible() const |
| bool | isFormInputVisible() const |
| bool | isHeaderInputVisible() const |
| bool | isPathInputVisible() const |
| bool | isSourceInputVisible() const |
| bool | lowerCaseFiles() const |
| class QString | namesDelimiter() const |
| bool | namespacesEnabled() const |
| class QString | path() const |
| class QString | sourceExtension() const |
| class QString | sourceFileName() const |
Public Slots
| void | setAllowDirectories(bool v) |
| void | setBaseClassChoices(const QStringList &choices) |
| void | setBaseClassEditable(bool editable) |
| void | setBaseClassInputVisible(bool visible) |
| void | setBaseClassName(const class QString &) |
| void | setClassName(const class QString &suggestedName) |
| void | setClassType(Utils::NewClassWidget::ClassType ct) |
| void | setClassTypeComboVisible(bool v) |
| void | setFormExtension(const class QString &e) |
| void | setFormInputCheckable(bool v) |
| void | setFormInputChecked(bool v) |
| void | setFormInputVisible(bool visible) |
| void | setHeaderExtension(const class QString &e) |
| void | setHeaderInputVisible(bool visible) |
| void | setLowerCaseFiles(bool v) |
| void | setNamesDelimiter(const class QString &delimiter) |
| void | setNamespacesEnabled(bool b) |
| void | setPath(const class QString &path) |
| void | setPathInputVisible(bool visible) |
| void | setSourceExtension(const class QString &e) |
| void | setSourceInputVisible(bool visible) |
Detailed Description
This widget prompts the user to enter a class name (optionally derived from some base class) and file names for header, source and form files. Has some smart logic to derive the file names from the class name.