mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Move the Suit text box from the Notes tab to the Equipment tab
Sqash latest commit with previous one. Signed-off-by: willemferguson <willemferguson@zoology.up.ac.za>
This commit is contained in:
parent
9a562f221a
commit
78f425de68
6 changed files with 102 additions and 45 deletions
|
|
@ -4,6 +4,8 @@
|
|||
|
||||
#include "TabBase.h"
|
||||
#include "ui_TabDiveEquipment.h"
|
||||
#include "qt-models/completionmodels.h"
|
||||
#include "desktop-widgets/divelistview.h"
|
||||
|
||||
namespace Ui {
|
||||
class TabDiveEquipment;
|
||||
|
|
@ -21,15 +23,21 @@ public:
|
|||
void clear() override;
|
||||
void acceptChanges();
|
||||
void rejectChanges();
|
||||
void divesEdited(int i);
|
||||
void closeWarning();
|
||||
|
||||
private slots:
|
||||
void divesChanged(const QVector<dive *> &dives, DiveField field);
|
||||
void addCylinder_clicked();
|
||||
void addWeight_clicked();
|
||||
void toggleTriggeredColumn();
|
||||
void editCylinderWidget(const QModelIndex &index);
|
||||
void editWeightWidget(const QModelIndex &index);
|
||||
void on_suit_editingFinished();
|
||||
|
||||
private:
|
||||
Ui::TabDiveEquipment ui;
|
||||
|
||||
SuitCompletionModel suitModel;
|
||||
CylindersModel *cylindersModel;
|
||||
WeightModel *weightModel;
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue