[Kst] kdeextragear-2/kst/kst
George Staikos
staikos at kde.org
Tue Mar 9 04:43:31 CET 2004
CVS commit by staikos:
closer to working. Also cleanup some of the view vectors dialog. It's
still got an undefined signal reference
M +4 -4 kstview.cpp 1.82
M +1 -11 kstviewvectorsdialog_i.cpp 1.4
M +2 -3 kstviewvectorsdialog_i.h 1.2
M +0 -3 viewvectorsdialog.ui 1.2
--- kdeextragear-2/kst/kst/kstview.cpp #1.81:1.82
@@ -1447,11 +1447,11 @@ void KstView::dynamicMenuMatch(int id) {
KstPlot *p = KST::plotList.FindKstPlot(_curveIds[id]);
if (p) {
- double lx0, lx1, ly0, ly1;
- p->getLScale(lx0, lx1, ly0, ly1);
+ double x0, x1, y0, y1;
+ p->getLScale(x0, y0, x1, y1);
_currentPlot->setLog(p->isXLog(), p->isYLog());
_currentPlot->setXScaleMode(p->getXScaleMode());
_currentPlot->setYScaleMode(p->getYScaleMode());
- _currentPlot->setLXScale(lx0, lx1);
- _currentPlot->setLYScale(ly0, ly1);
+ _currentPlot->setXScale(x0, x1);
+ _currentPlot->setYScale(y0, y1);
_currentPlot->pushScale();
MouseInfo->setMode(INACTIVE);
--- kdeextragear-2/kst/kst/kstviewvectorsdialog_i.cpp #1.3:1.4
@@ -116,18 +116,8 @@ void KstViewVectorsDialogI::vectorChange
}
-/*
- * Sets the strings of the subwidgets using the current
- * language.
- */
-void KstViewVectorsDialogI::languageChange()
-{
- setCaption( tr2i18n( "View Vector Values" ) );
- Cancel->setText( tr("Close") );
- tableVectors->horizontalHeader()->setLabel( 0, tr("Value") );
-}
void KstViewVectorsDialogI::updateDefaults(int index) {
Q_UNUSED( index )
- }
+}
#include "kstviewvectorsdialog_i.moc"
--- kdeextragear-2/kst/kst/kstviewvectorsdialog_i.h #1.1:1.2
@@ -43,5 +43,4 @@ class KstViewVectorsDialogI : public Kst
protected slots:
- virtual void languageChange();
virtual void vectorChanged(const QString& str);
@@ -49,5 +48,5 @@ class KstViewVectorsDialogI : public Kst
signals:
- };
+};
--- kdeextragear-2/kst/kst/viewvectorsdialog.ui #1.1:1.2
@@ -46,8 +46,5 @@
<signal>selectionChanged(const QString&)</signal>
<signal>selectionChangedLabel(const QString&)</signal>
- <slot access="public" specifier="">slot()</slot>
<slot access="public" specifier="">allowNewVectors(bool allowed)</slot>
- <slot access="public" specifier="">slot()</slot>
- <slot access="public" specifier="">slot()</slot>
<slot access="public" specifier="">update()</slot>
</customwidget>
More information about the Kst
mailing list