XII Release 0.1.0
Loading...
Searching...
No Matches
xiiFileNameValidator Class Reference

Basic file name validator. Makes sure that under a given parent folder, the new file name is valid and not already in use by a different file. More...

#include <AssetBrowserFolderView.moc.h>

Inheritance diagram for xiiFileNameValidator:
[legend]

Public Member Functions

 xiiFileNameValidator (QObject *pParent, xiiStringView sParentFolder, xiiStringView sCurrentName)
 Copyright (c) Theophilus Eriata. All Rights Reserved.
virtual QValidator::State validate (QString &ref_sInput, int &ref_iPos) const override

Detailed Description

Basic file name validator. Makes sure that under a given parent folder, the new file name is valid and not already in use by a different file.

Constructor & Destructor Documentation

◆ xiiFileNameValidator()

xiiFileNameValidator::xiiFileNameValidator ( QObject * pParent,
xiiStringView sParentFolder,
xiiStringView sCurrentName )

Copyright (c) Theophilus Eriata. All Rights Reserved.

Constructor. Validator requires the current location and name of the file.

Parameters
sParentFolderAbsolute path to the location of the file.
sCurrentNameCurrent filename. If set, this name is marked as valid, even though it is already in use.

The documentation for this class was generated from the following files:
  • /home/runner/work/XII/XII/Source/Editor/EditorFramework/Assets/AssetBrowserFolderView.moc.h
  • /home/runner/work/XII/XII/Source/Editor/EditorFramework/Assets/Implementation/AssetBrowserFolderView.cpp