#include <string.h>
#include <verbiste/FrenchVerbDictionary.h>
#include "gui/conjugation.h"
+
+#ifndef QT_NO_DEBUG
+#include <QtCore/QDebug>
+#include <QtCore/QElapsedTimer>
+#endif
+
using namespace verbiste;
namespace Ui {
{
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
void showExpanded();
void initverbiste();
+ QVBoxLayout* makeResultCell(const VVS &tenseIterator,
+ const std::string &tenseName,
+ const std::string &inputWord,
+ FrenchVerbDictionary *verbDict);
public slots:
void startLookup();
QPushButton *btnClear; // Clear button
QLineEdit *wordinput; // Word input
QPushButton *btnLookup; // Lookup button
- QLabel *labVerb;
std::string langCode;
FrenchVerbDictionary *freVerbDic;
ResultPage* addResultPage(const std::string &labelText);
+#ifndef QT_NO_DEBUG
+ QElapsedTimer timer;
+#endif
private slots:
void clearResults();
+ void startAgain();
};