LogBookConfigDialog.cpp   LogBookConfigDialog.cpp 
skipping to change at line 93 skipping to change at line 93
#pragma mark StelModule Methods #pragma mark StelModule Methods
#endif #endif
/* ********************************************************************* */ /* ********************************************************************* */
void LogBookConfigDialog::languageChanged() void LogBookConfigDialog::languageChanged()
{ {
if (dialog) { if (dialog) {
ui->retranslateUi(dialog); ui->retranslateUi(dialog);
} }
} }
void LogBookConfigDialog::setStelStyle(const StelStyle& style)
{
if(dialog) {
dialog->setStyleSheet(style.qtStyleSheet);
}
}
void LogBookConfigDialog::styleChanged() void LogBookConfigDialog::styleChanged()
{ {
// Nothing for now // Nothing for now
} }
/* ********************************************************************* */ /* ********************************************************************* */
#if 0 #if 0
#pragma mark - #pragma mark -
#pragma mark Public Slot Methods #pragma mark Public Slot Methods
#endif #endif
skipping to change at line 129 skipping to change at line 122
#pragma mark - #pragma mark -
#pragma mark Protected Methods #pragma mark Protected Methods
#endif #endif
/* ********************************************************************* */ /* ********************************************************************* */
void LogBookConfigDialog::createDialogContent() void LogBookConfigDialog::createDialogContent()
{ {
ui->setupUi(dialog); ui->setupUi(dialog);
connect(ui->closeStelWindow, SIGNAL(clicked()), this, SLOT(close())) ; connect(ui->closeStelWindow, SIGNAL(clicked()), this, SLOT(close())) ;
setupWidgets(); setupWidgets();
setupListViews(); setupListViews();
//Initialize the style
setStelStyle(*StelApp::getInstance().getCurrentStelStyle());
} }
void LogBookConfigDialog::setupListViews() void LogBookConfigDialog::setupListViews()
{ {
barlowsWidget->barlowsListView->setModel(tableModels[BARLOWS]); barlowsWidget->barlowsListView->setModel(tableModels[BARLOWS]);
barlowsWidget->barlowsListView->setModelColumn(1); barlowsWidget->barlowsListView->setModelColumn(1);
new BarlowsDataMapper(barlowsWidget, tableModels, this); new BarlowsDataMapper(barlowsWidget, tableModels, this);
filtersWidget->filtersListView->setModel(tableModels[FILTERS]); filtersWidget->filtersListView->setModel(tableModels[FILTERS]);
filtersWidget->filtersListView->setModelColumn(1); filtersWidget->filtersListView->setModelColumn(1);
 End of changes. 2 change blocks. 
10 lines changed or deleted 0 lines changed or added

This html diff was produced by rfcdiff 1.41. The latest version is available from http://tools.ietf.org/tools/rfcdiff/