[rkward-cvs] SF.net SVN: rkward:[2851] trunk/rkward
tfry at users.sourceforge.net
tfry at users.sourceforge.net
Sat May 1 11:55:37 UTC 2010
Revision: 2851
http://rkward.svn.sourceforge.net/rkward/?rev=2851&view=rev
Author: tfry
Date: 2010-05-01 11:55:37 +0000 (Sat, 01 May 2010)
Log Message:
-----------
Enable tab reordering
Modified Paths:
--------------
trunk/rkward/ChangeLog
trunk/rkward/rkward/windows/rkworkplaceview.cpp
Modified: trunk/rkward/ChangeLog
===================================================================
--- trunk/rkward/ChangeLog 2010-04-30 16:14:34 UTC (rev 2850)
+++ trunk/rkward/ChangeLog 2010-05-01 11:55:37 UTC (rev 2851)
@@ -1,3 +1,4 @@
+- The tabs in the main window can now be re-ordered by dragging with the mouse (left click if compiled with Qt 4.5 or above, middle click for earlier versions)
- Add alternating row backgrounds in data.frame-editor
--- Version 0.5.3 - Apr-30-2010
@@ -7,7 +8,7 @@
- Plugin dialogs are shown with a larger initial size
- Add close buttons to each tab in the main document view area (not available in KDE 4.0)
- Make "print", "export as HTML", "dynamic word wrap", and "increase/descress font size" available for the console window
-- Use a native menu, instead of the default TclTk-menu TODO: test, discuss the settings page, again
+- Use a native menu, instead of the default TclTk-menu
- Fixed: Newly created variables were not properly updated when closing and re-opening the editor
- Added "paste special" action to script editor and console for pasting R vectors and matrices from spreadsheets
- Fix order of menus for detached windows
Modified: trunk/rkward/rkward/windows/rkworkplaceview.cpp
===================================================================
--- trunk/rkward/rkward/windows/rkworkplaceview.cpp 2010-04-30 16:14:34 UTC (rev 2850)
+++ trunk/rkward/rkward/windows/rkworkplaceview.cpp 2010-05-01 11:55:37 UTC (rev 2851)
@@ -55,7 +55,13 @@
connect (this, SIGNAL (closeRequest(QWidget*)), this, SLOT (closePage(QWidget*)));
# endif
#endif
-
+
+#if QT_VERSION >= 0x040500
+ setMovable (true);
+#else
+ setTabReorderingEnabled (true); // the KDE function is deprecated sind Qt 4.5 / KDE 4.4
+#endif
+
KAcceleratorManager::setNoAccel (tabBar ()); // TODO: This is a WORKAROUND for a bug in kdelibs where tabs named "a0.txt", "a1.txt", etc. will steal the Alt+0/1... shortcuts
setTabBarHidden (true); // initially
connect (this, SIGNAL (currentChanged(int)), this, SLOT (currentPageChanged(int)));
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the rkward-tracker
mailing list