[Kst] kdeextragear-2/kst/kst

Andrew Walker arwalker at sumusltd.com
Tue Aug 3 18:06:53 CEST 2004


CVS commit by arwalker: 

Add ability to create new Array and Image from the Data menu.


  M +13 -5     kst.cpp   1.198
  M +4 -0      kst.h   1.87
  M +2 -0      kstui.rc   1.35
  M +3 -0      libkstkmdi/.cvsignore   1.2


--- kdeextragear-2/kst/kst/kst.cpp  #1.197:1.198
@@ -443,10 +443,18 @@ void KstApp::initActions() {
 
   /************/
-  FilterDialogAction = new KAction(i18n("New &Filter..."), 0, 0,
-                                   KstFilterDialogI::globalInstance(),
+  ArrayDialogAction = new KAction(i18n("New &Array..."), 0, 0,
+                                   KstArrayDialogI::globalInstance(),
                                    SLOT(show_New()), actionCollection(),
-                                   "filterdialog_action");
-  FilterDialogAction->setWhatsThis(i18n("Bring up a dialog box\n"
-                                        "to create a new filter instance."));
+                                   "arraydialog_action");
+  ArrayDialogAction->setWhatsThis(i18n("Bring up a dialog box\n"
+                                        "to create a new array."));
+
+  /************/
+  ImageDialogAction = new KAction(i18n("New &Image..."), 0, 0,
+                                   KstImageDialogI::globalInstance(),
+                                   SLOT(show_New()), actionCollection(),
+                                   "imagedialog_action");
+  ImageDialogAction->setWhatsThis(i18n("Bring up a dialog box\n"
+                                        "to create a new image instance."));
 
   /************/

--- kdeextragear-2/kst/kst/kst.h  #1.86:1.87
@@ -376,4 +376,8 @@ class KstApp : public KMdiMainFrm {
     KRadioAction *LayoutAction;
 
+    /* Array Edit Action */
+    KAction *ArrayDialogAction;
+    /* Image Edit Action */
+    KAction *ImageDialogAction;
     /* Filter Edit Action */
     KAction *FilterDialogAction;

--- kdeextragear-2/kst/kst/kstui.rc  #1.34:1.35
@@ -24,4 +24,6 @@
     <Action name="filterdialog_action"/>
     <Action name="eventmonitor_action"/>
+    <Action name="arraydialog_action"/>
+    <Action name="imagedialog_action"/>
     <Separator/>
     <Action name="viewscalarsdialog_action"/>

--- kdeextragear-2/kst/kst/libkstkmdi/.cvsignore  #1.1:1.2
@@ -1,2 +1,5 @@
 Makefile
 Makefile.in
+*.lo
+*.moc.*
+*.moc





More information about the Kst mailing list