diff options
| author | 2011-08-20 18:51:04 +0000 | |
|---|---|---|
| committer | 2011-08-20 18:51:04 +0000 | |
| commit | 436139531ed4d8081102c8149fa4471db4056a23 (patch) | |
| tree | e9bb0ad4872c6064d9e985de6fe1ad16d7a99f2d /src/modules/editor/ScriptEditorImplementation.cpp | |
| parent | implemented #1200 (diff) | |
| download | KVIrc-436139531ed4d8081102c8149fa4471db4056a23.tar.gz KVIrc-436139531ed4d8081102c8149fa4471db4056a23.tar.bz2 KVIrc-436139531ed4d8081102c8149fa4471db4056a23.zip | |
adds text to the wrench on the editor so users can find it... hopefully
git-svn-id: https://svn.kvirc.de/svn/trunk/kvirc@5935 17fca916-40b9-46aa-a4ea-0a15b648b75c
Diffstat (limited to 'src/modules/editor/ScriptEditorImplementation.cpp')
| -rw-r--r-- | src/modules/editor/ScriptEditorImplementation.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/modules/editor/ScriptEditorImplementation.cpp b/src/modules/editor/ScriptEditorImplementation.cpp index 81c78304b..cbab328f7 100644 --- a/src/modules/editor/ScriptEditorImplementation.cpp +++ b/src/modules/editor/ScriptEditorImplementation.cpp @@ -791,6 +791,8 @@ ScriptEditorImplementation::ScriptEditorImplementation(QWidget * par) b->setObjectName("ToolButtonEditor"); b->setMinimumWidth(24); + b->setText(__tr2qs_ctx("Options", "editor")); + b->setToolButtonStyle(Qt::ToolButtonTextBesideIcon); g->addWidget(b,1,0); KviTalPopupMenu * pop = new KviTalPopupMenu(b); @@ -807,9 +809,10 @@ ScriptEditorImplementation::ScriptEditorImplementation(QWidget * par) QLabel * pLab = new QLabel(this); pLab->setText(__tr2qs_ctx("Find","editor")); + pLab->setAlignment(Qt::AlignRight | Qt::AlignVCenter); g->addWidget(pLab,1,1); - m_pRowColLabel = new QLabel("0",this); + m_pRowColLabel = new QLabel(QString(__tr2qs_ctx("Row: %1 Col: %2","editor")).arg(0).arg(0),this); m_pRowColLabel->setFrameStyle(QFrame::Sunken | QFrame::Panel); m_pRowColLabel->setMinimumWidth(80); g->addWidget(m_pRowColLabel,1,3); |
