void HelpPopup::DoInitDialog() { ToLog(LOGMSG_DEBUGTRACE,"IN:HelpPopup::DoInitDialog"); if (HelpEngine) { ui->HelpBrowserWidget->HelpEngine=HelpEngine; ui->ContentWidget->InitHelpEngine(HelpEngine); ui->FollowInterfaceCB->setChecked(*WikiFollowInterface); ui->HelpSplitter->setStretchFactor(0,1); ui->HelpSplitter->setStretchFactor(1,3); connect(ui->HelpBrowserWidget,SIGNAL(historyChanged()),SLOT(PageChanged())); connect(ui->HelpBrowserWidget,SIGNAL(sourceChanged(QUrl)),SLOT(SourceChanged(QUrl))); connect(ui->ContentWidget,SIGNAL(clicked(QModelIndex)),this,SLOT(UpdateUrl(QModelIndex))); connect(ui->ContentWidget,SIGNAL(collapsed(QModelIndex)),this,SLOT(CollapsedOrExpanded(QModelIndex))); connect(ui->ContentWidget,SIGNAL(expanded(QModelIndex)),this,SLOT(CollapsedOrExpanded(QModelIndex))); connect(ui->ExitBT,SIGNAL(pressed()),this,SLOT(Exit())); connect(ui->PreviousBT,SIGNAL(pressed()),this,SLOT(Back())); connect(ui->NextBT,SIGNAL(pressed()),this,SLOT(Next())); connect(ui->CCBYSABT,SIGNAL(pressed()),this,SLOT(CCBYSABT())); connect(ui->HomeBT,SIGNAL(pressed()),this,SLOT(Home())); connect(ui->WebSiteBT,SIGNAL(pressed()),this,SLOT(WebSite())); connect(ui->ForumBT,SIGNAL(pressed()),this,SLOT(Forum())); connect(ui->FollowInterfaceCB,SIGNAL(clicked()),this,SLOT(Follow())); PageChanged(); } }
SvnSyncDialog::SvnSyncDialog(wxWindow* parent, Subversion2* plugin, const wxString& rootDir, bool excludeBin, const wxString& excludeExtensions) : SvnSyncDialogBaseClass(parent) , m_plugin(plugin) , m_rootDir(rootDir) , m_excludeExtensions(excludeExtensions) , m_excludeBin(excludeBin) { m_dirPickerRootDir->SetInitialDirectory(m_rootDir.IsEmpty() ? wxGetCwd() : m_rootDir); m_dirPickerRootDir->SetPath(m_rootDir.IsEmpty() ? wxGetCwd() : m_rootDir); m_textCtrlExclude->SetValue(m_excludeExtensions); m_checkBoxBin->SetValue(m_excludeBin); UpdateUrl(m_rootDir); SetName("SvnSyncDialog"); WindowAttrManager::Load(this); }