KVIrc  4.9.2
DeveloperAPIs
Classes | Macros | Variables
KviIconManager.h File Reference

Icon manager. More...

#include "kvi_settings.h"
#include "KviCString.h"
#include "KviAvatar.h"
#include "KviTimeUtils.h"
#include "KviPointerHashTable.h"
#include <QPixmap>
#include <QObject>
#include <QWidget>

Go to the source code of this file.

Classes

class  KviCachedPixmap
 Class for holding a cached pixmap. More...
 
class  KviIconManager
 This class manages the images used by KVIrc. More...
 
class  KviIconWidget
 The widget with holds the table of icons. More...
 

Macros

#define KVI_ACTIVITYMETER_IMAGE_NAME   "kvi_activitymeter.png"
 
#define KVI_BIGICON_ACTIONS   "kvi_bigicon_actions.png"
 
#define KVI_BIGICON_ADDONS   "kvi_bigicon_addons.png"
 
#define KVI_BIGICON_CONNECTED   "kvi_bigicon_connected.png"
 
#define KVI_BIGICON_CONNECTING   "kvi_bigicon_connecting.png"
 
#define KVI_BIGICON_DISCONNECTED   "kvi_bigicon_disconnected.png"
 
#define KVI_BIGICON_FOLDER   "kvi_bigicon_folder.png"
 
#define KVI_BIGICON_HELP   "kvi_bigicon_help.png"
 
#define KVI_BIGICON_HELPBACK   "kvi_bigicon_helpback.png"
 
#define KVI_BIGICON_HELPCLOSE   "kvi_bigicon_helpclose.png"
 
#define KVI_BIGICON_HELPFORWARD   "kvi_bigicon_helpforward.png"
 
#define KVI_BIGICON_HELPINDEX   "kvi_bigicon_helpindex.png"
 
#define KVI_BIGICON_HELPSEARCH   "kvi_bigicon_helpsearch.png"
 
#define KVI_BIGICON_KVS   "kvi_bigicon_kvs.png"
 
#define KVI_BIGICON_OPEN   "kvi_bigicon_open.png"
 
#define KVI_BIGICON_PACK   "kvi_bigicon_pack.png"
 
#define KVI_BIGICON_REGUSERS   "kvi_bigicon_regusers.png"
 
#define KVI_BIGICON_REMOVE   "kvi_bigicon_remove.png"
 
#define KVI_BIGICON_SAVE   "kvi_bigicon_save.png"
 
#define KVI_BIGICON_SCREENSHOT   "kvi_bigicon_screenshot.png"
 
#define KVI_BIGICON_SEPARATOR   "kvi_bigicon_separator.png"
 
#define KVI_BIGICON_THEME   "kvi_bigicon_theme.png"
 
#define KVI_BIGICON_TOOLS   "kvi_bigicon_tools.png"
 
#define KVI_BIGICON_UNKNOWN   "kvi_bigicon_unknown.png"
 
#define KVI_BIGICON_USERACTION   "kvi_bigicon_useraction.png"
 
#define KVI_BIGICON_WWW   "kvi_bigicon_www.png"
 
#define KVI_REFRESH_IMAGE_NAME   "kvi_icon_refresh.png"
 
#define KVI_SMALLICONS_IMAGELIB_PREFIX   "kvi_smallicon_"
 
#define KVI_SMALLICONS_PREFIX   "kcs_"
 
#define KVI_SMALLICONS_SUBDIRECTORY   "coresmall"
 
#define KVI_USERCHANSTATE_IMAGE_NAME   "kvi_userchanstate.png"
 

Variables

KVIRC_API KviIconManagerg_pIconManager
 
class KVIRC_API KviIconWidget
 

Detailed Description

Icon manager.

Author
Szymon Stefanek

Macro Definition Documentation

#define KVI_ACTIVITYMETER_IMAGE_NAME   "kvi_activitymeter.png"
#define KVI_BIGICON_ACTIONS   "kvi_bigicon_actions.png"
#define KVI_BIGICON_ADDONS   "kvi_bigicon_addons.png"
#define KVI_BIGICON_CONNECTED   "kvi_bigicon_connected.png"
#define KVI_BIGICON_CONNECTING   "kvi_bigicon_connecting.png"
#define KVI_BIGICON_DISCONNECTED   "kvi_bigicon_disconnected.png"
#define KVI_BIGICON_FOLDER   "kvi_bigicon_folder.png"
#define KVI_BIGICON_HELP   "kvi_bigicon_help.png"
#define KVI_BIGICON_HELPBACK   "kvi_bigicon_helpback.png"

Referenced by HelpWidget::HelpWidget().

#define KVI_BIGICON_HELPCLOSE   "kvi_bigicon_helpclose.png"

Referenced by HelpWidget::HelpWidget().

#define KVI_BIGICON_HELPFORWARD   "kvi_bigicon_helpforward.png"

Referenced by HelpWidget::HelpWidget().

#define KVI_BIGICON_HELPINDEX   "kvi_bigicon_helpindex.png"

Referenced by HelpWidget::HelpWidget().

#define KVI_BIGICON_HELPSEARCH   "kvi_bigicon_helpsearch.png"
#define KVI_BIGICON_KVS   "kvi_bigicon_kvs.png"

Referenced by KviKvsScriptAddon::icon().

#define KVI_BIGICON_OPEN   "kvi_bigicon_open.png"
#define KVI_BIGICON_PACK   "kvi_bigicon_pack.png"
#define KVI_BIGICON_REGUSERS   "kvi_bigicon_regusers.png"
#define KVI_BIGICON_REMOVE   "kvi_bigicon_remove.png"
#define KVI_BIGICON_SAVE   "kvi_bigicon_save.png"
#define KVI_BIGICON_SCREENSHOT   "kvi_bigicon_screenshot.png"
#define KVI_BIGICON_SEPARATOR   "kvi_bigicon_separator.png"
#define KVI_BIGICON_THEME   "kvi_bigicon_theme.png"
#define KVI_BIGICON_TOOLS   "kvi_bigicon_tools.png"
#define KVI_BIGICON_UNKNOWN   "kvi_bigicon_unknown.png"
#define KVI_BIGICON_USERACTION   "kvi_bigicon_useraction.png"

Referenced by ActionEditor::newAction().

#define KVI_BIGICON_WWW   "kvi_bigicon_www.png"
#define KVI_REFRESH_IMAGE_NAME   "kvi_icon_refresh.png"

Referenced by HelpWindow::HelpWindow().

#define KVI_SMALLICONS_IMAGELIB_PREFIX   "kvi_smallicon_"
#define KVI_SMALLICONS_PREFIX   "kcs_"
#define KVI_SMALLICONS_SUBDIRECTORY   "coresmall"
#define KVI_USERCHANSTATE_IMAGE_NAME   "kvi_userchanstate.png"

Variable Documentation

KVIRC_API KviIconManager* g_pIconManager

