summaryrefslogtreecommitdiffabout
authorulf69 <ulf69>2004-11-07 02:23:23 (UTC)
committer ulf69 <ulf69>2004-11-07 02:23:23 (UTC)
commitdcb3a171bca38934185de67e378956e6fd044f17 (patch) (side-by-side diff)
tree6b1d8499823d2ec0db0e932ee9f69d95f9970464
parent31c3fc0e0673b9403fb4ef4a9836305d1d49ff83 (diff)
downloadkdepimpi-dcb3a171bca38934185de67e378956e6fd044f17.zip
kdepimpi-dcb3a171bca38934185de67e378956e6fd044f17.tar.gz
kdepimpi-dcb3a171bca38934185de67e378956e6fd044f17.tar.bz2
view category view for 5500 models on top and not at the left
Diffstat (more/less context) (show whitespace changes)
-rw-r--r--pwmanager/pwmanager/pwmviewstyle_1.cpp12
1 files changed, 11 insertions, 1 deletions
diff --git a/pwmanager/pwmanager/pwmviewstyle_1.cpp b/pwmanager/pwmanager/pwmviewstyle_1.cpp
index 6b9def3..27ad40e 100644
--- a/pwmanager/pwmanager/pwmviewstyle_1.cpp
+++ b/pwmanager/pwmanager/pwmviewstyle_1.cpp
@@ -37,11 +37,21 @@ PwMViewStyle_1::PwMViewStyle_1(PwMView *view)
{
#ifndef PWM_EMBEDDED
splitter = new QSplitter(view);
#else
+ if ( QApplication::desktop()->width() > 240 ) {
splitter = new KDGanttMinimizeSplitter( Qt::Horizontal, view);
splitter->setMinimizeDirection ( KDGanttMinimizeSplitter::Left );
-
+ // topLayout = new QHBoxLayout( this );
+ // mMiniSplitter = new KDGanttMinimizeSplitter( Qt::Horizontal, this);
+ // mMiniSplitter->setMinimizeDirection ( KDGanttMinimizeSplitter::Right );
+ } else {
+ splitter = new KDGanttMinimizeSplitter( Qt::Vertical, view);
+ splitter->setMinimizeDirection ( KDGanttMinimizeSplitter::Up );
+ // topLayout = new QHBoxLayout( this );
+ // mMiniSplitter = new KDGanttMinimizeSplitter( Qt::Vertical, this);
+ // mMiniSplitter->setMinimizeDirection ( KDGanttMinimizeSplitter::Down );
+ }
//US topLayout->addWidget(mMiniSplitter );
#endif
vbox1 = new QVBox(splitter);