KVIrc  4.9.2
DeveloperAPIs
Public Types | Public Slots | Signals | Public Member Functions | Protected Member Functions | Protected Attributes | Properties | Private Slots | List of all members
KviFileSelector Class Reference

#include <KviSelectors.h>

+ Inheritance diagram for KviFileSelector:

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 ()
 

Member Enumeration Documentation

Enumerator
ChooseSaveFileName 
DontConfirmOverwrite 
VerticalLayout 

Constructor & Destructor Documentation

KviFileSelector::KviFileSelector ( QWidget *  par,
const QString &  txt,
QString *  pOption,
bool  bEnabled,
unsigned int  uFlags = 0,
const QString &  szFilter = QString() 
)
KviFileSelector::~KviFileSelector ( )
inline

Member Function Documentation

void KviFileSelector::browseClicked ( )
privateslot

References select().

Referenced by KviFileSelector().

void KviFileSelector::commit ( void  )
virtual

Reimplemented from KviSelectorInterface.

References m_pLineEdit, and m_pOption.

Referenced by SaveThemeDialog::saveTheme().

void KviFileSelector::select ( )
protectedvirtual
void KviFileSelector::selectionChanged ( const QString &  szNewValue)
signal
void KviFileSelector::setEnabled ( bool  bEnabled)
virtualslot

Reimplemented in KviSoundSelector.

References m_pButton, m_pLabel, and m_pLineEdit.

Referenced by KviFileSelector(), and KviSoundSelector::setEnabled().

void KviFileSelector::setSelection ( const QString &  szSelection)
void KviFileSelector::setTmpFile ( QString &  szFile)
inline
QString KviFileSelector::tmpFile ( )
inline

Member Data Documentation

QGridLayout* KviFileSelector::m_Layout
protected
QPushButton* KviFileSelector::m_pButton
protected

Referenced by KviFileSelector(), and setEnabled().

QLabel* KviFileSelector::m_pLabel
protected

Referenced by KviFileSelector(), and setEnabled().

QLineEdit* KviFileSelector::m_pLineEdit
protected
QString* KviFileSelector::m_pOption
protected

Referenced by commit(), KviFileSelector(), and select().

QString KviFileSelector::m_szFilter
protected

Referenced by KviFileSelector(), and select().

unsigned int KviFileSelector::m_uFlags
protected

Property Documentation

QString KviFileSelector::tmpFile
readwrite

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