• Skip to content
  • Skip to link menu
KDE 4.4 API Reference
  • KDE API Reference
  • kdeedu
  • Sitemap
  • Contact Us
 

parley

Editor Class Reference

#include <editor.h>

Inheritance diagram for Editor:
Inheritance graph
[legend]

List of all members.

Public Slots

void removeGrades ()
void setTableFont (const QFont &font)
void slotConfigShowSearch ()
void slotDocumentProperties ()
void slotLanguageProperties ()
void slotShowScriptManager ()

Signals

void signalSetData (const QList< int > &entries, int currentTranslation)

Public Member Functions

 Editor (ParleyMainWindow *parent)
 ~Editor ()
void initActions ()
void initDockWidgets ()
void initModel ()
void initScripts ()
void initView ()
void saveState ()
void updateTableFilter ()

Detailed Description

Definition at line 41 of file editor.h.


Constructor & Destructor Documentation

Editor::Editor ( ParleyMainWindow *  parent  ) 

Definition at line 62 of file editor.cpp.

Editor::~Editor (  ) 

Definition at line 86 of file editor.cpp.


Member Function Documentation

void Editor::initActions (  ) 

setup the action (menus etc)

Todo:
tooltip
Todo:
: this action and some of the standard actions don't show up here (Cut, Copy, Paste, Select All, Deselect)

Definition at line 372 of file editor.cpp.

void Editor::initDockWidgets (  ) 

Todo:
remove before release
Todo:
test, should be fixed with the lesson one though
Todo:
remove before release

Definition at line 131 of file editor.cpp.

void Editor::initModel (  ) 

setup the main model

Definition at line 460 of file editor.cpp.

void Editor::initScripts (  ) 

Load enabled scripts (from configuration parleyrc).

Definition at line 541 of file editor.cpp.

void Editor::initView (  ) 

setup the main view

This initializes the main widgets and table.

Todo:
centralWidget()-> delete layout

Definition at line 475 of file editor.cpp.

void Editor::removeGrades (  )  [slot]

Removes all grading information from the current document.

Definition at line 536 of file editor.cpp.

void Editor::saveState (  ) 

when closing the application, save the editor's state

Definition at line 551 of file editor.cpp.

void Editor::setTableFont ( const QFont &  font  )  [slot]

Definition at line 530 of file editor.cpp.

void Editor::signalSetData ( const QList< int > &  entries,
int  currentTranslation 
) [signal]
void Editor::slotConfigShowSearch (  )  [slot]

Definition at line 519 of file editor.cpp.

void Editor::slotDocumentProperties (  )  [slot]

General doc properties like title, author etc.

Definition at line 564 of file editor.cpp.

void Editor::slotLanguageProperties (  )  [slot]

Edit languages contained in the document.

This includes adding/removing languages, editing articles, personal pronouns and tenses.

Definition at line 556 of file editor.cpp.

void Editor::slotShowScriptManager (  )  [slot]

Display script manager (open a new window / or Settings window).

Definition at line 525 of file editor.cpp.

void Editor::updateTableFilter (  ) 

This will look at the lesson list and also the combo box to determine what should be displayed in the table.


The documentation for this class was generated from the following files:
  • editor.h
  • editor.cpp

parley

Skip menu "parley"
  • Main Page
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members
  • Related Pages

kdeedu

Skip menu "kdeedu"
  •     lib
  • kalzium
  • kanagram
  • kig
  •   lib
  • klettres
  • kstars
  • libkdeedu
  •   keduvocdocument
  • marble
  • parley
  •   stepcore
Generated for kdeedu by doxygen 1.5.9-20090814
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal