![]() |
KVIrc 5.2.6
Developer APIs
|
#include <OptionsWidget_servers.h>
Public Member Functions | |
virtual void | commit () |
OptionsWidget_servers (QWidget *parent) | |
~OptionsWidget_servers () | |
![]() | |
KviBoolSelector * | addBoolSelector (int x1, int y1, int x2, int y2, const QString &txt, bool *pOption, bool bEnabled=true) |
KviBoolSelector * | addBoolSelector (int x1, int y1, int x2, int y2, const QString &txt, int optId, bool bEnabled=true) |
KviBoolSelector * | addBoolSelector (QWidget *pParent, const QString &txt, bool *pOption, bool bEnabled=true) |
KviBoolSelector * | addBoolSelector (QWidget *pParnt, const QString &txt, int optId, bool bEnabled=true) |
KviColorSelector * | addColorSelector (int x1, int y1, int x2, int y2, const QString &txt, int optId, bool bEnabled=true) |
KviColorSelector * | addColorSelector (int x1, int y1, int x2, int y2, const QString &txt, QColor *pOption, bool bEnabled=true) |
KviColorSelector * | addColorSelector (QWidget *pParent, const QString &txt, int optId, bool bEnabled=true) |
KviColorSelector * | addColorSelector (QWidget *pParent, const QString &txt, QColor *pOption, bool bEnabled=true) |
KviDirectorySelector * | addDirectorySelector (int x1, int y1, int x2, int y2, const QString &txt, int optId, bool bEnabled=true) |
KviDirectorySelector * | addDirectorySelector (int x1, int y1, int x2, int y2, const QString &txt, QString *pOption, bool bEnabled=true) |
KviDirectorySelector * | addDirectorySelector (QWidget *pParent, const QString &txt, int optId, bool bEnabled=true) |
KviDirectorySelector * | addDirectorySelector (QWidget *pParent, const QString &txt, QString *pOption, bool bEnabled=true) |
KviFileSelector * | addFileSelector (int x1, int y1, int x2, int y2, const QString &txt, int optId, bool bEnabled=true) |
KviFileSelector * | addFileSelector (int x1, int y1, int x2, int y2, const QString &txt, QString *pOption, bool bEnabled=true) |
KviFileSelector * | addFileSelector (QWidget *pParent, const QString &txt, int optId, bool bEnabled=true) |
KviFileSelector * | addFileSelector (QWidget *pParent, const QString &txt, QString *pOption, bool bEnabled=true) |
KviFontSelector * | addFontSelector (int x1, int y1, int x2, int y2, const QString &txt, int optId, bool bEnabled=true) |
KviFontSelector * | addFontSelector (int x1, int y1, int x2, int y2, const QString &txt, QFont *pOption, bool bEnabled=true) |
KviFontSelector * | addFontSelector (QWidget *pParent, const QString &txt, int optId, bool bEnabled=true) |
KviFontSelector * | addFontSelector (QWidget *pParent, const QString &txt, QFont *pOption, bool bEnabled=true) |
KviTalGroupBox * | addGroupBox (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) |
KviMircTextColorSelector * | addMircTextColorSelector (int x1, int y1, int x2, int y2, const QString &txt, int optForeId, int optBackId, bool bEnabled=true) |
KviMircTextColorSelector * | addMircTextColorSelector (int x1, int y1, int x2, int y2, const QString &txt, unsigned int *uFore, unsigned int *uBack, bool bEnabled=true) |
KviMircTextColorSelector * | addMircTextColorSelector (QWidget *pParent, const QString &txt, int optForeId, int optBackId, bool bEnabled=true) |
KviMircTextColorSelector * | addMircTextColorSelector (QWidget *pParent, const QString &txt, unsigned int *uFore, unsigned int *uBack, bool bEnabled=true) |
void | addOptionsWidget (const QString &szText, const QIcon &iconSet, KviOptionsWidget *pWidget) |
KviPasswordSelector * | addPasswordSelector (int x1, int y1, int x2, int y2, const QString &txt, int optId, bool bEnabled=true) |
KviPasswordSelector * | addPasswordSelector (int x1, int y1, int x2, int y2, const QString &txt, QString *pOption, bool bEnabled=true) |
KviPasswordSelector * | addPasswordSelector (QWidget *pParent, const QString &txt, int optId, bool bEnabled=true) |
KviPasswordSelector * | addPasswordSelector (QWidget *pParent, const QString &txt, QString *pOption, bool bEnabled=true) |
KviPixmapSelector * | addPixmapSelector (int x1, int y1, int x2, int y2, const QString &txt, int optId, bool bEnabled=true) |
KviPixmapSelector * | addPixmapSelector (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) |
KviSoundSelector * | addSoundSelector (int x1, int y1, int x2, int y2, const QString &txt, int optId, bool bEnabled=true) |
KviSoundSelector * | addSoundSelector (int x1, int y1, int x2, int y2, const QString &txt, QString *pOption, bool bEnabled=true) |
KviSoundSelector * | addSoundSelector (QWidget *pParent, const QString &txt, int optId, bool bEnabled=true) |
KviSoundSelector * | addSoundSelector (QWidget *pParent, const QString &txt, QString *pOption, bool bEnabled=true) |
KviStringListSelector * | addStringListSelector (int x1, int y1, int x2, int y2, const QString &txt, int optId, bool bEnabled=true) |
KviStringListSelector * | addStringListSelector (int x1, int y1, int x2, int y2, const QString &txt, QStringList *pOption, bool bEnabled=true) |
KviStringSelector * | addStringSelector (int x1, int y1, int x2, int y2, const QString &txt, int optId, bool bEnabled=true) |
KviStringSelector * | addStringSelector (int x1, int y1, int x2, int y2, const QString &txt, QString *pOption, bool bEnabled=true) |
KviStringSelector * | addStringSelector (QWidget *pParent, const QString &txt, int optId, bool bEnabled=true) |
KviStringSelector * | addStringSelector (QWidget *pParent, const QString &txt, QString *pOption, bool bEnabled=true) |
KviUIntSelector * | addUIntSelector (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) |
KviUIntSelector * | addUIntSelector (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) |
KviUIntSelector * | addUIntSelector (QWidget *pParent, const QString &txt, int optId, unsigned int uLowBound, unsigned int uHighBound, unsigned int uDefault, bool bEnabled=true) |
KviUIntSelector * | addUIntSelector (QWidget *pParent, const QString &txt, unsigned int *pOption, unsigned int uLowBound, unsigned int uHighBound, unsigned int uDefault, bool bEnabled=true) |
KviUIntSelector * | addUShortIntSelector (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) |
void | childEvent (QChildEvent *e) override |
void | createLayout () |
void | createTabbedPage () |
bool | eventFilter (QObject *watched, QEvent *e) override |
KviOptionsWidget (QWidget *parent, const char *name=nullptr, 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 () | |
![]() | |
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 | 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 | updateFilter () |
![]() | |
void | childOptionsWidgetDestroyed () |
Protected Attributes | |
bool | m_bShowingFavoritesOnly |
KviIrcServer * | m_pClipboard |
QPushButton * | m_pConnectCurrent |
QMenu * | m_pContextPopup |
QToolButton * | m_pCopyServerButton |
QPushButton * | m_pDetailsButton |
QToolButton * | m_pFavoriteServerButton |
QLineEdit * | m_pFilterEdit |
QLabel * | m_pFilterLabel |
QToolButton * | m_pImportButton |
KviMexServerImport * | m_pImportFilter |
QMenu * | m_pImportPopup |
IrcServerOptionsTreeWidgetItem * | m_pLastEditedItem |
IrcNetworkDetailsWidget * | m_pNetworkDetailsDialog |
QToolButton * | m_pNewNetworkButton |
QToolButton * | m_pNewServerButton |
QToolButton * | m_pPasteServerButton |
QMenu * | m_pRecentPopup |
QToolButton * | m_pRemoveButton |
IrcServerDetailsWidget * | m_pServerDetailsDialog |
QToolButton * | m_pShowFavoritesOnlyButton |
KviBoolSelector * | m_pShowThisDialogAtStartupSelector |
QLineEdit * | m_pSrvNetEdit |
QLabel * | m_pSrvNetLabel |
QTreeWidget * | m_pTreeWidget |
Private Member Functions | |
void | fillServerList () |
IrcServerOptionsTreeWidgetItem * | findNetItem (const QString &netname) |
void | saveLastItem () |
void | selectBestServerByUrl (const QString &szUrl) |
Additional Inherited Members | |
![]() | |
void | commitOptionsReset () |
void | commitSelectors () |
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(), KviIconManager::Folder, g_pIconManager, KviIconManager::History, importPopupAboutToShow(), importPopupActivated(), itemDoubleClicked(), KVI_OPTION_BOOL, KviOption_boolShowFavoriteServersOnly, KviOption_boolShowServersConnectDialogOnStart, KviOptionsWidget::KviOptionsWidget(), KviOptionsWidget::layout(), 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, KviIconManager::NewNetwork, newNetwork(), KviIconManager::NewServer, newServer(), KviIconManager::Paste, pasteServer(), recentServersPopupAboutToShow(), recentServersPopupClicked(), KviIconManager::Remove, removeCurrent(), KviIconManager::ServerFavorite, serverNetworkEditTextEdited(), OptionsWidgetContainer::setLeftCornerWidget(), KviTalVBox::setSpacing(), KviTalVBox::setStretchFactor(), slotShowThisDialogAtStartupSelectorDestroyed(), and updateFilter().
OptionsWidget_servers::~OptionsWidget_servers | ( | ) |
References m_pClipboard, m_pImportFilter, m_pNetworkDetailsDialog, and m_pServerDetailsDialog.
|
protectedslot |
References __tr2qs_ctx, currentItemChanged(), m_pLastEditedItem, and m_pTreeWidget.
Referenced by customContextMenuRequested().
|
virtual |
Reimplemented from KviOptionsWidget.
References KviOptionsWidget::commit(), KviIrcNetwork::copyFrom(), KviIrcNetwork::findServer(), g_pApp, g_pServerDataBase, KviIrcServer::generateUniqueId(), KviIrcServer::hostName(), i, KviIrcServer::id(), KviIrcNetwork::insertServer(), j, KVI_OPTION_BOOL, KviOption_boolShowFavoriteServersOnly, m_pLastEditedItem, IrcServerOptionsTreeWidgetItem::m_pNetworkData, IrcServerOptionsTreeWidgetItem::m_pServerData, m_pShowFavoritesOnlyButton, m_pTreeWidget, KviIrcNetwork::name(), saveLastItem(), and KviIrcNetwork::setCurrentServer().
Referenced by connectCurrentClicked().
|
protectedslot |
References commit(), g_pApp, KviCString::isEmpty(), m_pSrvNetEdit, KviKvsScript::run(), and saveLastItem().
Referenced by OptionsWidget_servers().
|
protectedslot |
References m_pClipboard, m_pLastEditedItem, and m_pPasteServerButton.
Referenced by customContextMenuRequested(), and OptionsWidget_servers().
|
protectedslot |
References __tr2qs_ctx, m_pConnectCurrent, m_pCopyServerButton, m_pDetailsButton, m_pFavoriteServerButton, m_pLastEditedItem, m_pRemoveButton, m_pSrvNetEdit, m_pSrvNetLabel, and saveLastItem().
Referenced by clearList(), and OptionsWidget_servers().
|
protectedslot |
References __tr2qs_ctx, clearList(), KviIconManager::Copy, copyServer(), KviIrcServer::favorite(), favoriteServer(), KviIconManager::Folder, g_pIconManager, m_pClipboard, m_pContextPopup, m_pImportPopup, IrcServerOptionsTreeWidgetItem::m_pServerData, m_pTreeWidget, KviIconManager::NewNetwork, newNetwork(), KviIconManager::NewServer, newServer(), KviIconManager::Paste, pasteServer(), KviIconManager::Remove, removeCurrent(), and KviIconManager::ServerFavorite.
Referenced by OptionsWidget_servers().
|
protectedslot |
References m_pLastEditedItem, m_pNetworkDetailsDialog, m_pServerDetailsDialog, and saveLastItem().
Referenced by itemDoubleClicked(), and OptionsWidget_servers().
|
protectedslot |
References g_pIconManager, m_bShowingFavoritesOnly, m_pLastEditedItem, KviIconManager::Server, KviIconManager::ServerFavorite, and updateFilter().
Referenced by customContextMenuRequested(), and OptionsWidget_servers().
|
private |
References KviPointerHashTableIterator< Key, T >::current(), KviPointerList< T >::first(), g_pIconManager, g_pServerDataBase, m_pConnectCurrent, m_pTreeWidget, KviPointerList< T >::next(), r, s, KviIconManager::Server, KviIconManager::ServerFavorite, and KviIconManager::World.
Referenced by OptionsWidget_servers().
|
private |
References KviQString::equalCI(), i, and m_pTreeWidget.
Referenced by importServer().
|
protectedslot |
References m_pImportFilter.
Referenced by importPopupActivated().
|
protectedslot |
References d, g_pModuleManager, KviModuleExtensionManager::getExtensionList(), KviModuleExtensionManager::instance(), l, and m_pImportPopup.
Referenced by OptionsWidget_servers().
|
protectedslot |
|
protectedslot |
References d, KviQString::equalCI(), findNetItem(), g_pIconManager, KviIrcServer::hostName(), i, KviIrcServer::isIPv6(), IrcServerOptionsTreeWidgetItem::m_pServerData, m_pTreeWidget, newServer(), s, KviIconManager::Server, KviIrcServer::setIp(), KviIrcServer::setNickName(), KviIrcServer::setPassword(), KviIrcServer::setPort(), and KviIconManager::World.
Referenced by importPopupActivated().
|
protectedslot |
References detailsClicked().
Referenced by OptionsWidget_servers().
|
protectedslot |
References __tr2qs_ctx, d, g_pIconManager, m_pTreeWidget, and KviIconManager::World.
Referenced by customContextMenuRequested(), and OptionsWidget_servers().
|
protectedslot |
|
protectedslot |
|
protectedslot |
References __tr2qs, g_pApp, g_pIconManager, m_pRecentPopup, and KviIconManager::Remove.
Referenced by OptionsWidget_servers().
|
protectedslot |
References __tr2qs, g_pActiveWindow, KviKvsScript::run(), and selectBestServerByUrl().
Referenced by OptionsWidget_servers().
|
protectedslot |
References m_pLastEditedItem, and m_pTreeWidget.
Referenced by customContextMenuRequested(), and OptionsWidget_servers().
|
private |
References __tr2qs_ctx, m_pLastEditedItem, and m_pSrvNetEdit.
Referenced by commit(), connectCurrentClicked(), currentItemChanged(), detailsClicked(), and serverNetworkEditTextEdited().
|
private |
References KviIrcUrlParts::bIPv6, KviIrcUrlParts::bSsl, KviIrcServer::hostName(), KviIrcUrlParts::iPort, KviIrcServer::isIPv6(), m_pTreeWidget, KviIrcServer::port(), IrcServerOptionsTreeWidgetItem::serverData(), KviIrcUrl::split(), KviIrcUrlParts::szHost, szUrl, and KviIrcServer::useSSL().
Referenced by recentServersPopupClicked().
|
protectedslot |
References m_pLastEditedItem, m_pTreeWidget, and saveLastItem().
Referenced by OptionsWidget_servers().
|
protectedslot |
References KVI_ASSERT, m_pShowThisDialogAtStartupSelector, and KviOptionsWidget::removeSelector().
Referenced by OptionsWidget_servers().
|
protectedslot |
References KviIrcNetwork::description(), KviIrcServer::description(), KviIconManager::Favorite, KviIrcServer::favorite(), KviIconManager::FavoriteOff, g_pIconManager, KviIrcServer::hostName(), i, j, m_bShowingFavoritesOnly, m_pFilterEdit, IrcServerOptionsTreeWidgetItem::m_pNetworkData, IrcServerOptionsTreeWidgetItem::m_pServerData, m_pShowFavoritesOnlyButton, m_pTreeWidget, and KviIrcNetwork::name().
Referenced by favoriteServer(), and OptionsWidget_servers().
|
protected |
Referenced by favoriteServer(), and updateFilter().
|
protected |
Referenced by copyServer(), customContextMenuRequested(), OptionsWidget_servers(), pasteServer(), and ~OptionsWidget_servers().
|
protected |
Referenced by currentItemChanged(), fillServerList(), and OptionsWidget_servers().
|
protected |
Referenced by customContextMenuRequested(), and OptionsWidget_servers().
|
protected |
Referenced by currentItemChanged(), and OptionsWidget_servers().
|
protected |
Referenced by currentItemChanged(), and OptionsWidget_servers().
|
protected |
Referenced by currentItemChanged(), and OptionsWidget_servers().
|
protected |
Referenced by OptionsWidget_servers(), and updateFilter().
|
protected |
Referenced by OptionsWidget_servers().
|
protected |
Referenced by OptionsWidget_servers().
|
protected |
Referenced by importerDead(), importPopupActivated(), OptionsWidget_servers(), and ~OptionsWidget_servers().
|
protected |
Referenced by customContextMenuRequested(), importPopupAboutToShow(), and OptionsWidget_servers().
|
protected |
|
protected |
Referenced by detailsClicked(), OptionsWidget_servers(), and ~OptionsWidget_servers().
|
protected |
Referenced by OptionsWidget_servers().
|
protected |
Referenced by OptionsWidget_servers().
|
protected |
Referenced by copyServer(), and OptionsWidget_servers().
|
protected |
Referenced by OptionsWidget_servers(), and recentServersPopupAboutToShow().
|
protected |
Referenced by currentItemChanged(), and OptionsWidget_servers().
|
protected |
Referenced by detailsClicked(), OptionsWidget_servers(), and ~OptionsWidget_servers().
|
protected |
Referenced by commit(), OptionsWidget_servers(), and updateFilter().
|
protected |
Referenced by OptionsWidget_servers(), and slotShowThisDialogAtStartupSelectorDestroyed().
|
protected |
Referenced by connectCurrentClicked(), currentItemChanged(), OptionsWidget_servers(), and saveLastItem().
|
protected |
Referenced by currentItemChanged(), and OptionsWidget_servers().
|
protected |