Referenced by ActionEditorTreeWidgetItem::ActionEditorTreeWidgetItem(), ActionEditorWindow::ActionEditorWindow(), KviConnectAction::activeContextStateChanged(), KviGoAwayAction::activeContextStateChanged(), EventEditor::addHandlerForCurrentEvent(), KviMaskEditor::addMask(), NotifierWindow::addMessage(), AddonManagementDialog::AddonManagementDialog(), KviConnectAction::addToCustomToolBar(), KviGoAwayAction::addToCustomToolBar(), KviGoAwayAction::addToPopupMenu(), AliasEditorTreeWidgetItem::AliasEditorTreeWidgetItem(), AliasEditorWindow::AliasEditorWindow(), ThemeManagementDialog::applyCurrentTheme(), KviInput::applyOptions(), avatar_kvs_cmd_set(), KviAction::bigIcon(), ChannelsJoinDialog::ChannelsJoinDialog(), KviConsoleWindow::checkDefaultAvatar(), OptionsWidget_identityAvatar::chooseAvatar(), OptionsWidget_textIcons::chooseFromFile(), ClassEditorTreeWidgetItem::ClassEditorTreeWidgetItem(), ClassEditorWindow::ClassEditorWindow(), ThemeManagementDialog::contextMenuRequested(), KviTopicWidget::contextPopupAboutToShow(), KviHtmlGenerator::convertToHtml(), LogViewWindow::createLog(), KviWindow::createToolButton(), OptionsWidget_proxy::customContextMenuRequested(), RawEditorWidget::customContextMenuRequested(), AliasEditorWidget::customContextMenuRequested(), SinglePopupEditor::customContextMenuRequested(), PopupEditorWidget::customContextMenuRequested(), OptionsWidget_servers::customContextMenuRequested(), ClassEditorWidget::customContextMenuRequested(), CustomizeToolBarsDialog::CustomizeToolBarsDialog(), CustomToolBarPropertiesDialog::CustomToolBarPropertiesDialog(), DccAcceptDialog::DccAcceptDialog(), DccRenameDialog::DccRenameDialog(), DccVoiceWindow::DccVoiceWindow(), SingleActionEditor::displayBigIcon(), SingleActionEditor::displaySmallIcon(), KviIrcView::doLinkToolTip(), KviIrcView::doMarkerToolTip(), KviKvsPopupMenuItemWithTextAndIcon::evaluateIcon(), EventEditorWindow::EventEditorWindow(), RegisteredUsersDialog::exportClicked(), OptionsWidget_servers::favoriteServer(), KviTrayIconWidget::fillContextPopup(), NotifierWindow::fillContextPopup(), ChannelsJoinDialog::fillListView(), OptionsWidget_proxy::fillProxyList(), KviApplication::fillRecentChannelsPopup(), KviApplication::fillRecentNicknamesPopup(), KviApplication::fillRecentServersPopup(), OptionsWidget_servers::fillServerList(), KviMainWindow::fillToolBarsPopup(), KviKvsObject::function_setProperty(), OptionsInstanceManager::getInstance(), KviImageDialog::heartbeat(), HelpWidget::HelpWidget(), HelpWindow::HelpWindow(), KviKvsScriptAddon::icon(), CustomToolBarPropertiesDialog::iconSelected(), OptionsWidget_servers::importServer(), HttpFileTransfer::init(), DccFileTransfer::init(), KviTextIconManager::insert(), AddonFunctions::installAddonPackage(), ThemeFunctions::installThemePackage(), IrcNetworkDetailsWidget::IrcNetworkDetailsWidget(), IrcServerDetailsWidget::IrcServerDetailsWidget(), OptionsWidget_messageColors::itemChanged(), EventEditor::itemPressed(), KviChannelWindow::KviChannelWindow(), KviClassicWindowListToolButton::KviClassicWindowListToolButton(), KviConsoleWindow::KviConsoleWindow(), KviCtcpPageDialog::KviCtcpPageDialog(), KviDefaultScriptDialog::KviDefaultScriptDialog(), KviFileDialog::KviFileDialog(), KviInput::KviInput(), KviIrcMessageCheckListItem::KviIrcMessageCheckListItem(), KviIrcView::KviIrcView(), KviIrcViewToolWidget::KviIrcViewToolWidget(), KviKvsCallbackMessageBox::KviKvsCallbackMessageBox(), KviKvsCallbackTextInput::KviKvsCallbackTextInput(), KviMainWindow::KviMainWindow(), KviMaskEditor::KviMaskEditor(), KviMaskInputDialog::KviMaskInputDialog(), KviModeEditor::KviModeEditor(), KviStatusBarAwayIndicator::KviStatusBarAwayIndicator(), KviStatusBarUpdateIndicator::KviStatusBarUpdateIndicator(), KviTrayIconWidget::KviTrayIconWidget(), KviWindowToolPageButton::KviWindowToolPageButton(), KviKvsCoreCallbackCommands::KVSCCC(), KviKvsCoreFunctions::KVSCF(), KviKvsCoreSimpleCommands::KVSCSC(), KVSO_CLASS_FUNCTION(), LinksWindow::LinksWindow(), ListWindow::ListWindow(), KviTextIconManager::load(), NotifierWindowBorder::loadImages(), LogListViewItemType::LogListViewItemType(), MenuTreeWidgetItem::MenuTreeWidgetItem(), MessageListWidgetItem::MessageListWidgetItem(), ChannelsJoinDialogTreeWidget::mousePressEvent(), SocketSpyWindow::myIconPtr(), KviKvsScriptWindowWindow::myIconPtr(), KviDebugWindow::myIconPtr(), UserWindow::myIconPtr(), CodeTesterWindow::myIconPtr(), KviIOGraphWindow::myIconPtr(), HelpWindow::myIconPtr(), UrlDialog::myIconPtr(), LinksWindow::myIconPtr(), DccChatWindow::myIconPtr(), SharedFilesWindow::myIconPtr(), KviConsoleWindow::myIconPtr(), FileTransferWindow::myIconPtr(), LogViewWindow::myIconPtr(), ListWindow::myIconPtr(), DccVoiceWindow::myIconPtr(), EventEditorWindow::myIconPtr(), DccVideoWindow::myIconPtr(), RawEditorWindow::myIconPtr(), AliasEditorWindow::myIconPtr(), ActionEditorWindow::myIconPtr(), PopupEditorWindow::myIconPtr(), KviQueryWindow::myIconPtr(), KviWindow::myIconPtr(), ClassEditorWindow::myIconPtr(), KviChannelWindow::myIconPtr(), OptionsWidget_messageColors::newIconSelected(), OptionsWidget_servers::newNetwork(), OptionsWidget_proxy::newProxy(), OptionsWidget_servers::newServer(), KviApplication::notifierMessage(), EventEditor::oneTimeSetup(), KviApplication::optionResetUpdate(), OptionsDialog::OptionsDialog(), OptionsDialogTreeWidgetItem::OptionsDialogTreeWidgetItem(), OptionsWidget_proxy::OptionsWidget_proxy(), OptionsWidget_servers::OptionsWidget_servers(), PackAddonDialog::PackAddonDialog(), PackThemeDialog::PackThemeDialog(), RegisteredUsersDialogItemDelegate::paint(), MessageListWidgetItemDelegate::paint(), KviIrcView::paintEvent(), KviUserListViewArea::paintEvent(), KviIrcServerParser::parseCtcpReplyAvatar(), OptionsWidget_servers::pasteServer(), KviTextIcon::pixmap(), KviJoinChannelAction::popupAboutToShow(), KviChangeNickAction::popupAboutToShow(), KviConnectToServerAction::popupAboutToShow(), KviChangeUserModeAction::popupAboutToShow(), PopupEditorWindow::PopupEditorWindow(), RawEditorWindow::RawEditorWindow(), OptionsWidget_servers::recentServersPopupAboutToShow(), KviConsoleWindow::recentUrlsChanged(), KviTrayIconWidget::refresh(), RegisteredUserEntryDialog::RegisteredUserEntryDialog(), RegisteredUserPropertiesDialog::RegisteredUserPropertiesDialog(), RegisteredUsersDialog::RegisteredUsersDialog(), RegistrationWizard::RegistrationWizard(), EventEditor::removeCurrentHandler(), KviConsoleWindow::resetAvatarForMatchingUsers(), LogViewWindow::rightButtonClicked(), KviTheme::save(), ScriptEditorImplementation::ScriptEditorImplementation(), StatusBarApplet::selfRegister(), KviStatusBarClock::selfRegister(), KviStatusBarConnectionTimer::selfRegister(), KviStatusBarAwayIndicator::selfRegister(), KviStatusBarLagIndicator::selfRegister(), KviStatusBarUpdateIndicator::selfRegister(), KviConsoleWindow::setAvatar(), KviInput::setButtonsHidden(), ClassEditorTreeWidgetItem::setClassNotBuilt(), RawTreeWidgetItem::setEnabled(), EventEditorHandlerTreeWidgetItem::setEnabled(), RawHandlerTreeWidgetItem::setEnabled(), PopupTreeWidgetItem::setIcon(), KviTextIcon::setId(), AliasEditorTreeWidgetItem::setType(), ClassEditorTreeWidgetItem::setType(), OptionsWidgetContainer::setup(), KviApplication::setup(), KviMenuBar::setupHelpPopup(), KviMenuBar::setupMainPopup(), KviMenuBar::setupScriptingPopup(), KviMenuBar::setupSettingsPopup(), KviMenuBar::setupToolsPopup(), SharedFileEditDialog::SharedFileEditDialog(), KviInputEditor::showContextPopup(), LinksWindow::showHostPopup(), KviIrcView::showToolsPopup(), KviAction::smallIcon(), AvatarDownloadDialog::startDownload(), KviTopicWidget::switchMode(), ThemeManagementDialog::ThemeManagementDialog(), TipWindow::TipWindow(), KviChannelWindow::toggleToolButtons(), TrashcanLabel::TrashcanLabel(), KviStatusBarAwayIndicator::updateDisplay(), KviStatusBarUpdateIndicator::updateDisplay(), OptionsWidget_servers::updateFavoritesFilter(), KviMenuBar::updateRecentServersPopup(), window_kvs_fnc_open(), and KviApplication::~KviApplication().