specialized QToolButton which allows to select a file and saves its path in the buddy
More...
#include <jkqtespecialtoolbutton.h>
|
| void | setBaseDir (const QString &b) |
| | set a basedir in which files are searched for execution, if this is empty the current directory is used More...
|
| |
| void | setDialogFilter (const QString &b) |
| | sets the file filter of the file select dialog More...
|
| |
| void | setDialogTitle (const QString &b) |
| | sets the title label of the file select dialog More...
|
| |
specialized QToolButton which allows to select a file and saves its path in the buddy
Usage example:
QLineEdit* lineFile=new QLineEdit(wid);
◆ JKQTEFileSelectToolButton()
| JKQTEFileSelectToolButton::JKQTEFileSelectToolButton |
( |
QWidget * |
parent = nullptr | ) |
|
◆ ~JKQTEFileSelectToolButton()
| virtual JKQTEFileSelectToolButton::~JKQTEFileSelectToolButton |
( |
| ) |
|
|
virtual |
◆ buddy() [1/2]
| QLineEdit* JKQTEFileSelectToolButton::buddy |
( |
| ) |
|
buddy associated with this button
◆ buddy() [2/2]
| const QLineEdit* JKQTEFileSelectToolButton::buddy |
( |
| ) |
const |
buddy associated with this button
◆ getBaseDir()
| QString JKQTEFileSelectToolButton::getBaseDir |
( |
| ) |
const |
returns a basedir in which files are searched for execution, if this is empty the current directory is used
◆ getDialogFilter()
| QString JKQTEFileSelectToolButton::getDialogFilter |
( |
| ) |
const |
returns the file filter of the file select dialog
◆ getDialogTitle()
| QString JKQTEFileSelectToolButton::getDialogTitle |
( |
| ) |
const |
returns the title label of the file select dialog
◆ openBuddyContents
| void JKQTEFileSelectToolButton::openBuddyContents |
( |
| ) |
|
|
protectedslot |
◆ setBaseDir
| void JKQTEFileSelectToolButton::setBaseDir |
( |
const QString & |
b | ) |
|
|
slot |
set a basedir in which files are searched for execution, if this is empty the current directory is used
◆ setBuddy()
| void JKQTEFileSelectToolButton::setBuddy |
( |
QLineEdit * |
b | ) |
|
set the buddy widget, which provides the contents
◆ setDialogFilter
| void JKQTEFileSelectToolButton::setDialogFilter |
( |
const QString & |
b | ) |
|
|
slot |
sets the file filter of the file select dialog
◆ setDialogTitle
| void JKQTEFileSelectToolButton::setDialogTitle |
( |
const QString & |
b | ) |
|
|
slot |
sets the title label of the file select dialog
◆ m_baseDir
| QString JKQTEFileSelectToolButton::m_baseDir |
|
private |
◆ m_buddy
| QLineEdit* JKQTEFileSelectToolButton::m_buddy |
|
private |
◆ m_dlgFilter
| QString JKQTEFileSelectToolButton::m_dlgFilter |
|
private |
◆ m_dlgTitle
| QString JKQTEFileSelectToolButton::m_dlgTitle |
|
private |
The documentation for this class was generated from the following file: