#include <ThemeManagementDialog.h>
ThemeManagementDialog::ThemeManagementDialog |
( |
QWidget * |
parent | ) |
|
References __tr2qs, __tr2qs_ctx(), applyTheme(), closeClicked(), connect(), contextMenuRequested(), deleteTheme(), enableDisableButtons(), fillThemeBox(), g_pApp, g_pIconManager, g_pMainWindow, g_rectManagementDialogGeometry, KviIconManager::getBigIcon(), getMoreThemes(), KviIconManager::getSmallIcon(), installFromFile(), KVI_BIGICON_OPEN, KVI_BIGICON_PACK, KVI_BIGICON_REMOVE, KVI_BIGICON_SAVE, KVI_BIGICON_THEME, KVI_BIGICON_WWW, KVI_OPTION_STRING, KviOption_stringIconThemeSubdir, m_pContextPopup, m_pCurrentInstalledThemeLabel, m_pDeleteThemeButton, m_pInstance, m_pItemDelegate, m_pListWidget, m_pPackThemeButton, KviMemory::move(), packTheme(), saveCurrentTheme(), KviTalIconAndRichTextItemDelegate::setDefaultIcon(), KviTalIconAndRichTextItemDelegate::setIconSize(), KviTalHBox::setMargin(), KviTalIconAndRichTextItemDelegate::setMinimumSize(), KviTalHBox::setSpacing(), KviIconManager::Theme, and w.
Referenced by display().
ThemeManagementDialog::~ThemeManagementDialog |
( |
| ) |
|
|
virtual |
void ThemeManagementDialog::applyCurrentTheme |
( |
| ) |
|
|
protectedslot |
References __tr2qs_ctx(), KviTheme::apply(), g_pIconManager, KviIconManager::getBigIcon(), KVI_BIGICON_THEME, KVI_OPTION_STRING, KviOption_stringIconThemeSubdir, KviThemeInfo::lastError(), KviThemeInfo::location(), m_pCurrentInstalledThemeLabel, m_pItemDelegate, m_pListWidget, KviThemeInfo::name(), KviTalIconAndRichTextItemDelegate::setDefaultIcon(), KviThemeInfo::subdirectory(), ThemeListWidgetItem::themeInfo(), KviThemeInfo::version(), and KviMessageBox::yesNo().
Referenced by applyTheme(), and contextMenuRequested().
void ThemeManagementDialog::applyTheme |
( |
QListWidgetItem * |
it | ) |
|
|
protectedslot |
void ThemeManagementDialog::cleanup |
( |
| ) |
|
|
static |
void ThemeManagementDialog::closeClicked |
( |
| ) |
|
|
protectedslot |
void ThemeManagementDialog::closeEvent |
( |
QCloseEvent * |
e | ) |
|
|
protectedvirtual |
void ThemeManagementDialog::contextMenuRequested |
( |
const QPoint & |
pos | ) |
|
|
protectedslot |
References __tr2qs_ctx(), KviIconManager::Accept, applyCurrentTheme(), deleteTheme(), KviIconManager::Discard, g_pIconManager, KviIconManager::getSmallIcon(), KviThemeInfo::isBuiltin(), m_pContextPopup, m_pListWidget, and ThemeListWidgetItem::themeInfo().
Referenced by ThemeManagementDialog().
void ThemeManagementDialog::deleteTheme |
( |
| ) |
|
|
protectedslot |
References __tr2qs_ctx(), KviFileUtils::deleteDir(), KviThemeInfo::directory(), fillThemeBox(), i, KviThemeInfo::isBuiltin(), m_pListWidget, KviThemeInfo::name(), ThemeListWidgetItem::themeInfo(), KviThemeInfo::version(), and KviMessageBox::yesNo().
Referenced by contextMenuRequested(), and ThemeManagementDialog().
void ThemeManagementDialog::display |
( |
bool |
bTopLevel | ) |
|
|
static |
void ThemeManagementDialog::enableDisableButtons |
( |
| ) |
|
|
protectedslot |
void ThemeManagementDialog::fillThemeBox |
( |
bool |
bBuiltin | ) |
|
|
protected |
void ThemeManagementDialog::fillThemeBox |
( |
| ) |
|
|
protectedslot |
void ThemeManagementDialog::getMoreThemes |
( |
| ) |
|
|
protectedslot |
void ThemeManagementDialog::installFromFile |
( |
| ) |
|
|
protectedslot |
void ThemeManagementDialog::packTheme |
( |
| ) |
|
|
protectedslot |
void ThemeManagementDialog::saveCurrentTheme |
( |
| ) |
|
|
protectedslot |
void ThemeManagementDialog::tipRequest |
( |
QListWidgetItem * |
pItem, |
|
|
const QPoint & |
pnt |
|
) |
| |
|
protectedslot |
void ThemeManagementDialog::webThemeInterfaceDialogDestroyed |
( |
| ) |
|
|
protectedslot |
QMenu* ThemeManagementDialog::m_pContextPopup |
|
protected |
QLabel* ThemeManagementDialog::m_pCurrentInstalledThemeLabel |
|
protected |
QToolButton* ThemeManagementDialog::m_pDeleteThemeButton |
|
protected |
QToolButton* ThemeManagementDialog::m_pPackThemeButton |
|
protected |
The documentation for this class was generated from the following files: