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

#include <OptionsWidget_servers.h>

+ Inheritance diagram for OptionsWidget_servers:

Public Member Functions

virtual void commit ()
 
 OptionsWidget_servers (QWidget *parent)
 
 ~OptionsWidget_servers ()
 
- 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 ()
 

Protected Slots

void clearList ()
 
void connectCurrentClicked ()
 
void copyServer ()
 
void currentItemChanged (QTreeWidgetItem *cur, QTreeWidgetItem *prev)
 
void customContextMenuRequested (const QPoint &pnt)
 
void detailsClicked ()
 
void favoriteServer ()
 
void filterTextEdited (const QString &szNewText)
 
void importerDead ()
 
void importPopupAboutToShow ()
 
void importPopupActivated (QAction *pAction)
 
void importServer (const KviIrcServer &s, const QString &network)
 
void itemDoubleClicked (QTreeWidgetItem *, int)
 
void newNetwork ()
 
void newServer ()
 
void pasteServer ()
 
void recentServersPopupAboutToShow ()
 
void recentServersPopupClicked (QAction *pAction)
 
void removeCurrent ()
 
void serverNetworkEditTextEdited (const QString &szNewText)
 
void slotShowThisDialogAtStartupSelectorDestroyed ()
 
void updateFavoritesFilter (bool bSet)
 
- Protected Slots inherited from KviOptionsWidget
void childOptionsWidgetDestroyed ()
 

Protected Attributes

bool m_bShowingFavoritesOnly
 
KviIrcServerm_pClipboard
 
QPushButton * m_pConnectCurrent
 
QPushButton * m_pConnectNew
 
QMenu * m_pContextPopup
 
QToolButton * m_pCopyServerButton
 
QPushButton * m_pDetailsButton
 
QToolButton * m_pFavoriteServer
 
QToolButton * m_pFavoriteServerButton
 
QLineEdit * m_pFilterEdit
 
QLabel * m_pFilterLabel
 
QToolButton * m_pImportButton
 
KviMexServerImportm_pImportFilter
 
QMenu * m_pImportPopup
 
IrcServerOptionsTreeWidgetItemm_pLastEditedItem
 
IrcNetworkDetailsWidgetm_pNetworkDetailsDialog
 
QToolButton * m_pNewNetworkButton
 
QToolButton * m_pNewServerButton
 
QToolButton * m_pPasteServerButton
 
QMenu * m_pRecentPopup
 
QToolButton * m_pRemoveButton
 
IrcServerDetailsWidgetm_pServerDetailsDialog
 
KviBoolSelectorm_pShowFavoritesOnly
 
QToolButton * m_pShowFavoritesOnlyButton
 
KviBoolSelectorm_pShowThisDialogAtStartupSelector
 
QLineEdit * m_pSrvNetEdit
 
QLabel * m_pSrvNetLabel
 
QTreeWidget * m_pTreeWidget
 

Private Member Functions

void fillServerList ()
 
IrcServerOptionsTreeWidgetItemfindNetItem (const QString &netname)
 
void saveLastItem ()
 
void selectBestServerByUrl (const QString &szUrl)
 

Additional Inherited Members

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

Constructor & Destructor Documentation

OptionsWidget_servers::OptionsWidget_servers ( QWidget *  parent)

References __tr2qs_ctx(), KviTalToolTip::add(), KviOptionsWidget::addBoolSelector(), KviOptionsWidget::addGroupBox(), KviOptionsWidget::addWidgetToLayout(), connect(), connectCurrentClicked(), KviIconManager::Copy, copyServer(), KviOptionsWidget::createLayout(), currentItemChanged(), customContextMenuRequested(), detailsClicked(), f, KviIconManager::FavoriteOff, favoriteServer(), fillServerList(), filterTextEdited(), KviIconManager::Folder, g_pIconManager, KviIconManager::getSmallIcon(), KviIconManager::History, importPopupAboutToShow(), importPopupActivated(), itemDoubleClicked(), KVI_OPTION_BOOL, KviOption_boolShowFavoriteServersOnly, KviOption_boolShowServersConnectDialogOnStart, KviOptionsWidget::layout(), m_bShowingFavoritesOnly, m_pClipboard, m_pConnectCurrent, m_pContextPopup, m_pCopyServerButton, m_pDetailsButton, m_pFavoriteServerButton, m_pFilterEdit, m_pFilterLabel, m_pImportButton, m_pImportFilter, m_pImportPopup, m_pLastEditedItem, m_pNetworkDetailsDialog, m_pNewNetworkButton, m_pNewServerButton, m_pPasteServerButton, m_pRecentPopup, m_pRemoveButton, m_pServerDetailsDialog, m_pShowFavoritesOnlyButton, m_pShowThisDialogAtStartupSelector, m_pSrvNetEdit, m_pSrvNetLabel, m_pTreeWidget, newNetwork(), KviIconManager::NewNetwork, newServer(), KviIconManager::NewServer, KviIconManager::Paste, pasteServer(), recentServersPopupAboutToShow(), recentServersPopupClicked(), KviIconManager::Remove, removeCurrent(), KviIconManager::ServerFavorite, serverNetworkEditTextEdited(), OptionsWidgetContainer::setLeftCornerWidget(), slotShowThisDialogAtStartupSelectorDestroyed(), and updateFavoritesFilter().

OptionsWidget_servers::~OptionsWidget_servers ( )

Member Function Documentation

void OptionsWidget_servers::clearList ( )
protectedslot
void OptionsWidget_servers::commit ( void  )
virtual
void OptionsWidget_servers::connectCurrentClicked ( )
protectedslot
void OptionsWidget_servers::copyServer ( )
protectedslot
void OptionsWidget_servers::currentItemChanged ( QTreeWidgetItem *  cur,
QTreeWidgetItem *  prev 
)
protectedslot
void OptionsWidget_servers::customContextMenuRequested ( const QPoint &  pnt)
protectedslot
void OptionsWidget_servers::detailsClicked ( )
protectedslot
void OptionsWidget_servers::favoriteServer ( )
protectedslot
void OptionsWidget_servers::fillServerList ( )
private
void OptionsWidget_servers::filterTextEdited ( const QString &  szNewText)
protectedslot
IrcServerOptionsTreeWidgetItem * OptionsWidget_servers::findNetItem ( const QString &  netname)
private

References KviQString::equalCI(), i, and m_pTreeWidget.

Referenced by importServer().

void OptionsWidget_servers::importerDead ( )
protectedslot

References m_pImportFilter.

Referenced by importPopupActivated().

void OptionsWidget_servers::importPopupAboutToShow ( )
protectedslot
void OptionsWidget_servers::importPopupActivated ( QAction *  pAction)
protectedslot
void OptionsWidget_servers::importServer ( const KviIrcServer s,
const QString &  network 
)
protectedslot
void OptionsWidget_servers::itemDoubleClicked ( QTreeWidgetItem *  ,
int   
)
protectedslot

References detailsClicked().

Referenced by OptionsWidget_servers().

void OptionsWidget_servers::newNetwork ( )
protectedslot
void OptionsWidget_servers::newServer ( )
protectedslot
void OptionsWidget_servers::pasteServer ( )
protectedslot
void OptionsWidget_servers::recentServersPopupAboutToShow ( )
protectedslot
void OptionsWidget_servers::recentServersPopupClicked ( QAction *  pAction)
protectedslot
void OptionsWidget_servers::removeCurrent ( )
protectedslot
void OptionsWidget_servers::saveLastItem ( )
private
void OptionsWidget_servers::selectBestServerByUrl ( const QString &  szUrl)
private
void OptionsWidget_servers::serverNetworkEditTextEdited ( const QString &  szNewText)
protectedslot
void OptionsWidget_servers::slotShowThisDialogAtStartupSelectorDestroyed ( )
protectedslot
void OptionsWidget_servers::updateFavoritesFilter ( bool  bSet)
protectedslot

Member Data Documentation

bool OptionsWidget_servers::m_bShowingFavoritesOnly
protected
KviIrcServer* OptionsWidget_servers::m_pClipboard
protected
QPushButton* OptionsWidget_servers::m_pConnectCurrent
protected
QPushButton* OptionsWidget_servers::m_pConnectNew
protected
QMenu* OptionsWidget_servers::m_pContextPopup
protected
QToolButton* OptionsWidget_servers::m_pCopyServerButton
protected
QPushButton* OptionsWidget_servers::m_pDetailsButton
protected
QToolButton* OptionsWidget_servers::m_pFavoriteServer
protected
QToolButton* OptionsWidget_servers::m_pFavoriteServerButton
protected
QLineEdit* OptionsWidget_servers::m_pFilterEdit
protected
QLabel* OptionsWidget_servers::m_pFilterLabel
protected

Referenced by OptionsWidget_servers().

QToolButton* OptionsWidget_servers::m_pImportButton
protected

Referenced by OptionsWidget_servers().

KviMexServerImport* OptionsWidget_servers::m_pImportFilter
protected
QMenu* OptionsWidget_servers::m_pImportPopup
protected
IrcServerOptionsTreeWidgetItem* OptionsWidget_servers::m_pLastEditedItem
protected
IrcNetworkDetailsWidget* OptionsWidget_servers::m_pNetworkDetailsDialog
protected
QToolButton* OptionsWidget_servers::m_pNewNetworkButton
protected

Referenced by OptionsWidget_servers().

QToolButton* OptionsWidget_servers::m_pNewServerButton
protected

Referenced by OptionsWidget_servers().

QToolButton* OptionsWidget_servers::m_pPasteServerButton
protected
QMenu* OptionsWidget_servers::m_pRecentPopup
protected
QToolButton* OptionsWidget_servers::m_pRemoveButton
protected
IrcServerDetailsWidget* OptionsWidget_servers::m_pServerDetailsDialog
protected
KviBoolSelector* OptionsWidget_servers::m_pShowFavoritesOnly
protected
QToolButton* OptionsWidget_servers::m_pShowFavoritesOnlyButton
protected
KviBoolSelector* OptionsWidget_servers::m_pShowThisDialogAtStartupSelector
protected
QLineEdit* OptionsWidget_servers::m_pSrvNetEdit
protected
QLabel* OptionsWidget_servers::m_pSrvNetLabel
protected
QTreeWidget* OptionsWidget_servers::m_pTreeWidget
protected

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