Rework on the Equipment tab to make it look more Modern.

Note that this is a WIP and it does break functionality
- ie, not possible to add Equipments, but this will be
fixed in the next commit. Removed add / edit / remove
buttons, only a single '+' icon appears on the widget
now. the edit / delete will be done in place.

Signed-off-by: Tomaz Canabrava <tcanabrava@kde.org>
This commit is contained in:
Tomaz Canabrava 2013-05-22 09:17:18 -03:00
parent 003729bde6
commit df57b657fd
5 changed files with 69 additions and 146 deletions

View file

@ -38,6 +38,8 @@ public:
void reload();
bool eventFilter(QObject* , QEvent*);
virtual void resizeEvent(QResizeEvent* );
virtual void showEvent(QShowEvent* );
public Q_SLOTS:
void on_addCylinder_clicked();
@ -63,6 +65,8 @@ private:
CylindersModel *cylindersModel;
NotesBackup notesBackup;
struct dive* currentDive;
QPushButton *addCylinder;
QPushButton *addWeight;
};
#endif