Show conjugated results.
[mverbiste] / mainwindow.h
index e3d5502..b735747 100644 (file)
@@ -27,10 +27,14 @@ class ResultPage
 {
 public:
     QScrollArea *page;
 {
 public:
     QScrollArea *page;
-    QTableWidget *table;
+    QGridLayout *grid;
 
     ResultPage();
     // No destructor because this object does not own the two widgets.
 
     ResultPage();
     // No destructor because this object does not own the two widgets.
+    void packContent();
+
+private:
+    QWidget *immediate;
 };
 
 class MainWindow : public QMainWindow
 };
 
 class MainWindow : public QMainWindow
@@ -54,6 +58,10 @@ public:
 
     void showExpanded();
     void initverbiste();
 
     void showExpanded();
     void initverbiste();
+    QVBoxLayout* makeResultCell(const VVS &tenseIterator,
+                                     const std::string &tenseName,
+                                     const std::string &inputWord,
+                                     FrenchVerbDictionary *verbDict);
 
 public slots:
     void startLookup();
 
 public slots:
     void startLookup();
@@ -67,7 +75,6 @@ private:
     QPushButton *btnClear;           // Clear button
     QLineEdit   *wordinput;          //  Word input
     QPushButton *btnLookup;          // Lookup button
     QPushButton *btnClear;           // Clear button
     QLineEdit   *wordinput;          //  Word input
     QPushButton *btnLookup;          // Lookup button
-    QLabel      *labVerb;
     std::string langCode;
     FrenchVerbDictionary *freVerbDic;
 
     std::string langCode;
     FrenchVerbDictionary *freVerbDic;
 
@@ -75,6 +82,7 @@ private:
 
 private slots:
     void clearResults();
 
 private slots:
     void clearResults();
+    void startAgain();
 };
 
 
 };