KVIrc  4.9.2
DeveloperAPIs
Public Member Functions | Private Slots | Private Member Functions | Private Attributes | List of all members
OptionsWidget_mediaTypes Class Reference

#include <OptionsWidget_mediaTypes.h>

+ Inheritance diagram for OptionsWidget_mediaTypes:

Public Member Functions

virtual void commit ()
 
 OptionsWidget_mediaTypes (QWidget *parent)
 
 ~OptionsWidget_mediaTypes ()
 
- Public Member Functions inherited from KviOptionsWidget
KviBoolSelectoraddBoolSelector (int x1, int y1, int x2, int y2, const QString &txt, bool *pOption, bool bEnabled=true)
 
KviBoolSelectoraddBoolSelector (QWidget *pParent, const QString &txt, bool *pOption, bool bEnabled=true)
 
KviBoolSelectoraddBoolSelector (int x1, int y1, int x2, int y2, const QString &txt, int optId, bool bEnabled=true)
 
KviBoolSelectoraddBoolSelector (QWidget *pParnt, const QString &txt, int optId, bool bEnabled=true)
 
KviColorSelectoraddColorSelector (int x1, int y1, int x2, int y2, const QString &txt, QColor *pOption, bool bEnabled=true)
 
KviColorSelectoraddColorSelector (QWidget *pParent, const QString &txt, QColor *pOption, bool bEnabled=true)
 
KviColorSelectoraddColorSelector (int x1, int y1, int x2, int y2, const QString &txt, int optId, bool bEnabled=true)
 
KviColorSelectoraddColorSelector (QWidget *pParent, const QString &txt, int optId, bool bEnabled=true)
 
KviDirectorySelectoraddDirectorySelector (int x1, int y1, int x2, int y2, const QString &txt, QString *pOption, bool bEnabled=true)
 
KviDirectorySelectoraddDirectorySelector (QWidget *pParent, const QString &txt, QString *pOption, bool bEnabled=true)
 
KviDirectorySelectoraddDirectorySelector (int x1, int y1, int x2, int y2, const QString &txt, int optId, bool bEnabled=true)
 
KviDirectorySelectoraddDirectorySelector (QWidget *pParent, const QString &txt, int optId, bool bEnabled=true)
 
KviFileSelectoraddFileSelector (int x1, int y1, int x2, int y2, const QString &txt, QString *pOption, bool bEnabled=true)
 
KviFileSelectoraddFileSelector (QWidget *pParent, const QString &txt, QString *pOption, bool bEnabled=true)
 
KviFileSelectoraddFileSelector (int x1, int y1, int x2, int y2, const QString &txt, int optId, bool bEnabled=true)
 
KviFileSelectoraddFileSelector (QWidget *pParent, const QString &txt, int optId, bool bEnabled=true)
 
KviFontSelectoraddFontSelector (int x1, int y1, int x2, int y2, const QString &txt, QFont *pOption, bool bEnabled=true)
 
KviFontSelectoraddFontSelector (QWidget *pParent, const QString &txt, QFont *pOption, bool bEnabled=true)
 
KviFontSelectoraddFontSelector (int x1, int y1, int x2, int y2, const QString &txt, int optId, bool bEnabled=true)
 
KviFontSelectoraddFontSelector (QWidget *pParent, const QString &txt, int optId, bool bEnabled=true)
 
KviTalGroupBoxaddGroupBox (int x1, int y1, int x2, int y2, Qt::Orientation o, const QString &txt, bool bEnabled=true)
 
QLabel * addLabel (int x1, int y1, int x2, int y2, const QString &text, bool bEnabled=true)
 
QLabel * addLabel (QWidget *pParent, const QString &text, bool bEnabled=true)
 
QLineEdit * addLineEdit (int x1, int y1, int x2, int y2, bool bEnabled=true)
 
KviMircTextColorSelectoraddMircTextColorSelector (int x1, int y1, int x2, int y2, const QString &txt, unsigned int *uFore, unsigned int *uBack, bool bEnabled=true)
 
KviMircTextColorSelectoraddMircTextColorSelector (QWidget *pParent, const QString &txt, unsigned int *uFore, unsigned int *uBack, bool bEnabled=true)
 
