author | alwin <alwin> | 2004-10-31 21:25:56 (UTC) |
---|---|---|
committer | alwin <alwin> | 2004-10-31 21:25:56 (UTC) |
commit | 05784b5484029af9947612b150b2a17d3314d680 (patch) (unidiff) | |
tree | 68d1bb338dcc5ed863de0690960f9aeb969c6fb5 /noncore/graphics/opie-eye/gui | |
parent | c0920559a3df4abb8f8c6e58dd769abdb14170ce (diff) | |
download | opie-05784b5484029af9947612b150b2a17d3314d680.zip opie-05784b5484029af9947612b150b2a17d3314d680.tar.gz opie-05784b5484029af9947612b150b2a17d3314d680.tar.bz2 |
some more settings the user can do
-rw-r--r-- | noncore/graphics/opie-eye/gui/gui.pro | 6 | ||||
-rw-r--r-- | noncore/graphics/opie-eye/gui/iconview.cpp | 3 | ||||
-rw-r--r-- | noncore/graphics/opie-eye/gui/mainwindow.cpp | 15 |
3 files changed, 21 insertions, 3 deletions
diff --git a/noncore/graphics/opie-eye/gui/gui.pro b/noncore/graphics/opie-eye/gui/gui.pro index b9f0bf8..2759dd5 100644 --- a/noncore/graphics/opie-eye/gui/gui.pro +++ b/noncore/graphics/opie-eye/gui/gui.pro | |||
@@ -5,3 +5,4 @@ HEADERS += gui/filesystem.h \ | |||
5 | gui/mainwindow.h \ | 5 | gui/mainwindow.h \ |
6 | gui/viewmodebutton.h | 6 | gui/viewmodebutton.h \ |
7 | gui/basesetup.h | ||
7 | 8 | ||
@@ -12,3 +13,4 @@ SOURCES += gui/filesystem.cpp \ | |||
12 | gui/mainwindow.cpp \ | 13 | gui/mainwindow.cpp \ |
13 | gui/viewmodebutton.cpp | 14 | gui/viewmodebutton.cpp \ |
15 | gui/basesetup.cpp | ||
14 | 16 | ||
diff --git a/noncore/graphics/opie-eye/gui/iconview.cpp b/noncore/graphics/opie-eye/gui/iconview.cpp index a41ce9f..7c8c88d 100644 --- a/noncore/graphics/opie-eye/gui/iconview.cpp +++ b/noncore/graphics/opie-eye/gui/iconview.cpp | |||
@@ -687,3 +687,4 @@ void PIconView::slotStartSlide() { | |||
687 | } | 687 | } |
688 | emit sig_startslide(2); | 688 | int t = m_cfg->readNumEntry("base_slideshowtimeout", 2); |
689 | emit sig_startslide(t); | ||
689 | } | 690 | } |
diff --git a/noncore/graphics/opie-eye/gui/mainwindow.cpp b/noncore/graphics/opie-eye/gui/mainwindow.cpp index e714e84..570ee45 100644 --- a/noncore/graphics/opie-eye/gui/mainwindow.cpp +++ b/noncore/graphics/opie-eye/gui/mainwindow.cpp | |||
@@ -11,2 +11,3 @@ | |||
11 | #include "viewmodebutton.h" | 11 | #include "viewmodebutton.h" |
12 | #include "basesetup.h" | ||
12 | 13 | ||
@@ -71,2 +72,3 @@ PMainWindow::PMainWindow(QWidget* wid, const char* name, WFlags style) | |||
71 | setupMenu(); | 72 | setupMenu(); |
73 | m_aHideToolbar->setOn(m_cfg->readBoolEntry("base_showtoolbar",true)); | ||
72 | } | 74 | } |
@@ -142,2 +144,6 @@ void PMainWindow::slotConfig() { | |||
142 | lay->addWidget( wid ); | 144 | lay->addWidget( wid ); |
145 | |||
146 | BaseSetup*bSetup = new BaseSetup(m_cfg,wid); | ||
147 | wid->addTab(bSetup,"SettingsIcon","Basics setup"); | ||
148 | |||
143 | ViewMap *vM = viewMap(); | 149 | ViewMap *vM = viewMap(); |
@@ -198,2 +204,3 @@ void PMainWindow::slotConfig() { | |||
198 | m_view->manager()->save(); | 204 | m_view->manager()->save(); |
205 | bSetup->save_values(); | ||
199 | } | 206 | } |
@@ -270,4 +277,12 @@ void PMainWindow::slotFullScreenToggled(bool current) | |||
270 | odebug << "window" << oendl; | 277 | odebug << "window" << oendl; |
278 | if (m_stack->mode() != Opie::Ui::OWidgetStack::SmallScreen) { | ||
279 | m_disp->setMinimumSize(QApplication::desktop()->size()/2); | ||
280 | } else { | ||
271 | m_disp->setMinimumSize(10,10); | 281 | m_disp->setMinimumSize(10,10); |
282 | } | ||
283 | if (m_stack->mode() != Opie::Ui::OWidgetStack::SmallScreen) { | ||
284 | m_disp->reparent(0,QPoint(50,50)); | ||
285 | } else { | ||
272 | m_disp->reparent(0,QPoint(0,0)); | 286 | m_disp->reparent(0,QPoint(0,0)); |
287 | } | ||
273 | m_disp->setBackgroundColor(white); | 288 | m_disp->setBackgroundColor(white); |