projects
/
scorecard
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Use QListWidget instead of comboboxes
[scorecard]
/
src
/
course-dialog.h
diff --git
a/src/course-dialog.h
b/src/course-dialog.h
index
343e34b
..
92e3980
100644
(file)
--- a/
src/course-dialog.h
+++ b/
src/course-dialog.h
@@
-29,6
+29,7
@@
private slots:
private:
void createLayout(QWidget *parent);
private:
void createLayout(QWidget *parent);
+ bool validate(void);
QLineEdit *lineEditClub;
QLineEdit *lineEditCourse;
QLineEdit *lineEditClub;
QLineEdit *lineEditCourse;
@@
-51,9
+52,7
@@
class CourseDialog: public QDialog
bool validate();
public slots:
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,
private:
enum { ROW_HOLE = 0, ROW_PAR = 1, ROW_HCP = 2, ROW_LEN = 3,
@@
-65,13
+64,12
@@
class CourseDialog: public QDialog
void createLayout(QWidget *parent = 0);
// Widgets
void createLayout(QWidget *parent = 0);
// Widgets
- //ScoreTable *table;
QTableWidget *table;
QLabel *clubLabel;
QLabel *courseLabel;
QLineEdit *clubEdit;
QLineEdit *courseEdit;
QTableWidget *table;
QLabel *clubLabel;
QLabel *courseLabel;
QLineEdit *clubEdit;
QLineEdit *courseEdit;
- QPushButton *pushButtonFinnish;
+ QPushButton *pushButtonFinish;
// Layouts
QVBoxLayout *rightLayout;
// Layouts
QVBoxLayout *rightLayout;