14#include <QtCore/qobject.h>
33 FilePathEdit(FileMode _mode, QWidget* _parent = (QWidget*)
nullptr);
34 FilePathEdit(
const QString& _filePath, FileMode _mode, QWidget* _parent = (QWidget*)
nullptr);
37 virtual QWidget*
getQWidget(
void)
override {
return m_root; };
39 void setFilePath(
const QString& _file);
52 void fileChanged(
void);
55 void slotBrowse(
void);
58 void slotEditChanged(
void);
61 void ini(QWidget* _parent);
70 QString m_browseTitle;
This file contains defines that may be used simplyfy class creation.
#define OT_DECL_NODEFAULT(___class)
Removes the default copy constructor and assignment operator.
Definition OTClassHelper.h:22
#define OT_DECL_NOCOPY(___class)
Removes the default copy constructor and assignment operator.
Definition OTClassHelper.h:14
Definition FilePathEdit.h:23
void setBrowseTitle(const QString &_title)
Definition FilePathEdit.h:42
PushButton * getPushButton(void)
Definition FilePathEdit.h:49
const QString & getFileFilter(void) const
Definition FilePathEdit.h:46
const QString & getFilePath(void) const
Definition FilePathEdit.h:40
FileMode
Definition FilePathEdit.h:28
@ OpenFileMode
Definition FilePathEdit.h:29
const QString & getBrowseTitle(void) const
Definition FilePathEdit.h:43
void setFileFilter(const QString &_filter)
Definition FilePathEdit.h:45
LineEdit * getLineEdit(void)
Definition FilePathEdit.h:48
virtual QWidget * getQWidget(void) override
Returns a pointer to the root widget of this object.
Definition FilePathEdit.h:37