diff --git a/dictinfo.cc b/dictinfo.cc index af3f00de..9758b6c8 100644 --- a/dictinfo.cc +++ b/dictinfo.cc @@ -18,6 +18,7 @@ void DictInfo::showInfo( sptr dict ) { setWindowTitle( QString::fromUtf8( dict->getName().data(), dict->getName().size() ) ); + ui.dictionaryId->setText( QString::fromStdString( dict->getId() )); ui.dictionaryTotalArticles->setText( QString::number( dict->getArticleCount() ) ); ui.dictionaryTotalWords->setText( QString::number( dict->getWordCount() ) ); ui.dictionaryTranslatesFrom->setText( Language::localizedStringForId( dict->getLangFrom() ) ); diff --git a/dictinfo.ui b/dictinfo.ui index f7a965a6..58f8f80b 100644 --- a/dictinfo.ui +++ b/dictinfo.ui @@ -23,61 +23,6 @@ - - - - Total articles: - - - - - - - - - - Qt::AlignCenter - - - - - - - Translates from: - - - - - - - - - - - - - - Total words: - - - - - - - - - - Qt::AlignCenter - - - - - - - Translates to: - - - @@ -101,6 +46,27 @@ + + + + Translates from: + + + + + + + Total words: + + + + + + + Translates to: + + + @@ -111,6 +77,50 @@ + + + + Total articles: + + + + + + + + + + Qt::AlignCenter + + + + + + + + + + + + + + + + + Qt::AlignCenter + + + + + + + + + + Qt::LinksAccessibleByMouse|Qt::TextSelectableByMouse + + +