2014-09-03 Fred Gleason <fredg@paravelsystems.com>

* Fixed a bug in 'rdlogedit/rdlogedit.cpp' that caused the
	'Select Cart' dialog to use a non-default font. [GitHub Issue #1].
This commit is contained in:
Fred Gleason
2014-09-03 13:25:16 -04:00
parent bbeff9f343
commit 35b346fc59
2 changed files with 23 additions and 20 deletions

View File

@@ -14407,3 +14407,6 @@
2014-08-27 Fred Gleason <fredg@paravelsystems.com>
* Added support for RIFF WAV files with WAVE_FORMAT_MPEGLAYER3
format in 'lib/rdwavefile.cpp' and 'lib/rdwavefile.h'.
2014-09-03 Fred Gleason <fredg@paravelsystems.com>
* Fixed a bug in 'rdlogedit/rdlogedit.cpp' that caused the
'Select Cart' dialog to use a non-default font. [GitHub Issue #1].

View File

@@ -209,6 +209,26 @@ MainWidget::MainWidget(QWidget *parent,const char *name,WFlags f)
//
rdlogedit_conf=new RDLogeditConf(log_config->stationName());
//
// Create Fonts
//
QFont default_font("Helvetica",12,QFont::Normal);
default_font.setPixelSize(12);
qApp->setFont(default_font);
QFont button_font=QFont("Helvetica",12,QFont::Bold);
button_font.setPixelSize(12);
//
// Create Icons
//
log_rivendell_map=new QPixmap(rivendell_xpm);
setIcon(*log_rivendell_map);
log_greencheckmark_map=new QPixmap(greencheckmark_xpm);
log_redx_map=new QPixmap(redx_xpm);
log_whiteball_map=new QPixmap(whiteball_xpm);
log_greenball_map=new QPixmap(greenball_xpm);
log_redball_map=new QPixmap(redball_xpm);
//
// Cart Picker
//
@@ -236,26 +256,6 @@ MainWidget::MainWidget(QWidget *parent,const char *name,WFlags f)
#else
rduser=new RDUser(RD_USER_LOGIN_NAME);
#endif // WIN32
//
// Create Fonts
//
QFont default_font("Helvetica",12,QFont::Normal);
default_font.setPixelSize(12);
qApp->setFont(default_font);
QFont button_font=QFont("Helvetica",12,QFont::Bold);
button_font.setPixelSize(12);
//
// Create Icons
//
log_rivendell_map=new QPixmap(rivendell_xpm);
setIcon(*log_rivendell_map);
log_greencheckmark_map=new QPixmap(greencheckmark_xpm);
log_redx_map=new QPixmap(redx_xpm);
log_whiteball_map=new QPixmap(whiteball_xpm);
log_greenball_map=new QPixmap(greenball_xpm);
log_redball_map=new QPixmap(redball_xpm);
//
// Service Selector