This two little classes let you use own windowframes and titlebars.
the windows which are created with this class can be resized and moved like normal windows
and have three buttons on top. For an own skin you will need 9 pixmaps:
-> left border(sl), left-bottom corner(elu), right-bottom corner(eru), right border(sr),
titlebar(so), bottom corner(su)
-> maximize (maxButton), minimize(minButton), close(quiButton)
if you want to skin your application just set QSkinWidget as Parent. if you want to skin a MainWindow use something like this:
QSkinMainWindow *wid = new QStyleMainWindow();
MainWindow mainWindow;
wid->setWindowTitle(APP_TITLE);
wid->setCentralWidget (&mainWindow);
wid->resize(550,650);
wid->show();
QSkinMainWindow *wid = new QStyleMainWindow();
MainWindow mainWindow;
wid->setWindowTitle(APP_TITLE);
wid->setCentralWidget (&mainWindow);
wid->resize(550,650);
wid->show();
To copy to clipboard, switch view to plain text mode
enjoy working with this classes, even its somekind of "murx".
please let me know if you find better ways to realyze things i did in the classes and use them only for opensource-software.
i hope i will get some feedback!
P.S. Sorry for my bad english and no comments, i will type them as far as i can...
Bookmarks