Logo Search packages:      
Sourcecode: kaider-kde4 version File versions  Download package

KAiderView Class Reference

#include <kaiderview.h>

List of all members.


Detailed Description

Main view.

This is the main view class for KAider. Most of the non-menu, non-toolbar, non-statusbar, and non-dockview 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 KAider::goto slot I used both :)

Author:
Nick Shaforostoff <shafff@ukr.net>
Version:
0.1

Definition at line 86 of file kaiderview.h.


Signals

void fileOpenRequested (KUrl)
void signalChanged (uint index)
void signalChangeStatusbar (const QString &)
void signalGotoFirst ()
void signalGotoLast ()
void signalRedo ()
void signalUndo ()

Public Member Functions

void dragEnterEvent (QDragEnterEvent *event)
void dropEvent (QDropEvent *)
void gotoEntry (const DocPosition &pos, int selection=0)
 KAiderView (QWidget *, Catalog *)
QString selection () const
QString selectionMsgId () const
QTabBar * tabBar ()

Protected Member Functions

bool eventFilter (QObject *, QEvent *)

Private Slots

void clearMsgStr ()
void contentsChanged (int position, int charsRemoved, int charsAdded)
void fuzzyEntryDisplayed (bool)
void insertTerm (const QString &)
void msgid2msgstr ()
void replaceText (const QString &)
void settingsChanged ()
void tagMenu ()
void toggleBookmark (bool)
void toggleFuzzy (bool)
void unwrap (ProperTextEdit *editor=0)

Private Attributes

Catalog_catalog
int _currentEntry
DocPosition _currentPos
LedsWidget * _leds
ProperTextEdit * _msgidEdit
ProperTextEdit * _msgstrEdit
QString _oldMsgstr
QTabBar * _tabbar
SyntaxHighlighter * m_msgidHighlighter
SyntaxHighlighter * m_msgstrHighlighter

The documentation for this class was generated from the following files:

Generated by  Doxygen 1.6.0   Back to index