klettres
KLettres Class Reference
Application Main Window. More...
#include <klettres.h>

Detailed Description
Application Main Window.
- Version:
- 2.1
Definition at line 41 of file klettres.h.
Constructor & Destructor Documentation
| KLettres::KLettres | ( | ) |
Constructor.
Definition at line 74 of file klettres.cpp.
| KLettres::~KLettres | ( | ) | [virtual] |
Destructor.
Definition at line 97 of file klettres.cpp.
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 462 of file klettres.cpp.
| void KLettres::loadLangToolBar | ( | ) | [protected] |
Set the correct buttons on the second toolbar according to the language.
Definition at line 401 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 101 of file klettres.cpp.
| void KLettres::loadSettings | ( | ) | [protected, slot] |
Load the configuration settings and apply them.
Definition at line 243 of file klettres.cpp.
| void KLettres::optionsPreferences | ( | ) | [protected, slot] |
Display the Configure KLettres dialog.
Definition at line 224 of file klettres.cpp.
| void KLettres::setupActions | ( | ) | [protected] |
Build the main window menus.
Definition at line 127 of file klettres.cpp.
| void KLettres::setupStatusbar | ( | ) | [protected] |
Create and setup statusbar.
Definition at line 206 of file klettres.cpp.
| void KLettres::setupToolbars | ( | ) | [protected] |
Create main and second toolbars.
Definition at line 217 of file klettres.cpp.
| void KLettres::slotChangeLanguage | ( | int | newIndex | ) | [slot] |
Set the new language.
Definition at line 332 of file klettres.cpp.
| void KLettres::slotChangeLevel | ( | int | newLevel | ) | [protected, slot] |
Set the new level.
Definition at line 311 of file klettres.cpp.
| void KLettres::slotChangeTheme | ( | int | index | ) | [protected, slot] |
Change Look from menu Look.
Definition at line 351 of file klettres.cpp.
| void KLettres::slotDownloadNewStuff | ( | ) | [protected, slot] |
Call the Get New Stuff dialog.
Definition at line 267 of file klettres.cpp.
| void KLettres::slotMenubar | ( | ) | [protected, slot] |
Hide/Show the menubar.
Definition at line 283 of file klettres.cpp.
| void KLettres::slotModeGrownup | ( | ) | [protected, slot] |
Switch to the grown-up look, menubar is shown.
Definition at line 358 of file klettres.cpp.
| void KLettres::slotModeKid | ( | ) | [protected, slot] |
Switch to the kid look, menubar is hidden.
Definition at line 379 of file klettres.cpp.
| 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 447 of file klettres.cpp.
| void KLettres::slotUpdateSettings | ( | ) | [protected, slot] |
Set the new font and the new timers.
Definition at line 303 of file klettres.cpp.
| void KLettres::updateLevMenu | ( | int | id | ) | [protected] |
Update the level menu and level combobox.
- Parameters:
-
id The id of the new level
Definition at line 325 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] |
Action allow the Grownup mode.
Definition at line 82 of file klettres.h.
KToggleAction* KLettres::m_kidAction [protected] |
Action allow the Kid mode.
Definition at line 80 of file klettres.h.
QLabel* KLettres::m_langLabel [protected] |
Label stating the language in the statusbar.
Definition at line 84 of file klettres.h.
| 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.
All available language names.
Definition at line 54 of file klettres.h.
KSelectAction* KLettres::m_levelAction [protected] |
Action that sets up the Level menu.
Definition at line 76 of file klettres.h.
QStringList KLettres::m_levelsNames [protected] |
Holds the levels.
Definition at line 88 of file klettres.h.
QLabel* KLettres::m_levLabel [protected] |
Label stating the level in the statusbar.
Definition at line 86 of file klettres.h.
KToolBar* KLettres::m_mainToolbar [protected] |
Create an instance of a KToolBar.
Definition at line 92 of file klettres.h.
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] |
Action that sets up the Look menu.
Definition at line 78 of file klettres.h.
QStringList KLettres::m_themesNames [protected] |
Holds the looks.
Definition at line 90 of file klettres.h.
KLettresView* KLettres::m_view [protected] |
Call an instance of the KLettresView widget.
Definition at line 72 of file klettres.h.
bool KLettres::menuBool [protected] |
is false when menubar button is not shown
Definition at line 96 of file klettres.h.
KLNewStuff* KLettres::mNewStuff [protected] |
Create a KNewStuff instance.
Definition at line 113 of file klettres.h.
Sound class.
Definition at line 52 of file klettres.h.
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.2 API Reference