KviMircTextColorSelectoraddMircTextColorSelector (int x1, int y1, int x2, int y2, const QString &txt, int optForeId, int optBackId, bool bEnabled=true)
 
KviMircTextColorSelectoraddMircTextColorSelector (QWidget *pParent, const QString &txt, int optForeId, int optBackId, bool bEnabled=true)
 
void addOptionsWidget (const QString &szText, const QIcon &iconSet, KviOptionsWidget *pWidget)
 
KviPasswordSelectoraddPasswordSelector (int x1, int y1, int x2, int y2, const QString &txt, QString *pOption, bool bEnabled=true)
 
KviPasswordSelectoraddPasswordSelector (QWidget *pParent, const QString &txt, QString *pOption, bool bEnabled=true)
 
KviPasswordSelectoraddPasswordSelector (int x1, int y1, int x2, int y2, const QString &txt, int optId, bool bEnabled=true)
 
KviPasswordSelectoraddPasswordSelector (QWidget *pParent, const QString &txt, int optId, bool bEnabled=true)
 
KviPixmapSelectoraddPixmapSelector (int x1, int y1, int x2, int y2, const QString &txt, int optId, bool bEnabled=true)
 
KviPixmapSelectoraddPixmapSelector (int x1, int y1, int x2, int y2, const QString &txt, KviPixmap *pOption, bool bEnabled=true)
 
QPushButton * addPushButton (int x1, int y1, int x2, int y2, const QString &text, bool bEnabled=true)
 
void addRowSpacer (int x1, int y1, int x2, int y2)
 
QFrame * addSeparator (int x1, int y1, int x2, int y2)
 
KviSoundSelectoraddSoundSelector (int x1, int y1, int x2, int y2, const QString &txt, QString *pOption, bool bEnabled=true)
 
KviSoundSelectoraddSoundSelector (QWidget *pParent, const QString &txt, QString *pOption, bool bEnabled=true)
 
KviSoundSelectoraddSoundSelector (int x1, int y1, int x2, int y2, const QString &txt, int optId, bool bEnabled=true)
 
KviSoundSelectoraddSoundSelector (QWidget *pParent, const QString &txt, int optId, bool bEnabled=true)
 
KviStringListSelectoraddStringListSelector (int x1, int y1, int x2, int y2, const QString &txt, QStringList *pOption, bool bEnabled=true)
 
KviStringListSelectoraddStringListSelector (int x1, int y1, int x2, int y2, const QString &txt, int optId, bool bEnabled=true)
 
KviStringSelectoraddStringSelector (int x1, int y1, int x2, int y2, const QString &txt, QString *pOption, bool bEnabled=true)
 
KviStringSelectoraddStringSelector (QWidget *pParent, const QString &txt, QString *pOption, bool bEnabled=true)
 
KviStringSelectoraddStringSelector (int x1, int y1, int x2, int y2, const QString &txt, int optId, bool bEnabled=true)
 
KviStringSelectoraddStringSelector (QWidget *pParent, const QString &txt, int optId, bool bEnabled=true)
 
KviUIntSelectoraddUIntSelector (int x1, int y1, int x2, int y2, const QString &txt, unsigned int *pOption, unsigned int uLowBound, unsigned int uHighBound, unsigned int uDefault, bool bEnabled=true)
 
KviUIntSelectoraddUIntSelector (QWidget *pParent, const QString &txt, unsigned int *pOption, unsigned int uLowBound, unsigned int uHighBound, unsigned int uDefault, bool bEnabled=true)
 
KviUIntSelectoraddUIntSelector (int x1, int y1, int x2, int y2, const QString &txt, int optId, unsigned int uLowBound, unsigned int uHighBound, unsigned int uDefault, bool bEnabled=true)
 
KviUIntSelectoraddUIntSelector (QWidget *pParent, const QString &txt, int optId, unsigned int uLowBound, unsigned int uHighBound, unsigned int uDefault, bool bEnabled=true)
 
KviUIntSelectoraddUShortIntSelector (int x1, int y1, int x2, int y2, const QString &txt, unsigned short int *pOption, unsigned int uLowBound, unsigned int uHighBound, unsigned int uDefault, bool bEnabled=true)
 
void addWidgetToLayout (QWidget *w, int x1, int y1, int x2, int y2)
 
virtual void childEvent (QChildEvent *e)
 
void createLayout ()
 
void createTabbedPage ()
 
virtual bool eventFilter (QObject *watched, QEvent *e)
 
 KviOptionsWidget (QWidget *parent, const char *name=0, bool bSunken=true)
 
QGridLayout * layout ()
 
void mergeResetFlag (int flag)
 
void mergeTip (QWidget *w, const QString &tip)
 
void removeSelector (KviSelectorInterface *pInterface)
 
KviPointerList
< KviSelectorInterface > * 
selectors ()
 
QTabWidget * tabWidget ()
 
 ~KviOptionsWidget ()
 
- Public Member Functions inherited from KviSelectorInterface
 KviSelectorInterface ()
 
virtual QString textForSearch ()
 
virtual QWidget * widgetToHighlight ()
 
virtual ~KviSelectorInterface ()
 

Private Slots

void currentItemChanged (QTreeWidgetItem *it, QTreeWidgetItem *prev)
 
void delMediaType ()
 
void newMediaType ()
 

Private Member Functions

void enableOrDisable ()
 
void fillTreeWidget ()
 
void saveLastItem ()
 
void setLineEdits ()
 

Private Attributes

QLineEdit * m_pCommandline
 
QPushButton * m_pDelete
 
QLineEdit * m_pDescription
 
QLineEdit * m_pFileMask
 
QLineEdit * m_pIanaType
 
QLineEdit * m_pIcon
 
MediaTypeTreeWidgetItemm_pLastItem
 
QLineEdit * m_pMagicBytes
 
QLineEdit * m_pRemoteExecCommandline
 
QLineEdit * m_pSavePath
 
QTreeWidget * m_pTreeWidget
 

Additional Inherited Members

- Protected Slots inherited from KviOptionsWidget
void childOptionsWidgetDestroyed ()
 
- Protected Member Functions inherited from KviOptionsWidget
void commitOptionsReset ()
 
void commitSelectors ()
 

Constructor & Destructor Documentation

OptionsWidget_mediaTypes::OptionsWidget_mediaTypes ( QWidget *  parent)
OptionsWidget_mediaTypes::~OptionsWidget_mediaTypes ( )
default

Member Function Documentation

void OptionsWidget_mediaTypes::commit ( void  )
virtual
void OptionsWidget_mediaTypes::currentItemChanged ( QTreeWidgetItem *  it,
QTreeWidgetItem *  prev 
)
privateslot
void OptionsWidget_mediaTypes::delMediaType ( )
privateslot

References m_pLastItem.

Referenced by OptionsWidget_mediaTypes().

void OptionsWidget_mediaTypes::enableOrDisable ( )
private
void OptionsWidget_mediaTypes::fillTreeWidget ( )
private
void OptionsWidget_mediaTypes::newMediaType ( )
privateslot
void OptionsWidget_mediaTypes::saveLastItem ( )
private
void OptionsWidget_mediaTypes::setLineEdits ( )
private

Member Data Documentation

QLineEdit* OptionsWidget_mediaTypes::m_pCommandline
private
QPushButton* OptionsWidget_mediaTypes::m_pDelete
private
QLineEdit* OptionsWidget_mediaTypes::m_pDescription
private
QLineEdit* OptionsWidget_mediaTypes::m_pFileMask
private
QLineEdit* OptionsWidget_mediaTypes::m_pIanaType
private
QLineEdit* OptionsWidget_mediaTypes::m_pIcon
private
MediaTypeTreeWidgetItem* OptionsWidget_mediaTypes::m_pLastItem
private
QLineEdit* OptionsWidget_mediaTypes::m_pMagicBytes
private
QLineEdit* OptionsWidget_mediaTypes::m_pRemoteExecCommandline
private
QLineEdit* OptionsWidget_mediaTypes::m_pSavePath
private
QTreeWidget* OptionsWidget_mediaTypes::m_pTreeWidget
private

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