maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   [Announce / WIP] Theme Customizer (https://talk.maemo.org/showthread.php?t=62960)

d-iivil 2010-10-07 11:56

Re: [Announce / WIP] Theme Customizer - customize your N900
 
Quote:

Originally Posted by CepiPerez (Post 835327)
You must set backgrounds and main windows with this:

setAttribute(Qt::WA_Maemo5StackedWindow);

If it doesn't work, the change background windows from QMainWindow to QDialog.

I've made it now like this:
mainwindow.cpp which launches the new window:
Code:

    newWin = new backgrounds(this);
    newWin->setAttribute(Qt::WA_Maemo5StackedWindow);
    newWin->setAttribute(Qt::WA_DeleteOnClose);

    newWin->show();


CepiPerez 2010-10-07 12:01

Re: [Announce / WIP] Theme Customizer - customize your N900
 
You must add this attribute to MainWindow too!

Code:

MainWindow::MainWindow(QWidget *parent) :
    QMainWindow(parent),
    ui(new Ui::MainWindow),
{
    this->setAttribute(Qt::WA_Maemo5StackedWindow);
    ui->setupUi(this);
    ...


d-iivil 2010-10-07 12:29

Re: [Announce / WIP] Theme Customizer - customize your N900
 
Quote:

Originally Posted by CepiPerez (Post 835336)
You must add this attribute to MainWindow too!

Code:

MainWindow::MainWindow(QWidget *parent) :
    QMainWindow(parent),
    ui(new Ui::MainWindow),
{
    this->setAttribute(Qt::WA_Maemo5StackedWindow);
    ui->setupUi(this);
    ...


Thanks, that did the trick :)

Version 0.9-14 is @ extras-devel.

After installing that, you can safely remove the ImageMagick (if you don't have any other use for it).

d-iivil 2010-10-07 12:58

Re: [Announce / WIP] Theme Customizer - customize your N900
 
And immidiately uploaded 0.9-15 since I accidently broke the background changer in previous release :-P

x-lette 2010-10-07 13:17

Re: [Announce / WIP] Theme Customizer - customize your N900
 
Just want to say thank you again for your great app! :)

thej80 2010-10-07 13:34

Re: [Announce / WIP] Theme Customizer - customize your N900
 
just updated to 0.9-15. it doesnt show thumbnails in the backround selectingthing anymore..

d-iivil 2010-10-07 14:26

Re: [Announce / WIP] Theme Customizer - customize your N900
 
Quote:

Originally Posted by thej80 (Post 835410)
just updated to 0.9-15. it doesnt show thumbnails in the backround selectingthing anymore..

Yep, that's unfortunate downside of running the customizer with root powers (which is required to be able to modify theme images) :(

Jigzy 2010-10-07 15:22

Re: [Announce / WIP] Theme Customizer - customize your N900
 
After the 0.9-14 update I can't access the theme customoizer settings I have subsequently updated it to 0.9-15 still can't access it. The Icon background is not there so I am assuming its running in the background.I have rebooted my n900 a number of times to no avail

thej80 2010-10-07 15:29

Re: [Announce / WIP] Theme Customizer - customize your N900
 
Quote:

Originally Posted by D-Iivil (Post 835464)
Yep, that's unfortunate downside of running the customizer with root powers (which is required to be able to modify theme images) :(

but i think i saw them in 0.9-13 version..

d-iivil 2010-10-07 15:52

Re: [Announce / WIP] Theme Customizer - customize your N900
 
Quote:

Originally Posted by thej80 (Post 835501)
but i think i saw them in 0.9-13 version..

Yep, that was still using ImageMagick + shell script to do the job.


All times are GMT. The time now is 20:43.

vBulletin® Version 3.8.8