comparison widgets/CSVFormatDialog.cpp @ 908:4a578a360011 cxx11

More type fixes
author Chris Cannam
date Tue, 10 Mar 2015 13:22:10 +0000
parents d854c72dcaa1
children 50be12cf2802
comparison
equal deleted inserted replaced
907:28d05ae8741c 908:4a578a360011
60 QPalette palette = exampleFrame->palette(); 60 QPalette palette = exampleFrame->palette();
61 palette.setColor(QPalette::Window, palette.color(QPalette::Base)); 61 palette.setColor(QPalette::Window, palette.color(QPalette::Base));
62 exampleFrame->setPalette(palette); 62 exampleFrame->setPalette(palette);
63 63
64 QFont fp; 64 QFont fp;
65 fp.setPointSize(fp.pointSize() * 0.9); 65 fp.setPointSize(int(floor(fp.pointSize() * 0.9)));
66 // fp.setFixedPitch(true); 66 // fp.setFixedPitch(true);
67 // fp.setStyleHint(QFont::TypeWriter); 67 // fp.setStyleHint(QFont::TypeWriter);
68 // fp.setFamily("Monospaced"); 68 // fp.setFamily("Monospaced");
69 69
70 int columns = format.getColumnCount(); 70 int columns = format.getColumnCount();