private:
void createLayout(QWidget *parent);
+ bool validate(void);
QLineEdit *lineEditClub;
QLineEdit *lineEditCourse;
bool validate();
public slots:
- void itemChanged(QTableWidgetItem *item);
- void nextCell(QObject *);
- void finnish(void);
+ void finish(void);
private:
enum { ROW_HOLE = 0, ROW_PAR = 1, ROW_HCP = 2, ROW_LEN = 3,
void createLayout(QWidget *parent = 0);
// Widgets
- //ScoreTable *table;
QTableWidget *table;
QLabel *clubLabel;
QLabel *courseLabel;
QLineEdit *clubEdit;
QLineEdit *courseEdit;
- QPushButton *pushButtonFinnish;
+ QPushButton *pushButtonFinish;
// Layouts
QVBoxLayout *rightLayout;