KVIrc
4.9.2
DeveloperAPIs
|
#include <KviSelectors.h>
Public Types | |
enum | Flags { ChooseSaveFileName = 1, DontConfirmOverwrite = 2, VerticalLayout = 4 } |
Public Slots | |
virtual void | setEnabled (bool bEnabled) |
Signals | |
void | selectionChanged (const QString &szNewValue) |
Public Member Functions | |
virtual void | commit () |
KviFileSelector (QWidget *par, const QString &txt, QString *pOption, bool bEnabled, unsigned int uFlags=0, const QString &szFilter=QString()) | |
void | setSelection (const QString &szSelection) |
void | setTmpFile (QString &szFile) |
QString | tmpFile () |
~KviFileSelector () | |
Public Member Functions inherited from KviSelectorInterface | |
KviSelectorInterface () | |
virtual QString | textForSearch () |
virtual QWidget * | widgetToHighlight () |
virtual | ~KviSelectorInterface () |
Protected Member Functions | |
virtual void | select () |
Protected Attributes | |
QGridLayout * | m_Layout |
QPushButton * | m_pButton |
QLabel * | m_pLabel |
QLineEdit * | m_pLineEdit |
QString * | m_pOption |
QString | m_szFilter |
unsigned int | m_uFlags |
Properties | |
QString | tmpFile |
Private Slots | |
void | browseClicked () |
KviFileSelector::KviFileSelector | ( | QWidget * | par, |
const QString & | txt, | ||
QString * | pOption, | ||
bool | bEnabled, | ||
unsigned int | uFlags = 0 , |
||
const QString & | szFilter = QString() |
||
) |
References __tr2qs, browseClicked(), connect(), m_Layout, m_pButton, m_pLabel, m_pLineEdit, m_pOption, m_szFilter, m_uFlags, setEnabled(), and VerticalLayout.
|
inline |
|
privateslot |
References select().
Referenced by KviFileSelector().
|
virtual |
Reimplemented from KviSelectorInterface.
References m_pLineEdit, and m_pOption.
Referenced by SaveThemeDialog::saveTheme().
|
protectedvirtual |
Reimplemented in KviDirectorySelector.
References __tr2qs, KviFileDialog::askForOpenFileName(), KviFileDialog::askForSaveFileName(), ChooseSaveFileName, DontConfirmOverwrite, m_pLineEdit, m_pOption, m_szFilter, m_uFlags, and selectionChanged().
Referenced by browseClicked().
|
signal |
Referenced by select(), and KviDirectorySelector::select().
|
virtualslot |
Reimplemented in KviSoundSelector.
References m_pButton, m_pLabel, and m_pLineEdit.
Referenced by KviFileSelector(), and KviSoundSelector::setEnabled().
void KviFileSelector::setSelection | ( | const QString & | szSelection | ) |
References m_pLineEdit.
Referenced by SaveThemeDialog::imageSelectionChanged(), PackThemeImageWidget::imageSelectionChanged(), and SaveThemeDialog::makeScreenshot().
|
inline |
Referenced by PackAddonSaveSelectionWidget::initializePage().
|
inline |
|
protected |
Referenced by KviFileSelector(), and KviSoundSelector::KviSoundSelector().
|
protected |
Referenced by KviFileSelector(), and setEnabled().
|
protected |
Referenced by KviFileSelector(), and setEnabled().
|
protected |
Referenced by commit(), KviFileSelector(), KviSoundSelector::playSound(), select(), KviDirectorySelector::select(), setEnabled(), and setSelection().
|
protected |
Referenced by commit(), KviFileSelector(), and select().
|
protected |
Referenced by KviFileSelector(), and select().
|
protected |
Referenced by KviFileSelector(), KviSoundSelector::KviSoundSelector(), and select().
|
readwrite |