[Kst] branches/work/kst/1.1/kst/kst
George Staikos
staikos at kde.org
Mon Sep 26 00:15:09 CEST 2005
SVN commit 463977 by staikos:
- focus back on the equation after filling a field
- check for future kstfile versions and don't load them
M +18 -0 eqdialog.ui
M +8 -0 kstdoc.cpp
--- branches/work/kst/1.1/kst/kst/eqdialog.ui #463976:463977
@@ -385,17 +385,35 @@
<slot>insert(const QString&)</slot>
</connection>
<connection>
+ <sender>Operators</sender>
+ <signal>activated(const QString&)</signal>
+ <receiver>Equation</receiver>
+ <slot>setFocus()</slot>
+ </connection>
+ <connection>
<sender>_vectors</sender>
<signal>selectionChangedLabel(const QString&)</signal>
<receiver>Equation</receiver>
<slot>insert(const QString&)</slot>
</connection>
<connection>
+ <sender>_vectors</sender>
+ <signal>selectionChangedLabel(const QString&)</signal>
+ <receiver>Equation</receiver>
+ <slot>setFocus()</slot>
+ </connection>
+ <connection>
<sender>_scalars</sender>
<signal>selectionChangedLabel(const QString&)</signal>
<receiver>Equation</receiver>
<slot>insert(const QString&)</slot>
</connection>
+ <connection>
+ <sender>_scalars</sender>
+ <signal>selectionChangedLabel(const QString&)</signal>
+ <receiver>Equation</receiver>
+ <slot>setFocus()</slot>
+ </connection>
</connections>
<tabstops>
<tabstop>_tagName</tabstop>
--- branches/work/kst/1.1/kst/kst/kstdoc.cpp #463976:463977
@@ -213,6 +213,14 @@
KstApp *app = KstApp::inst();
QString readingDocument = i18n("Reading Kst file");
+ if (docElem.tagName() != "kstdoc") {
+ return false;
+ }
+
+ if (!docElem.attribute("version").isEmpty()) {
+ return false;
+ }
+
QDomNode n = docElem.firstChild();
count = docElem.childNodes().length();
app->slotUpdateProgress(count, handled, readingDocument);
More information about the Kst
mailing list