[Kst] [Bug 87011] slow redraw of tie boxes
netterfield at astro.utoronto.ca
netterfield at astro.utoronto.ca
Thu Aug 12 19:40:27 CEST 2004
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
http://bugs.kde.org/show_bug.cgi?id=87011
netterfield astro utoronto ca changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
------- Additional Comments From netterfield astro utoronto ca 2004-08-12 19:40 -------
CVS commit by netterfield:
Fix for Bug 87011: slow redraw of tie boxes
Tied zoom action does a ->paint(P_PAINT) rather than ->paint(P_DATA)
CCMAIL: 87011-done bugs kde org
M +3 -3 kst.cpp 1.205
M +1 -1 kst.h 1.95
M +4 -4 kstbasecurve.h 1.20
M +2 -2 kstfitdialog_i.cpp 1.33
--- kdeextragear-2/kst/kst/kst.cpp #1.204:1.205
@ -1183,9 +1183,9 @ void KstApp::tieAll() {
}
- paintAll();
+ paintAll(P_PAINT);
}
-void KstApp::paintAll() {
+void KstApp::paintAll(KstPaintType pt) {
KMdiIterator<KMdiChildView*> *pIterator = createIterator();
if (pIterator) {
@ -1193,5 +1193,5 @ void KstApp::paintAll() {
KstViewWindow *pView = dynamic_cast<KstViewWindow*>(pIterator->currentItem());
if (pView) {
- pView->view()->paint(P_DATA);
+ pView->view()->paint(pt);
}
pIterator->next();
--- kdeextragear-2/kst/kst/kst.h #1.94:1.95
@ -116,5 +116,5 @ class KstApp : public KMdiMainFrm {
bool dataMode() const;
- void paintAll();
+ void paintAll(KstPaintType = P_DATA);
void EventELOGSubmitEntry(const QString& strMessage);
--- kdeextragear-2/kst/kst/kstbasecurve.h #1.19:1.20
@ -92,8 +92,8 @ public:
virtual int samplesPerFrame() const { return 1; }
- virtual QString getXVTag() const {return i18n("<None>");}
- virtual QString getYVTag() const {return i18n("<None>");}
- virtual QString getYETag() const {return i18n("<None>");}
- virtual QString getXETag() const {return i18n("<None>");}
+ virtual QString getXVTag() const {return "<None>";}
+ virtual QString getYVTag() const {return "<None>";}
+ virtual QString getYETag() const {return "<None>";}
+ virtual QString getXETag() const {return "<None>";}
KstPoint Point;
--- kdeextragear-2/kst/kst/kstfitdialog_i.cpp #1.32:1.33
@ -136,6 +136,6 @ void KstFitDialogI::show_setCurve(const
}
- if ( _xvector==i18n("<None>") ) return;
- if ( _yvector==i18n("<None>") ) return;
+ if ( _xvector=="<None>" ) return;
+ if ( _yvector=="<None>" ) return;
_tagName->setText(newFitPluginString);
More information about the Kst
mailing list