2019-10-01 Fred Gleason <fredg@paravelsystems.com>

* Added an 'RDDialog' class.
	* Added an 'RDWidget' class.
	* Refactored rdadmin(1) to use 'RDDialog' and 'RDWidget' base
	classes.
This commit is contained in:
Fred Gleason
2019-10-01 11:17:23 -04:00
parent bfee1c8440
commit f18dacf408
170 changed files with 2949 additions and 3121 deletions

View File

@@ -153,6 +153,30 @@ QString RDConfig::audioStoreXportHostname() const
}
QString RDConfig::fontFamily() const
{
return conf_font_family;
}
int RDConfig::fontButtonSize() const
{
return conf_font_button_size;
}
int RDConfig::fontLabelSize() const
{
return conf_font_label_size;
}
int RDConfig::fontDataSize() const
{
return conf_font_data_size;
}
QString RDConfig::mysqlHostname() const
{
return conf_mysql_hostname;
@@ -509,6 +533,11 @@ bool RDConfig::load()
conf_audio_store_xport_hostname=
profile->stringValue("AudioStore","XportHostname","localhost");
conf_font_family=profile->stringValue("Fonts","Family");
conf_font_button_size=profile->intValue("Fonts","ButtonSize",-1);
conf_font_label_size=profile->intValue("Fonts","LabelSize",-1);
conf_font_data_size=profile->intValue("Fonts","DataSize",-1);
conf_provisioning_create_host=
profile->boolValue("Provisioning","CreateHost");
conf_provisioning_host_template=
@@ -675,6 +704,10 @@ void RDConfig::clear()
conf_audio_store_mount_type="";
conf_audio_store_mount_options=RD_DEFAULT_AUDIO_STORE_MOUNT_OPTIONS;
conf_audio_store_xport_hostname="";
conf_font_family="";
conf_font_button_size=-1;
conf_font_label_size=-1;
conf_font_data_size=-1;
conf_audio_store_cae_hostname="";
conf_jack_ports[0].clear();
conf_jack_ports[1].clear();