[Kst] kdeextragear-2/kst/kst

Andrew Walker arwalker at sumusltd.com
Fri Jun 4 01:26:48 CEST 2004


CVS commit by arwalker: 

Add event monitor entry to data manager.


  M +10 -2     datamanager.ui   1.8
  M +3 -0      kstdatamanager_i.cpp   1.53
  M +2 -0      ksteventmonitorentry.cpp   1.11


--- kdeextragear-2/kst/kst/datamanager.ui  #1.7:1.8
@@ -10,5 +10,5 @@
             <y>0</y>
             <width>798</width>
-            <height>331</height>
+            <height>380</height>
         </rect>
     </property>
@@ -177,5 +177,5 @@
                 <size>
                     <width>20</width>
-                    <height>16</height>
+                    <height>20</height>
                 </size>
             </property>
@@ -317,4 +317,12 @@
                     </property>
                 </widget>
+                <widget class="QPushButton">
+                    <property name="name">
+                        <cstring>NewEvent</cstring>
+                    </property>
+                    <property name="text">
+                        <string>Event Monitor...</string>
+                    </property>
+                </widget>
             </vbox>
         </widget>

--- kdeextragear-2/kst/kst/kstdatamanager_i.cpp  #1.52:1.53
@@ -45,4 +45,5 @@
 #include "kstplotdialog_i.h"
 #include "kstplugindialog_i.h"
+#include "ksteventmonitor_i.h"
 #include "kstpsddialog_i.h"
 #include "kstrvector.h"
@@ -273,4 +274,6 @@ KstDataManagerI::KstDataManagerI(KstDoc 
     connect(NewPlugin, SIGNAL(clicked()),
             KstPluginDialogI::globalInstance(), SLOT(show_New()));
+    connect(NewEvent, SIGNAL(clicked()),
+            KstEventMonitorI::globalInstance(), SLOT(show_New()));
     connect(NewPSD, SIGNAL(clicked()),
             KstPsdDialogI::globalInstance(), SLOT(show_New()));

--- kdeextragear-2/kst/kst/ksteventmonitorentry.cpp  #1.10:1.11
@@ -53,4 +53,5 @@ EventMonitorEntry::EventMonitorEntry(con
   _iNumDone = 0;
 
+  _typeString = i18n("Event");
   KstObject::setTagName(in_tag);
 }
@@ -88,4 +89,5 @@ EventMonitorEntry::EventMonitorEntry(QDo
   }
 
+  _typeString = i18n("Event");
   KstObject::setTagName(strTag);
 





More information about the Kst mailing list