From f9b4c6b889e2444533af1baabdee3687020c1e7b Mon Sep 17 00:00:00 2001 From: Tomaz Canabrava Date: Sun, 16 Jun 2013 12:33:27 -0300 Subject: Better handling of default sizes on the Cylinder and Weight widgets Better handling of default sizes on the Cylinder and weight widgets, the weigth widget didn't had a CSS applied so it looked odd compared to the cylinder one, also the default behavior for the combobox delegate didn't worked very well with the css applied, being too small. this patch fixes that. Signed-off-by: Tomaz Canabrava --- qt-ui/models.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'qt-ui/models.h') diff --git a/qt-ui/models.h b/qt-ui/models.h index a012ec6bd..09a2c6a68 100644 --- a/qt-ui/models.h +++ b/qt-ui/models.h @@ -14,6 +14,8 @@ #include "../dive.h" #include "../divelist.h" +QFont defaultModelFont(); + /* Encapsulates the tank_info global variable * to show on Qt's Model View System.*/ class TankInfoModel : public QAbstractTableModel { -- cgit v1.2.3-70-g09d2