1
0
Fork 0
forked from len0rd/rockbox

Theme Editor: Began implementing tabbing

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26541 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Robert Bieber 2010-06-04 07:57:19 +00:00
parent 9616389377
commit e174a8ad8d
7 changed files with 136 additions and 28 deletions

View file

@ -60,6 +60,7 @@ void EditorWindow::setupUI()
/* Connecting the buttons */
QObject::connect(ui->fromTree, SIGNAL(pressed()),
this, SLOT(updateCode()));
}
void EditorWindow::setupMenus()
@ -71,15 +72,17 @@ void EditorWindow::setupMenus()
this, SLOT(showPanel()));
QObject::connect(ui->actionPreview_Panel, SIGNAL(triggered()),
this, SLOT(showPanel()));
/* Connecting the document opening/closing actions */
QObject::connect(ui->actionNew_Document, SIGNAL(triggered()),
this, SLOT(newTab()));
}
void EditorWindow::codeChanged()
{
ui->parseTree->expandAll();
}
void EditorWindow::updateCode()
void EditorWindow::newTab()
{
SkinDocument* doc = new SkinDocument;
ui->editorTabs->addTab(doc, doc->getTitle());
}
void EditorWindow::showPanel()