mirror of
https://github.com/WarmUpTill/SceneSwitcher.git
synced 2026-03-21 17:34:57 -05:00
Add GetPath()
This commit is contained in:
parent
84f7d0d214
commit
b3bf89840b
|
|
@ -35,6 +35,11 @@ void FileSelection::SetPath(const QString &path)
|
|||
_filePath->setText(path);
|
||||
}
|
||||
|
||||
QString FileSelection::GetPath() const
|
||||
{
|
||||
return _filePath->text();
|
||||
}
|
||||
|
||||
QString FileSelection::ValidPathOrDesktop(const QString &path)
|
||||
{
|
||||
QFileInfo fileInfo(path);
|
||||
|
|
|
|||
|
|
@ -22,6 +22,7 @@ public:
|
|||
QWidget *parent = 0);
|
||||
EXPORT void SetPath(const StringVariable &);
|
||||
EXPORT void SetPath(const QString &);
|
||||
EXPORT QString GetPath() const;
|
||||
EXPORT QPushButton *Button() { return _browseButton; }
|
||||
EXPORT static QString ValidPathOrDesktop(const QString &path);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user