Ignore:
Timestamp:
01/07/10 17:07:29 (12 years ago)
Author:
korrco <korrco@…>
Branches:
master, qt5
Children:
5034a83
Parents:
d0d0a66
Message:

support for creating GUI via QtCreator? added

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/gui/mainwindow.cpp

    rd0d0a66 r9bbb44e  
    22
    33#include <QTreeView>
     4#include <QDirModel>
    45
    56#include <eventmodel.h>
     
    1314    db.open();
    1415
    15     QTreeView * view = new QTreeView(parent);
    16     this->setCentralWidget(view);
    17 
    18     view->setModel(new EventModel());
     16    setupUi(this);
     17    //TODO Palo: continue
     18    //treeView->setModel(new QDirModel);
     19    treeView->setModel(new EventModel());
    1920}
Note: See TracChangeset for help on using the changeset viewer.