1
0
mirror of https://github.com/fwbuilder/fwbuilder synced 2026-03-22 19:27:13 +01:00

* FWWindow.cpp (FWWindow::startupLoad): final (hopefully) design

of the welcome/startup window. Always showing startup tip dialog;
added buttons to show "Getting started" and "summary of features"
to the same dialog window. Fixes #1224
This commit is contained in:
Vadim Kurland 2010-03-08 00:53:44 +00:00
parent 46386f147b
commit 02c45cb50d
3 changed files with 16 additions and 20 deletions

View File

@ -1 +1 @@
#define BUILD_NUM 2676
#define BUILD_NUM 2684

View File

@ -1,11 +1,18 @@
2010-03-07 vadim <vadim@vk.crocodile.org>
* FWWindow.cpp (FWWindow::startupLoad): final (hopefully) design
of the welcome/startup window. Always showing startup tip dialog;
added buttons to show "Getting started" and "summary of features"
to the same dialog window. Fixes #1224
2010-02-28 yalovoy <yalovoy@gmail.com>
* refs #1202: Main menu "Rules" does not match rule context menu
Items in the main menu Rules should get disabled and enabled just
like items in the context menu do.
Added action: copyRuleAction; cutRuleAction; pasteRuleAboveAction;
pasteRuleBelowAction; disableRuleAction; enableRuleAction;
setColorEmptyAction; setColorRedAction; setColorBlueAction;
setColorOrangeAction; setColorPurpleAction; setColorGrayAction;
setColorEmptyAction; setColorRedAction; setColorBlueAction;
setColorOrangeAction; setColorPurpleAction; setColorGrayAction;
setColorYellowAction; setColorGreenAction;
Affected files:
FWWindow.cpp

View File

@ -512,6 +512,12 @@ void FWWindow::updateWindowTitle()
void FWWindow::startupLoad()
{
if (! st->getBool("UI/NoStartTip"))
{
StartTipDialog *stdlg = new StartTipDialog(this);
stdlg->run();
}
if (st->getCheckUpdates())
{
QString update_url = CHECK_UPDATE_URL;
@ -546,23 +552,6 @@ void FWWindow::startupLoad()
updateOpenRecentMenu(file);
}
QString welcome_flag = QString("UI/%1/WelcomeShown").arg(VERSION);
if (!st->getBool(welcome_flag))
{
showWelcome();
st->setBool(welcome_flag, true);
} else
{
// show tip of the day only if we did not show release notes.
// Two start-time pop-up dialogs == bad.
if (! st->getBool("UI/NoStartTip"))
{
StartTipDialog *stdlg = new StartTipDialog(this);
stdlg->run();
}
}
prepareFileMenu();
}