Commit 2558f8a3 authored by WINTZ Julien's avatar WINTZ Julien

Setup TODOS on the repo.

parent 9a2dd891
......@@ -133,12 +133,22 @@ void setup(dtkApplication *application)
QLabel *bg = new QLabel(application->window()->central());
bg->setPixmap(QPixmap(":/main_1.jpg"));
bg->setMouseTracking(true);
// ///////////////////////////////////////////////////////////////////
// TODO: This is theoretically ok ... but ergonomically unacceptable
// ///////////////////////////////////////////////////////////////////
bg->installEventFilter(new dtkThemesWidgetsFilter(application->window()));
// ///////////////////////////////////////////////////////////////////
QScrollArea *area = new QScrollArea(application->window());
area->setWidget(bg);
area->setMouseTracking(true);
area->installEventFilter(new dtkThemesWidgetsFilter(application->window()));
// ///////////////////////////////////////////////////////////////////
// TODO: This is theoretically ok ... but ergonomically unacceptable
// ///////////////////////////////////////////////////////////////////
// area->installEventFilter(new dtkThemesWidgetsFilter(application->window()));
// ///////////////////////////////////////////////////////////////////
// Besides, only deepest widgets need to have a filter
// ///////////////////////////////////////////////////////////////////
dtkWidgetsMenu *menu_1 = new dtkWidgetsMenu(fa::circlethin, "MainLevel 1");
dtkWidgetsMenuItem *menuitem_11 = menu_1->addItem(fa::circleo, "Cycle through background");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment