Data_deduplication_service
Service that will use hashes to deduplicate files
windows::FileLineEditWithOption Class Reference

Class that allow to choose either files or directories. More...

#include <FileLineEdit.h>

+ Inheritance diagram for windows::FileLineEditWithOption:
+ Collaboration diagram for windows::FileLineEditWithOption:

Signals

void typeChanged (const EntryType &etr)
 
- Signals inherited from windows::FileLineEdit
void contentChanged (const QString &str)
 

Public Member Functions

 FileLineEditWithOption (QWidget *parent=nullptr, const QString &dirPath=QDir::currentPath(), bool saveFile=false, bool readOnly=true)
 
 ~FileLineEditWithOption () override=default
 
- Public Member Functions inherited from windows::FileLineEdit
 FileLineEdit (QWidget *parent=nullptr, const QString &dirPath=QDir::currentPath(), bool saveFile=false, bool readOnly=true)
 
QString getContent ()
 
bool isEmpty ()
 
 ~FileLineEdit () override=default
 
void setSaveFile (bool saveFile)
 
bool isSaveFile () const
 
EntryType getType ()
 

Protected Slots

void onBrowse () override
 
- Protected Slots inherited from windows::FileLineEdit
virtual void onBrowse ()
 

Protected Attributes

QCheckBox * selectModeCheckBox
 
- Protected Attributes inherited from windows::FileLineEdit
QString dirPath
 
QHBoxLayout * mainLayout
 
QLineEdit * lineEdit
 
QPushButton * pushButton
 
bool saveFile
 
EntryType type
 

Additional Inherited Members

- Protected Member Functions inherited from windows::FileLineEdit
void setUpUi ()
 

Detailed Description

Class that allow to choose either files or directories.

Constructor & Destructor Documentation

◆ FileLineEditWithOption()

windows::FileLineEditWithOption::FileLineEditWithOption ( QWidget *  parent = nullptr,
const QString &  dirPath = QDir::currentPath(),
bool  saveFile = false,
bool  readOnly = true 
)
explicit

◆ ~FileLineEditWithOption()

windows::FileLineEditWithOption::~FileLineEditWithOption ( )
overridedefault

Member Function Documentation

◆ onBrowse

void windows::FileLineEditWithOption::onBrowse ( )
overrideprotectedslot
+ Here is the call graph for this function:

◆ typeChanged

void windows::FileLineEditWithOption::typeChanged ( const EntryType etr)
signal
+ Here is the caller graph for this function:

Member Data Documentation

◆ selectModeCheckBox

QCheckBox* windows::FileLineEditWithOption::selectModeCheckBox
protected

The documentation for this class was generated from the following files: