summaryrefslogtreecommitdiffstats
path: root/qt-ui/maintab.h
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2013-05-20 06:25:16 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2013-05-20 06:25:16 -0700
commit0d370ba108df707fe89b4afb45dea3a4146ad02a (patch)
treecaa899c593fc7b81bcfd7a9a72469a0ad5bd1289 /qt-ui/maintab.h
parentf548195761af0faee92fc881acaf70fdb1f7c8da (diff)
downloadsubsurface-0d370ba108df707fe89b4afb45dea3a4146ad02a.tar.gz
Integrate visibility Star widget into editing flow
This also removes some incorrect code from the clear() function for the DiveInfo tab. Putting the readOnly() calls for the DiveNotes tab there was wrong. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/maintab.h')
-rw-r--r--qt-ui/maintab.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/qt-ui/maintab.h b/qt-ui/maintab.h
index f48cdace5..c571df086 100644
--- a/qt-ui/maintab.h
+++ b/qt-ui/maintab.h
@@ -23,6 +23,7 @@ struct NotesBackup{
QString buddy;
QString suit;
int rating;
+ int visibility;
QString divemaster;
};
@@ -54,6 +55,7 @@ public Q_SLOTS:
void on_suit_textChanged(const QString& text);
void on_notes_textChanged();
void on_rating_valueChanged(int value);
+ void on_visibility_valueChanged(int value);
private:
Ui::MainTab *ui;