X-Git-Url: http://git.maemo.org/git/?p=mverbiste;a=blobdiff_plain;f=mainwindow.h;h=d09491d68a4e466e683e4c4e6de02366b048bc66;hp=e3d55029462f0b767788bced9deb28ef79151673;hb=0f544c4b78f242a3ac985c69874c6e41493cb8f0;hpb=6b71b328a4ed0cc4e8236fc27f4dd0dc392e1c34 diff --git a/mainwindow.h b/mainwindow.h index e3d5502..d09491d 100644 --- a/mainwindow.h +++ b/mainwindow.h @@ -27,10 +27,14 @@ class ResultPage { public: QScrollArea *page; - QTableWidget *table; + QGridLayout *grid; ResultPage(); // No destructor because this object does not own the two widgets. + void packContent(); + +private: + QWidget *immediate; }; class MainWindow : public QMainWindow @@ -54,6 +58,10 @@ public: void showExpanded(); void initverbiste(); + QVBoxLayout* makeResultCell(const VVS &tenseIterator, + const std::string &tenseName, + const std::string &inputWord, + FrenchVerbDictionary *verbDict); public slots: void startLookup();