[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: playground/graphics/UNNAMED_READER/UNNAMED_READER
From: Stefan Kebekus <kebekus () kde ! org>
Date: 2006-12-05 7:25:29
Message-ID: 1165303529.672217.5729.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 610719 by kebekus:
added MDI mockup to compare possible GUI designs
M +13 -0 CMakeLists.txt
A main-mdi.cpp main.cpp#610447 [License: GPL (v2+) (wrong address)]
A mainWindow-mdi.cpp mainWindow.cpp#610447 [License: GPL (v2+) (wrong address)]
A mainWindow-mdi.h mainWindow.h#610447 [License: GPL (v2+) (wrong address)]
M +1 -5 mainWindow.cpp
M +0 -1 mainWindow.h
--- trunk/playground/graphics/UNNAMED_READER/UNNAMED_READER/CMakeLists.txt #610718:610719
@@ -16,6 +16,19 @@
install(TARGETS UNNAMED_READER DESTINATION ${BIN_INSTALL_DIR} )
+########### UNNAMED_READER-mdi ###############
+
+set(UNNAMED_READER_MDI_SRCS main-mdi.cpp mainWindow-mdi.cpp )
+
+kde4_automoc(${UNNAMED_READER_MDI_SRCS})
+
+kde4_add_executable(UNNAMED_READER_MDI ${UNNAMED_READER_MDI_SRCS})
+
+target_link_libraries(UNNAMED_READER_MDI UNNAMED_READERcore ${KDE4_KDECORE_LIBS} ${KDE4_KPARTS_LIBS} )
+
+install(TARGETS UNNAMED_READER_MDI DESTINATION ${BIN_INSTALL_DIR} )
+
+
########### install files ###############
#install( FILES UNNAMED_READER.desktop DESTINATION ${XDG_APPS_DIR} )
--- trunk/playground/graphics/UNNAMED_READER/UNNAMED_READER/mainWindow.cpp #610718:610719
@@ -89,11 +89,7 @@
#warning TODO: Check if this URL is already open. If yes, bring the label to the front
readerWidget *label = new readerWidget(0);
- // workspace->addWindow(label);
- workspace->addTab(label, url.fileName());
- // label->setWindowTitle(url.prettyUrl());
- // label->show();
- // workspace->cascade();
+ workspace->addTab(label, url.fileName());
}
--- trunk/playground/graphics/UNNAMED_READER/UNNAMED_READER/mainWindow.h #610718:610719
@@ -69,7 +69,6 @@
// and the setup the GUI. It should not be called otherwise.
void setupActions();
- // QWorkspace *workspace;
QTabWidget *workspace;
};
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic