• Skip to content
  • Skip to link menu
KDE API Reference
  • KDE API Reference
  • kdesdk API Reference
  • KDE Home
  • Contact Us
 

lokalize

Public Slots | Signals | Public Member Functions | Public Attributes | List of all members
EditorView Class Reference

#include <editorview.h>

Inheritance diagram for EditorView:
Inheritance graph
[legend]

Public Slots

void gotoEntry (DocPosition pos=DocPosition(), int selection=0)
 
void setEquivTrans (bool)
 
void setState (TargetState)
 
void toggleApprovement ()
 

Signals

void binaryUnitSelectRequested (const QString &id)
 
void doExplicitCompletion ()
 
void findNextRequested ()
 
void findRequested ()
 
void gotoEntryRequested (const DocPosition &)
 
void replaceRequested ()
 
void signalApprovedEntryDisplayed (bool)
 
void signalChanged (uint index)
 
void signalChangeStatusbar (const QString &)
 
void signalEquivTranslatedEntryDisplayed (bool)
 
void tmLookupRequested (DocPosition::Part, const QString &)
 

Public Member Functions

 EditorView (QWidget *, Catalog *)
 
virtual ~EditorView ()
 
QString selectionInSource () const
 
QString selectionInTarget () const
 
void setProperFocus ()
 
KTabBar * tabBar ()
 
QObject * viewPort ()
 

Public Attributes

bool m_modifiedAfterFind
 

Detailed Description

This is the main view class for Lokalize Editor.

Most of the non-menu, non-toolbar, non-statusbar, and non-dockview editing GUI code should go here.

There are several ways (for views) to modify current msg: -modify KTextEdit and changes will be applied to catalog automatically (plus you need to care of fuzzy indication etc) -modify catalog directly, then call EditorWindow::gotoEntry slot I used both :)

Main editor view: source and target textedits

Author
Nick Shaforostoff shaff.nosp@m.f@uk.nosp@m.r.net

Definition at line 55 of file editorview.h.

Constructor & Destructor Documentation

EditorView::EditorView ( QWidget *  parent,
Catalog *  catalog 
)

Definition at line 97 of file editorview.cpp.

EditorView::~EditorView ( )
virtual

Definition at line 144 of file editorview.cpp.

Member Function Documentation

void EditorView::binaryUnitSelectRequested ( const QString &  id)
signal
void EditorView::doExplicitCompletion ( )
signal
void EditorView::findNextRequested ( )
signal
void EditorView::findRequested ( )
signal
void EditorView::gotoEntry ( DocPosition  pos = DocPosition(),
int  selection = 0 
)
slot

Definition at line 177 of file editorview.cpp.

void EditorView::gotoEntryRequested ( const DocPosition &  )
signal
void EditorView::replaceRequested ( )
signal
QString EditorView::selectionInSource ( ) const

Definition at line 310 of file editorview.cpp.

QString EditorView::selectionInTarget ( ) const

Definition at line 304 of file editorview.cpp.

void EditorView::setEquivTrans ( bool  equivTrans)
slot

Definition at line 360 of file editorview.cpp.

void EditorView::setProperFocus ( )

Definition at line 316 of file editorview.cpp.

void EditorView::setState ( TargetState  state)
slot

Definition at line 350 of file editorview.cpp.

void EditorView::signalApprovedEntryDisplayed ( bool  )
signal
void EditorView::signalChanged ( uint  index)
signal
void EditorView::signalChangeStatusbar ( const QString &  )
signal
void EditorView::signalEquivTranslatedEntryDisplayed ( bool  )
signal
KTabBar* EditorView::tabBar ( )
inline

Definition at line 62 of file editorview.h.

void EditorView::tmLookupRequested ( DocPosition::Part  ,
const QString &   
)
signal
void EditorView::toggleApprovement ( )
slot

Definition at line 339 of file editorview.cpp.

QObject * EditorView::viewPort ( )

Definition at line 326 of file editorview.cpp.

Member Data Documentation

bool EditorView::m_modifiedAfterFind

Definition at line 90 of file editorview.h.


The documentation for this class was generated from the following files:
  • editorview.h
  • editorview.cpp
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 23:03:45 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

lokalize

Skip menu "lokalize"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members

kdesdk API Reference

Skip menu "kdesdk API Reference"
  • kapptemplate
  • kcachegrind
  • kompare
  • lokalize
  • okteta
  • umbrello
  •   umbrello

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal