Summary: | Show the character encoding in "View Document Information" | ||
---|---|---|---|
Product: | [Applications] konqueror | Reporter: | Torquil Macdonald Sørensen <torquil> |
Component: | general | Assignee: | George Staikos <staikos> |
Status: | RESOLVED FIXED | ||
Severity: | wishlist | ||
Priority: | NOR | ||
Version First Reported In: | unspecified | ||
Target Milestone: | --- | ||
Platform: | unspecified | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Torquil Macdonald Sørensen
2003-03-24 11:08:13 UTC
Subject: kdelibs/khtml CVS commit by staikos: Half of #56307 CCMAIL: 56307@bugs.kde.org M +1 -1 htmlpageinfo.ui 1.7 --- kdelibs/khtml/htmlpageinfo.ui #1.6:1.7 @@ -24,5 +24,5 @@ </property> <property name="caption"> - <string>Page Information</string> + <string>Document Information</string> </property> <grid> CVS commit by staikos: Show the character set in the page info dialog. FEATURE: 56307 M +32 -0 htmlpageinfo.ui 1.9 M +7 -0 khtml_part.cpp 1.1052 --- kdelibs/khtml/htmlpageinfo.ui #1.8:1.9 @@ -145,4 +145,36 @@ </property> </widget> + <widget class="QLabel" row="3" column="0"> + <property name="name"> + <cstring>_eLabel</cstring> + </property> + <property name="sizePolicy"> + <sizepolicy> + <hsizetype>0</hsizetype> + <vsizetype>0</vsizetype> + <horstretch>0</horstretch> + <verstretch>0</verstretch> + </sizepolicy> + </property> + <property name="text"> + <string>Document encoding:</string> + </property> + <property name="buddy" stdset="0"> + <cstring>_encoding</cstring> + </property> + </widget> + <widget class="KActiveLabel" row="3" column="1"> + <property name="name"> + <cstring>_encoding</cstring> + </property> + <property name="sizePolicy"> + <sizepolicy> + <hsizetype>7</hsizetype> + <vsizetype>5</vsizetype> + <horstretch>1</horstretch> + <verstretch>0</verstretch> + </sizepolicy> + </property> + </widget> </grid> </widget> --- kdelibs/khtml/khtml_part.cpp #1.1051:1.1052 @@ -3691,4 +3691,11 @@ void KHTMLPart::slotViewPageInfo() dlg->_lastModified->setText(lastModified()); + const QString& enc = encoding(); + if (enc.isEmpty()) { + dlg->_eLabel->hide(); + dlg->_encoding->hide(); + } else { + dlg->_encoding->setText(enc); + } /* populate the list view now */ const QStringList headers = QStringList::split("\n", d->m_httpHeaders); |