QLabel resourceCount;\r
QLabel indexCount;\r
QLabel resourceIndexNeeded;\r
+ QLabel historyCount;\r
private final QPushButton ok;\r
private final String iconPath = new String("classpath:cx/fbn/nevernote/icons/");\r
\r
resourceCount = new QLabel();\r
resourceIndexNeeded = new QLabel();\r
indexCount = new QLabel();\r
+ historyCount = new QLabel();\r
\r
grid.addWidget(new QLabel(tr("Notebooks:")), 0,0);\r
grid.addWidget(notebookCount, 0,1);\r
\r
grid.addWidget(new QLabel(tr("Words In Index")), 8,0);\r
grid.addWidget(indexCount, 8,1);\r
- \r
+ \r
+ grid.addWidget(new QLabel(tr("Tobal Behavior History:")), 9, 0);\r
+ grid.addWidget(historyCount, 9,1);\r
+ \r
QGridLayout buttonLayout = new QGridLayout();\r
ok = new QPushButton(tr("OK"));\r
ok.clicked.connect(this, "okPushed()");\r
buttonLayout.addWidget(ok, 1, 1);\r
- grid.addLayout(buttonLayout,9,1);\r
+ grid.addLayout(buttonLayout,10,1);\r
}\r
\r
@SuppressWarnings("unused")\r
public void setWordCount(int d) {\r
indexCount.setText(NumberFormat.getInstance().format(d));\r
}\r
+ public void setHistoryCount(int d) {\r
+ historyCount.setText(NumberFormat.getInstance().format(d));\r
+ }\r
public QPushButton getOkButton() {\r
return ok;\r
}\r