[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    kdeedu/kmplot/kmplot
From:       Fredrik Edemar <f_edemar () linux ! se>
Date:       2005-01-27 16:19:51
Message-ID: 20050127161951.CB3E217B33 () office ! kde ! org
[Download RAW message or body]

CVS commit by fedemar: 

* Yet another bug fix (thanks Pinotree :-)): show the root in the statusbar when the \
                mouse pointer is close to the x-axis.
* Removed the unnecessary fullscreen-code in MainDlg.


  M +0 -1      MainDlg.cpp   1.148
  M +0 -3      MainDlg.h   1.60
  M +1 -1      View.cpp   1.114


--- kdeedu/kmplot/kmplot/MainDlg.cpp  #1.147:1.148
@@ -130,5 +130,4 @@ void MainDlg::setupActions()
 
         KStdAction::preferences( this, SLOT( slotSettings() ), actionCollection());
-        m_fullScreen = KStdAction::fullScreen( NULL, NULL, actionCollection(), \
                m_parent, "fullscreen");
         KStdAction::keyBindings(this, SLOT(optionsConfigureKeys()), \
                actionCollection());
         KStdAction::configureToolbars(this, SLOT(optionsConfigureToolbars()), \
actionCollection());

--- kdeedu/kmplot/kmplot/MainDlg.h  #1.59:1.60
@@ -172,7 +172,4 @@ private:
         ///The Constants page for the Configure KmPlot constants
         KConstantEditor* m_constantsSettings;
-        /// The fullscreen action to be plugged/unplegged to the toolbar
-        KToggleFullScreenAction* m_fullScreen;
-        /// Loading the constants by start
 
         /// A dialog used by many tools-menu-items

--- kdeedu/kmplot/kmplot/View.cpp  #1.113:1.114
@@ -648,5 +648,5 @@ void View::mouseMoveEvent(QMouseEvent *e
                                 if ( csypos<ymin || csypos>ymax) //the ypoint is not \
visible  out_of_bounds = true;
-                                else if(fabs(csypos)<0.2)
+                                else if(fabs(dgr.Transy(ptl.y())) < (xmax-xmin)/80)
                                 {
                                         double x0;


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic