Ticket #197: test_hlists.diff

File test_hlists.diff, 1.1 KB (added by mfgalizi@…, 15 years ago)

Patch mythuitest to show horizontal lists.

  • programs/mythuitest/main.cpp

     
    1010#include "mythscreentype.h"
    1111#include "mythcontext.h"
    1212#include "test1.h"
     13#include "btnlisttest.h"
    1314#include "oldsettings.h"
    1415
    1516int main(int argc, char *argv[])
     
    6162
    6263    MythScreenStack *mainStack = new MythScreenStack(mainWindow, "main stack");
    6364
     65#ifdef BTNLISTTEST_H
     66    TestWindow *test = new TestWindow(mainStack);
     67#else
    6468    TestScreen1 *test = new TestScreen1(mainStack, "maintest");
     69#endif
    6570    mainStack->AddScreen(test);
    6671
    6772    qApp->setMainWidget(mainWindow);
  • programs/mythuitest/mythuitest.pro

     
    3131QMAKE_CLEAN += $(TARGET)
    3232
    3333# Input
    34 HEADERS = test1.h
     34HEADERS = test1.h btnlisttest.h
    3535
    36 SOURCES = main.cpp test1.cpp
     36SOURCES = main.cpp test1.cpp btnlisttest.cpp
    3737