本页内容

Utils::FileNameValidatingLineEdit Class

class Utils::FileNameValidatingLineEdit

FileNameValidatingLineEdit 类是一个控件,允许用户根据QLineEdit 选择一个(基础)文件名。更多内容...

Header: #include <FileNameValidatingLineEdit>
Inherits: Utils::FancyLineEdit

公共函数

bool allowDirectories() const
bool forceFirstCapitalLetter() const
QStringList requiredExtensions() const
void setAllowDirectories(bool v)
void setForceFirstCapitalLetter(bool b)
void setRequiredExtensions(const QStringList &extensionList)

详细描述

该类提供了一些可嵌入到QWizardPage 中的验证逻辑。

Copyright © The Qt Company Ltd. and other contributors. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.