1 |
/* |
/* |
2 |
* Copyright (C) 2006-2015 Andreas Persson |
* Copyright (C) 2006-2016 Andreas Persson |
3 |
* |
* |
4 |
* This program is free software; you can redistribute it and/or |
* This program is free software; you can redistribute it and/or |
5 |
* modify it under the terms of the GNU General Public License as |
* modify it under the terms of the GNU General Public License as |
1463 |
dialog.set_name("Gigedit"); |
dialog.set_name("Gigedit"); |
1464 |
#endif |
#endif |
1465 |
dialog.set_version(VERSION); |
dialog.set_version(VERSION); |
1466 |
dialog.set_copyright("Copyright (C) 2006-2015 Andreas Persson"); |
dialog.set_copyright("Copyright (C) 2006-2016 Andreas Persson"); |
1467 |
const std::string sComment = |
const std::string sComment = |
1468 |
_("Built " __DATE__ "\nUsing ") + |
_("Built " __DATE__ "\nUsing ") + |
1469 |
::gig::libraryName() + " " + ::gig::libraryVersion() + "\n\n" + |
::gig::libraryName() + " " + ::gig::libraryVersion() + "\n\n" + |
2340 |
if (!script) return; |
if (!script) return; |
2341 |
|
|
2342 |
ScriptEditor* editor = new ScriptEditor; |
ScriptEditor* editor = new ScriptEditor; |
2343 |
|
editor->signal_script_to_be_changed.connect( |
2344 |
|
signal_script_to_be_changed.make_slot() |
2345 |
|
); |
2346 |
|
editor->signal_script_changed.connect( |
2347 |
|
signal_script_changed.make_slot() |
2348 |
|
); |
2349 |
editor->setScript(script); |
editor->setScript(script); |
2350 |
//editor->reparent(*this); |
//editor->reparent(*this); |
2351 |
editor->show(); |
editor->show(); |
3088 |
if (!script) return; |
if (!script) return; |
3089 |
|
|
3090 |
ScriptEditor* editor = new ScriptEditor; |
ScriptEditor* editor = new ScriptEditor; |
3091 |
|
editor->signal_script_to_be_changed.connect( |
3092 |
|
signal_script_to_be_changed.make_slot() |
3093 |
|
); |
3094 |
|
editor->signal_script_changed.connect( |
3095 |
|
signal_script_changed.make_slot() |
3096 |
|
); |
3097 |
editor->setScript(script); |
editor->setScript(script); |
3098 |
//editor->reparent(*this); |
//editor->reparent(*this); |
3099 |
editor->show(); |
editor->show(); |