klettres
KLettres Class Reference
#include <klettres.h>

Detailed Description
Application Main Window.
- Version:
- 2.1
Definition at line 41 of file klettres.h.
Constructor & Destructor Documentation
| KLettres::KLettres | ( | ) |
| KLettres::~KLettres | ( | ) | [virtual] |
Member Function Documentation
generates icons for the special characters toolbar
- Parameters:
-
c the character that will be painted on the icon
Create a name and path for the icon
A font to draw the character with
Create the pixmap
Create transparency mask
Mask the pixmap
Save the icon to disk
Definition at line 459 of file klettres.cpp.
| void KLettres::loadLangToolBar | ( | ) | [protected] |
Set the correct buttons on the second toolbar according to the language.
Definition at line 398 of file klettres.cpp.
| bool KLettres::loadLayout | ( | QDomDocument & | layoutDocument | ) |
Load the xml file.
- Parameters:
-
layoutDocument the xml file
- Returns:
- bool true if the xml document is found and well formed, false otherwise
Definition at line 98 of file klettres.cpp.
| void KLettres::loadSettings | ( | ) | [protected, slot] |
| void KLettres::optionsPreferences | ( | ) | [protected, slot] |
| void KLettres::setupActions | ( | ) | [protected] |
| void KLettres::setupStatusbar | ( | ) | [protected] |
| void KLettres::setupToolbars | ( | ) | [protected] |
| void KLettres::slotChangeLanguage | ( | int | newIndex | ) | [slot] |
| void KLettres::slotChangeLevel | ( | int | newLevel | ) | [protected, slot] |
| void KLettres::slotChangeTheme | ( | int | index | ) | [protected, slot] |
| void KLettres::slotDownloadNewStuff | ( | ) | [protected, slot] |
| void KLettres::slotMenubar | ( | ) | [protected, slot] |
| void KLettres::slotModeGrownup | ( | ) | [protected, slot] |
| void KLettres::slotModeKid | ( | ) | [protected, slot] |
| void KLettres::slotPasteChar | ( | ) | [protected, slot] |
When a button is clicked on the characters toolbar, the corresponding character is written in the lineedit.
Definition at line 444 of file klettres.cpp.
| void KLettres::slotUpdateSettings | ( | ) | [protected, slot] |
| void KLettres::updateLevMenu | ( | int | id | ) | [protected] |
Update the level menu and level combobox.
- Parameters:
-
id The id of the new level
Definition at line 322 of file klettres.cpp.
Member Data Documentation
QStringList KLettres::allData [protected] |
All the special characters from a language file, these characters will be as buttons on the Special Characters Toolbar.
Definition at line 117 of file klettres.h.
KToggleAction* KLettres::m_grownupAction [protected] |
KToggleAction* KLettres::m_kidAction [protected] |
QLabel* KLettres::m_langLabel [protected] |
| KSelectAction* KLettres::m_languageAction |
Number corresponding to the selected language: 0 is Czech, 1 is Danish, 2 is English (default), 3 is French, 4 is Dutch, 5 is Slovak.
Action that sets up the Language menu
Definition at line 64 of file klettres.h.
KSelectAction* KLettres::m_levelAction [protected] |
QStringList KLettres::m_levelsNames [protected] |
QLabel* KLettres::m_levLabel [protected] |
KToolBar* KLettres::m_mainToolbar [protected] |
KToggleAction* KLettres::m_menubarAction [protected] |
Action that enables the ShowMenuBar item in the Settings menu.
Definition at line 74 of file klettres.h.
KSelectAction* KLettres::m_themeAction [protected] |
QStringList KLettres::m_themesNames [protected] |
KLettresView* KLettres::m_view [protected] |
bool KLettres::menuBool [protected] |
KLNewStuff* KLettres::mNewStuff [protected] |
KToolBar* KLettres::specialCharToolbar [protected] |
Second toolbar with buttons of special characters per language.
Definition at line 94 of file klettres.h.
The documentation for this class was generated from the following files:
KDE 4.1 API Reference