Changeset View
Changeset View
Standalone View
Standalone View
kstars/ekos/profileeditor.cpp
Context not available. | |||||
24 | 24 | | |||
---|---|---|---|---|---|
25 | ProfileEditor::ProfileEditor(QWidget *w) : QDialog(w) | 25 | ProfileEditor::ProfileEditor(QWidget *w) : QDialog(w) | ||
26 | { | 26 | { | ||
27 | setObjectName("profileEditorDialog"); | ||||
27 | #ifdef Q_OS_OSX | 28 | #ifdef Q_OS_OSX | ||
28 | setWindowFlags(Qt::Tool | Qt::WindowStaysOnTopHint); | 29 | setWindowFlags(Qt::Tool | Qt::WindowStaysOnTopHint); | ||
29 | #endif | 30 | #endif | ||
Context not available. | |||||
38 | setWindowTitle(i18n("Profile Editor")); | 39 | setWindowTitle(i18n("Profile Editor")); | ||
39 | 40 | | |||
40 | // Create button box and link it to save and reject functions | 41 | // Create button box and link it to save and reject functions | ||
41 | QDialogButtonBox *buttonBox = new QDialogButtonBox(QDialogButtonBox::Save | QDialogButtonBox::Close); | 42 | QDialogButtonBox *buttonBox = new QDialogButtonBox(QDialogButtonBox::Save | QDialogButtonBox::Close, this); | ||
43 | | ||||
44 | buttonBox->setObjectName("dialogButtons"); | ||||
42 | mainLayout->addWidget(buttonBox); | 45 | mainLayout->addWidget(buttonBox); | ||
43 | connect(buttonBox, SIGNAL(rejected()), this, SLOT(reject())); | 46 | connect(buttonBox, SIGNAL(rejected()), this, SLOT(reject())); | ||
44 | connect(buttonBox, SIGNAL(accepted()), this, SLOT(saveProfile())); | 47 | connect(buttonBox, SIGNAL(accepted()), this, SLOT(saveProfile())); | ||
Context not available. |