* src/kitathreadview.cpp: more KDE 3.0.x support(read only).
* src/kitathreadview.{cpp, h}: jump to anchor support.
(merge from k2ch, thanks to 'konqueror plugin no hito')
+ * src/kitathreadview.ui, kitathreadview.h: search button support.
+ (merge from k2ch)
2003-03-16 Hideki Ikemoto <ikemo@users.sourceforge.jp>
#include <dom/html_element.h>
#include <dom/html_inline.h>
+#include <kiconloader.h>
+
#include "kitathreadview.h"
#include "kitawritedialog.h"
threadPart->setStandardFont("Gothic [Mona]");
threadPart->setZoomFactor(120); // 12px;
aLayout->addWidget(threadPart->view());
+
+ {
+ SearchButton->setPixmap( SmallIcon("find") );
+ HighLightButton->setPixmap( SmallIcon("idea") );
+ }
connect(writeButton, SIGNAL(clicked()), SLOT(slotWriteButtonClicked()));
connect(threadPart, SIGNAL(nodeActivated(const DOM::Node &)), SLOT(slotDOMNodeActivated(const DOM::Node &)));
<property name="font">
<font>
<family>Gothic [Mona]</family>
- <pointsize>12</pointsize>
</font>
</property>
<property name="frameShape">
<property name="text">
<string></string>
</property>
+ <property name="alignment">
+ <set>WordBreak|AlignVCenter</set>
+ </property>
</widget>
<widget class="QLayoutWidget">
<property name="name">
<pixmap>image0</pixmap>
</property>
</widget>
+ <widget class="QComboBox">
+ <property name="name">
+ <cstring>SearchCombo</cstring>
+ </property>
+ <property name="sizePolicy">
+ <sizepolicy>
+ <hsizetype>1</hsizetype>
+ <vsizetype>4</vsizetype>
+ <horstretch>0</horstretch>
+ <verstretch>0</verstretch>
+ </sizepolicy>
+ </property>
+ <property name="minimumSize">
+ <size>
+ <width>200</width>
+ <height>0</height>
+ </size>
+ </property>
+ <property name="editable">
+ <bool>true</bool>
+ </property>
+ <property name="sizeLimit">
+ <number>10</number>
+ </property>
+ </widget>
+ <widget class="QToolButton">
+ <property name="name">
+ <cstring>SearchButton</cstring>
+ </property>
+ <property name="text">
+ <string>Search</string>
+ </property>
+ </widget>
+ <widget class="QToolButton">
+ <property name="name">
+ <cstring>HighLightButton</cstring>
+ </property>
+ <property name="text">
+ <string>HighLight</string>
+ </property>
+ <property name="toggleButton">
+ <bool>true</bool>
+ </property>
+ </widget>
<spacer>
<property name="name">
<cstring>spacer1</cstring>
</property>
<property name="sizeHint">
<size>
- <width>420</width>
+ <width>320</width>
<height>20</height>
</size>
</property>