QT += widgets sql
#requires(qtConfig(treeview))

CONFIG += c++11 link_pkgconfig
#wPKGCONFIG += dtkwidget dtkwm

include($$PWD/gui/SARibbon/importSARibbonBarLib.pri)

INCLUDEPATH = \
    gui \
    widget \
    data \
    utils \
    gui/qtRibbonGUI

FORMS       = mainwindow.ui \
    gui/formbaselist.ui \
    gui/formbudget.ui \
    gui/formbudgetlist.ui \
    widget/widgetcomboboxpopuptable.ui \
    gui/formthird.ui \
    gui/formproduct.ui \
    gui/dialogcreateenterprise.ui \
    gui/dialogopencompany.ui \
    gui/formelementlist.ui \
    gui/formthirdlist.ui \
    gui/forminvoiceinlist.ui \
    gui/formbase.ui


HEADERS     = mainwindow.h \
    gui/formbaselist.h \
    gui/formbudgetlist.h \
              treeitem.h \
              treemodel.h \
    itemnumberdelegate.h \
    qmtreeview.h \
    itemtextdelegate.h \
    header.h \
    mapplication.h \
    gui/formbudget.h \
    utils/fiebdc.h \
    utils/filterlineedit.h \
    utils/filtertableheader.h \
    widget/widgetcomboboxpopuptable.h \
    gui/formthird.h \
    widget/avatarwidget.h \
    gui/formproduct.h \
    data/sqltable.h \
    itemrichtextdelegate.h \
    gui/dialogcreateenterprise.h \
    utils/frameless.h \
    gui/dialogopencompany.h \
    widget/companylistitemdelegate.h \
    gui/formelementlist.h \
    gui/formthirdlist.h \
    widget/mlineeditbutton.h \
    itemtextpopupdelegate.h \
    widget/lineedittag.h \
    widget/treemodelcomposeelement.h \
    itemcomboboxdelegate.h \
    gui/qlistmodel.h \
    widget/msqlquerymodel.h \
    #gui/qtRibbonGUI/QsfMainWindow.h \
    #gui/qtRibbonGUI/QsfTitleBar.h \
    #gui/qtRibbonGUI/QsfToolButton.h \
    #gui/qtRibbonGUI/QsrRibbonCore.h \
    #gui/qtRibbonGUI/SgfParamManager.h \
    gui/forminvoiceinlist.h \
    gui/formbase.h


RESOURCES   = editabletreemodel.qrc


SOURCES     = mainwindow.cpp \
    gui/formbaselist.cpp \
    gui/formbudgetlist.cpp \
              treeitem.cpp \
              treemodel.cpp \
              main.cpp \
    itemnumberdelegate.cpp \
    qmtreeview.cpp \
    itemtextdelegate.cpp \
    header.cpp \
    mapplication.cpp \
    gui/formbudget.cpp \
    utils/fiebdc.cpp \
    utils/filterlineedit.cpp \
    utils/filtertableheader.cpp \
    widget/widgetcomboboxpopuptable.cpp \
    gui/formthird.cpp \
    widget/avatarwidget.cpp \
    gui/formproduct.cpp \
    itemrichtextdelegate.cpp \
    gui/dialogcreateenterprise.cpp \
    utils/frameless.cpp \
    gui/dialogopencompany.cpp \
    widget/companylistitemdelegate.cpp \
    gui/formelementlist.cpp \
    gui/formthirdlist.cpp \
    widget/mlineeditbutton.cpp \
    itemtextpopupdelegate.cpp \
    widget/lineedittag.cpp \
    widget/treemodelcomposeelement.cpp \
    itemcomboboxdelegate.cpp \
    gui/qlistmodel.cpp \
    widget/msqlquerymodel.cpp \
    #gui/qtRibbonGUI/QsfMainWindow.cpp \
    #gui/qtRibbonGUI/QsfTitleBar.cpp \
    #gui/qtRibbonGUI/QsfToolButton.cpp \
    #gui/qtRibbonGUI/QsrRibbonCore.cpp \
    #gui/qtRibbonGUI/SgfParamManager.cpp \
    gui/forminvoiceinlist.cpp \
    gui/formbase.cpp


# install
target.path = $$[QT_INSTALL_EXAMPLES]/widgets/itemviews/editabletreemodel
INSTALLS += target
