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; };
38 virtual const QWidget*
getQWidget(
void)
const override {
return m_root; };
40 void setFilePath(
const QString& _file);
56 void slotBrowse(
void);
59 void slotEditChanged(
void);
62 void ini(QWidget* _parent);
71 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:43
PushButton * getPushButton(void)
Definition FilePathEdit.h:50
const QString & getFileFilter(void) const
Definition FilePathEdit.h:47
const QString & getFilePath(void) const
Definition FilePathEdit.h:41
FileMode
Definition FilePathEdit.h:28
@ OpenFileMode
Definition FilePathEdit.h:29
const QString & getBrowseTitle(void) const
Definition FilePathEdit.h:44
void setFileFilter(const QString &_filter)
Definition FilePathEdit.h:46
LineEdit * getLineEdit(void)
Definition FilePathEdit.h:49
virtual QWidget * getQWidget(void) override
Returns a pointer to the root widget of this object.
Definition FilePathEdit.h:37
virtual const QWidget * getQWidget(void) const override
Definition FilePathEdit.h:38