forked from len0rd/rockbox
Theme Editor: Built a ui for the timer panel, not functional yet
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27353 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
9dd5f75966
commit
73a3747bc1
15 changed files with 391 additions and 4 deletions
|
|
@ -167,8 +167,19 @@ void EditorWindow::setupUI()
|
|||
deviceDock->setObjectName("deviceDock");
|
||||
deviceDock->setWidget(deviceConfig);
|
||||
deviceDock->setFloating(true);
|
||||
deviceDock->move(QPoint(x() + width() / 2, y() + height() / 2));
|
||||
deviceDock->hide();
|
||||
|
||||
/* Positioning the timer panel */
|
||||
timerDock = new QDockWidget(tr("Timer"), this);
|
||||
timer = new SkinTimer(deviceConfig, timerDock);
|
||||
|
||||
timerDock->setObjectName("timerDock");
|
||||
timerDock->setWidget(timer);
|
||||
timerDock->setFloating(true);
|
||||
timerDock->move(QPoint(x() + width() / 2, y() + height() / 2));
|
||||
timerDock->hide();
|
||||
|
||||
shiftTab(-1);
|
||||
}
|
||||
|
||||
|
|
@ -183,6 +194,8 @@ void EditorWindow::setupMenus()
|
|||
this, SLOT(showPanel()));
|
||||
QObject::connect(ui->actionDevice_Configuration, SIGNAL(triggered()),
|
||||
deviceDock, SLOT(show()));
|
||||
QObject::connect(ui->actionTimer, SIGNAL(triggered()),
|
||||
timerDock, SLOT(show()));
|
||||
|
||||
/* Connecting the document management actions */
|
||||
QObject::connect(ui->actionNew_Document, SIGNAL(triggered()),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue