lokalize
editorview.cpp
Go to the documentation of this file.
70 layout->addWidget(ledFuzzy=new KLed(colorScheme.foreground(KColorScheme::NeutralText).color()/*Qt::green*/,KLed::Off,KLed::Sunken,KLed::Rectangular));
71 layout->addWidget(new QLabel(i18nc("@label whether entry is untranslated","Untranslated:"),this));
72 layout->addWidget(ledUntr=new KLed(colorScheme.foreground(KColorScheme::NegativeText).color()/*Qt::red*/,KLed::Off,KLed::Sunken,KLed::Rectangular));
111 connect (m_targetTextEdit, SIGNAL(contentsModified(DocPosition)), this, SLOT(resetFindForCurrent(DocPosition)));
112 connect (m_targetTextEdit, SIGNAL(toggleApprovementRequested()), this, SLOT(toggleApprovement()));
113 connect (this, SIGNAL(signalApprovedEntryDisplayed(bool)), m_targetTextEdit, SLOT(reflectApprovementState()));
114 connect (m_sourceTextEdit, SIGNAL(tagInsertRequested(InlineTag)), m_targetTextEdit, SLOT(insertTag(InlineTag)));
116 connect (m_sourceTextEdit, SIGNAL(binaryUnitSelectRequested(QString)), this, SIGNAL(binaryUnitSelectRequested(QString)));
117 connect (m_targetTextEdit, SIGNAL(binaryUnitSelectRequested(QString)), this, SIGNAL(binaryUnitSelectRequested(QString)));
118 connect (m_sourceTextEdit, SIGNAL(gotoEntryRequested(DocPosition)), this, SIGNAL(gotoEntryRequested(DocPosition)));
119 connect (m_targetTextEdit, SIGNAL(gotoEntryRequested(DocPosition)), this, SIGNAL(gotoEntryRequested(DocPosition)));
121 connect (m_sourceTextEdit, SIGNAL(tmLookupRequested(DocPosition::Part,QString)), this, SIGNAL(tmLookupRequested(DocPosition::Part,QString)));
122 connect (m_targetTextEdit, SIGNAL(tmLookupRequested(DocPosition::Part,QString)), this, SIGNAL(tmLookupRequested(DocPosition::Part,QString)));
166 connect (m_targetTextEdit, SIGNAL(cursorPositionChanged(int)), _leds, SLOT(cursorPositionChanged(int)));
222 TranslationUnitTextEdit* msgEdit=(pos.part==DocPosition::Source?m_sourceTextEdit:m_targetTextEdit);
248 //kWarning()<<"set-->"<<_msgstrEdit->textCursor().anchor()<<_msgstrEdit->textCursor().position();
QLayout * layout() const
void findNextRequested()
void gotoEntryRequested(const DocPosition &)
void gotoEntry(DocPosition pos=DocPosition(), int selection=0)
Definition: editorview.cpp:177
int indexOf(QChar ch, int from, Qt::CaseSensitivity cs) const
void insertWidget(int index, QWidget *widget)
Definition: editorview.h:123
static void push(Catalog *catalog, const DocPosition &pos, bool approved)
Definition: cmd.cpp:182
void beginMacro(const QString &text)
virtual void setVisible(bool visible)
virtual QSize minimumSizeHint() const
Definition: cmd.h:196
void addSpacing(int size)
bool movePosition(MoveOperation operation, MoveMode mode, int n)
void addWidget(QWidget *widget)
void signalApprovedEntryDisplayed(bool)
void addWidget(QWidget *widget, int stretch, QFlags< Qt::AlignmentFlag > alignment)
void tmLookupRequested(DocPosition::Part, const QString &)
void findRequested()
static void instantiateAndPush(Catalog *catalog, const DocPosition &pos, TargetState state)
Definition: cmd.cpp:186
void signalChanged(uint index)
void setUpdatesEnabled(bool enable)
void cursorPositionChanged(int column)
Definition: editorview.cpp:90
void setTabOrder(QWidget *first, QWidget *second)
void setFocusProxy(QWidget *w)
bool isEmpty() const
bool startsWith(const QString &s, Qt::CaseSensitivity cs) const
bool isNull() const
void refresh()
void setText(const QString &)
void hide()
CatalogString showPos(DocPosition pos, const CatalogString &refStr=CatalogString(), bool keepCursor=true)
makes MsgEdit reflect current entry
Definition: xlifftextedit.cpp:237
data structure used to pass info about inline elements a XLIFF tag is represented by a TAGRANGE_IMAGE...
Definition: catalogstring.h:128
Definition: xlifftextedit.h:37
void setMaximumHeight(int maxh)
void addStretch(int stretch)
void endMacro()
Definition: pos.h:43
void deleteChar()
This class represents a catalog It uses CatalogStorage interface to work with catalogs in different f...
Definition: catalog.h:74
void binaryUnitSelectRequested(const QString &id)
bool atEnd() const
bool connect(const QObject *sender, const char *signal, const QObject *receiver, const char *method, Qt::ConnectionType type)
void replaceRequested()
data structure used to pass info about inline elements a XLIFF tag is represented by a TAGRANGE_IMAGE...
Definition: catalogstring.h:44
int height() const
void doExplicitCompletion()
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:40:07 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:40:07 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.