[Kst] kdeextragear-2/kst/kst
George Staikos
staikos at kde.org
Sun Apr 25 22:05:43 CEST 2004
CVS commit by staikos:
let's see what the thoughts are on the different MDI modes
M +7 -0 kst.cpp 1.99
M +6 -0 kstui.rc 1.21
--- kdeextragear-2/kst/kst/kst.cpp #1.98:1.99
@@ -171,4 +171,5 @@ KstApp::KstApp(QWidget *parent, const ch
KstViewWindow *vw = new KstViewWindow;
addWindow(vw);
+ vw = new KstViewWindow;
addWindow(vw);
}
@@ -531,4 +532,10 @@ void KstApp::initActions() {
_reloadAction->setWhatsThis(i18n("Reload the data from file."));
+ KAction *act;
+
+ act = new KAction("Toplevel Mode", 0, 0, this, SLOT(switchToToplevelMode()), actionCollection(), "mdi_toplevel");
+ act = new KAction("Childframe Mode", 0, 0, this, SLOT(switchToChildframeMode()), actionCollection(), "mdi_childframe");
+ act = new KAction("Tab Mode", 0, 0, this, SLOT(switchToTabPageMode()), actionCollection(), "mdi_tab");
+ act = new KAction("IDEAl Mode", 0, 0, this, SLOT(switchToIDEAlMode()), actionCollection(), "mdi_ideal");
createGUI(0L);
}
--- kdeextragear-2/kst/kst/kstui.rc #1.20:1.21
@@ -59,4 +59,10 @@
<Action name="pluginmanager_action"/>
<Action name="extensionmanager_action"/>
+ <Menu name="mdi"><text>&MDI Mode</text>
+ <Action name="mdi_toplevel"/>
+ <Action name="mdi_childframe"/>
+ <Action name="mdi_tab"/>
+ <Action name="mdi_ideal"/>
+ </Menu>
</Menu>
<Menu name="help"><text>&Help</text>
More information about the Kst
mailing list