void BtAboutDialog::init_lic_tab()
{
	selectTab(4);
	setTabText(tr("License Agreement"));

	QByteArray text;
	text += tr("BibleTime is released under the GPL licence.");
	text += tr("You can download and use (but not distribute) the program for personal, private, public or commercial purposes without restrictions.");
	text += tr("You can give away or distribute the program if you also distribute the corresponding source code.");
	text += "<br><br>";
	text += tr("The complete legally binding license is below.");

	QFile licFile(util::filesystem::DirectoryUtil::getLicenseDir().path() + "/license.html");
	if (licFile.open(QFile::ReadOnly))
	{
		QByteArray html;
		while (!licFile.atEnd())
		{
			QByteArray line = licFile.readLine();
			html = html + line;
		}
		licFile.close();
		html.replace("TRANSLATED TEXT", text);
		setHtml(QString(html));
	}
}
Пример #2
0
void TabBar::mousePressEvent( QMouseEvent* event )
{
    StatusBar::hideDownloadManager();

    if ( ( event->button() == Qt::RightButton ) &&
            ( selectTab( event->pos() ) != -1 ) )
    {
        emit tabRightClicked( selectTab( event->pos() ), event->globalPos() );
    }
    else if ( ( event->button() == Qt::MiddleButton ) &&
              ( selectTab( event->pos() ) != -1 ) )
    {
        emit tabMiddleClicked( selectTab( event->pos() ), event->globalPos() );
    }

    QTabBar::mousePressEvent( event );
}
Пример #3
0
void KTabBar::activateDragSwitchTab()
{
  int tab = selectTab( mapFromGlobal( QCursor::pos() ) );
  if ( tab != -1 && d->mDragSwitchTab == tab )
    setCurrentIndex( d->mDragSwitchTab );

  d->mDragSwitchTab = 0;
}
Пример #4
0
void TabBar::mousePressEvent(QMouseEvent *e)
{
  if (e->button() == RightButton) {
      QTab *tab = selectTab( e->pos() );
      QWidget* page;
      page = tab ? _tabWidget->page( indexOf( tab->identifier() ) ) :0;

      QPopupMenu popup, popup1, popup2, popup3;
      if (page) {
        TraceItemView::Position p = _tabView->tabPosition(page);
        if (p != TraceItemView::Top) {
          popup.insertItem(i18n("Move to Top"), 81);
          popup2.insertItem(i18n("Top"), 91);
        }
        if (p != TraceItemView::Right) {
          popup.insertItem(i18n("Move to Right"), 82);
          popup2.insertItem(i18n("Right"), 92);
        }
        if (p != TraceItemView::Bottom) {
          popup.insertItem(i18n("Move to Bottom"), 83);
          popup2.insertItem(i18n("Bottom"), 93);
        }
        if (p != TraceItemView::Left) {
          popup.insertItem(i18n("Move to Bottom Left"), 84);
          popup2.insertItem(i18n("Bottom Left"), 94);
        }
        popup.insertItem(i18n("Move Area To"), &popup2, 2);
        popup.insertSeparator();
        popup.insertItem(i18n("Hide This Tab"), 80);
        popup.insertItem(i18n("Hide Area"), 90);

        if (_tabView->visibleTabs() <2) {
          popup.setItemEnabled(80, false);
          popup.setItemEnabled(90, false);
        }
        else if (_tabView->visibleAreas() <2)
          popup.setItemEnabled(90, false);
      }
      popup3.insertItem(i18n("Top"), 101);
      popup3.insertItem(i18n("Right"), 102);
      popup3.insertItem(i18n("Bottom"), 103);
      popup3.insertItem(i18n("Bottom Left"), 104);
      popup.insertItem(i18n("Show Hidden On"), &popup3, 3);

      int r = popup.exec( mapToGlobal( e->pos() ) );

      TraceItemView::Position p = TraceItemView::Hidden;
      if ((r % 10) == 1) p = TraceItemView::Top;
      if ((r % 10) == 2) p = TraceItemView::Right;
      if ((r % 10) == 3) p = TraceItemView::Bottom;
      if ((r % 10) == 4) p = TraceItemView::Left;

      if (r>=80 && r<100) _tabView->moveTab(page, p, r>=90);
      if (r>=100 && r<110) _tabView->moveTab(0, p, true);
  }

  QTabBar::mousePressEvent( e );
}
Пример #5
0
void KTabBar::mouseDoubleClickEvent( QMouseEvent *e )
{
    QTab *tab = selectTab( e->pos() );
    if( tab!= 0L ) {
        emit( mouseDoubleClick( indexOf( tab->identifier() ) ) );
        return;
    }
    QTabBar::mouseDoubleClickEvent( e );
}
Пример #6
0
bool ZLOptionsDialog::run() {
	selectTab(ZLResourceKey(TabOption.value()));
	bool code = runInternal();
	if (code) {
		accept();
	}
	TabOption.setValue(selectedTabKey());
	return code;
}
void BtAboutDialog::init_contributors_tab()
{
	selectTab(1);
	setTabText(tr("Contributors"));
	QString content;
	content += make_bold(tr("The following people contributed to BibleTime:")) + make_br();
	// sorted alphabetically (last name)
	content += "<ul>";
	content += "<li>Thomas Abthorpe (" + tr("documentation and translation manager") + ")</li>";
	content += "<li>Joachim Ansorg (" + tr("project founder, developer") + ")</li>";
	content += "<li>David Blue (" + tr("designer") + ")</li>";
	content += "<li>Tim Brodie (" + tr("developer") + ")</li>";
	content += "<li>Timothy R. Butler (" + tr("designer") + ")</li>";
	content += "<li>Jim Campbell (" + tr("developer") + ")</li>";
	content += "<li>Lee Carpenter (" + tr("developer") + ")</li>";
	content += "<li>Jeremy Erickson (" + tr("packager") + ")</li>";
	content += "<li>Troy A. Griffitts (" + tr("creator of The Sword Project") + ")</li>";
	content += "<li>Martin Gruner (" + tr("project manager, developer") + ")</li>";
	content += "<li>Thomas Hagedorn (" + tr("domain sponsor") + ")</li>";
	content += "<li>Bob Harman (" + tr("howto") + ")</li>";
	content += "<li>Gary Holmlund (" + tr("developer") + ")</li>";
	content += "<li>Nikolay Igotti (" + tr("developer") + ")</li>";
	content += "<li>Eeli Kaikkonnen (" + tr("developer") + ")</li>";
	content += "<li>Chris Kujawa (" + tr("developer") + ")</li>";
	content += "<li>Mark Lybarger (" + tr("developer") + ")</li>";
	content += "<li>Luke Mauldin (" + tr("developer") + ")</li>";
	content += "<li>James Ots (" + tr("designer") + ")</li>";
	content += "<li>Fred Saalbach (" + tr("documentation") + ")</li>";
	content += "<li>Gary Sims (" + tr("developer") + ")</li>";
	content += "<li>Wolfgang Stradner (" + tr("tester, usability expert") + ")</li>";
	content += "<li>Thorsten Uhlmann (" + tr("developer") + ")</li>";
	content += "<li>David White (" + tr("developer") + ")</li>";
	content += "<li>Mark Zealey (" + tr("developer") + ")</li>";
	content += "</ul>";

	content += make_bold(tr("The following people translated BibleTime into their language:")) + make_br();
	// sorted alphabetically (last name)
	content += "<ul>";
	content += "<li>Horatiu Alexe</li>";
	content += "<li>Chun-shek Chan</li>";
	content += "<li>Ilpo Kantonen</li>";
	content += "<li>Pavel Laukko</li>";
	content += "<li>Piotr Markiewicz</li>";
	content += "<li>Gabriel P&eacute;rez</li>";
	content += "<li>Igor Plisco</li>";
	content += "<li>Igor Rykhlin</li>";
	content += "<li>Vlad Savitsky</li>";
	content += "<li>Johan van der Lingen</li>";
	content += "<li>Jean Van Schaftingen</li>";
	content += "<li>Dmitry Yurevich</li>";
	content += "<li>Esteban Zeller</li>";
	content += "</ul>";

	QString contributors = make_html(make_head("") + make_body(content));
	setHtml(contributors);
}
void TabSwitcherWidget::keyPressEvent(QKeyEvent *event)
{
	if (event->key() == Qt::Key_Tab || event->key() == Qt::Key_Down)
	{
		selectTab(true);
	}
	else if (event->key() == Qt::Key_Backtab || event->key() == Qt::Key_Up)
	{
		selectTab(false);
	}
	else if (event->key() == Qt::Key_Enter || event->key() == Qt::Key_Return)
	{
		accept();
	}
	else if (event->key() == Qt::Key_Escape)
	{
		hide();
	}
}
Пример #9
0
			bool entityGUISkills::handleEvent(ALLEGRO_EVENT &e){
				dragHandleEvent(e);
				skillSlotArray.HandleEvent(e,x,y);
				if (e.type==ALLEGRO_EVENT_MOUSE_BUTTON_DOWN) {
					if (gameEngine::globalFunctions::pointInRegion2(e.mouse.x,e.mouse.y,x+7,y+34,65,27)) {
						selectTab(0);
					}
				}
				return false;
			}
Пример #10
0
void Spellbook::update(const sf::Time& frameTime) {
	if (!m_isVisible) return;

	m_tabBar->update(frameTime);
	int activeIndex = m_tabBar->getActiveTabIndex();
	SpellType type;
	if (activeIndex == 0) {
		type = SpellType::VOID;
	}
	else if (activeIndex == 1) {
		type = SpellType::Elemental;
	}
	else if (activeIndex == 2) {
		type = SpellType::Divine;
	}
	else if (activeIndex == 3) {
		type = SpellType::Necromancy;
	}
	else if (activeIndex == 4) {
		type = SpellType::Twilight;
	}

	if (m_tabBar->getTabButton(activeIndex)->isClicked() && m_currentTab != type) {
		selectTab(type);
	}

	// update weapon part
	m_weaponWindow->update(frameTime);

	if (m_currentTab == SpellType::VOID) {
		// handle gems
		for (auto& it : m_modifierSlots) {
			it.update(frameTime);
			if (it.isClicked()) {
				selectModifierSlot(&it);
				return;
			}
		}
	}
	else {
		// handle spells
		for (auto& it : *(m_typeMap[m_currentTab])) {
			it.first.update(frameTime);
			if (it.first.isClicked()) {
				selectSpellSlot(&it.first);
				return;
			}
		}
	}

	if (!m_isModifiable) return;

	handleDragAndDrop();
}
Пример #11
0
void LLSideTrayPanelContainer::openPreviousPanel()
{
	if(!mDefaultPanelName.empty())
	{
		selectTabByName(mDefaultPanelName);
	}
	else
	{
		selectTab(0);
	}
}
Пример #12
0
void KTabBar::dropEvent( QDropEvent *e )
{
    QTab *tab = selectTab( e->pos() );
    if( tab!= 0L ) {
        mActivateDragSwitchTabTimer->stop();
        mDragSwitchTab = 0;
        emit( receivedDropEvent( indexOf( tab->identifier() ) , e ) );
        return;
    }
    QTabBar::dropEvent( e );
}
Пример #13
0
			entityGUISkills::entityGUISkills() : abstractDraggableWindow(106,27){
				background = gameEngine::resources::graphics.loadBitmap(":gameGui:guiSkillBackground.png");
			closeButtonImage = gameEngine::resources::graphics.loadBitmap(":gameGui:guiCloseButton.png");
			tabPanels[0] = gameEngine::resources::graphics.loadBitmap(":gameGui:guiSkillsTabSkillsBackground.png");

			skillEntryTextBackground = gameEngine::resources::graphics.loadBitmap(":gameGui:skillTextBox.png");
			nameFont = gameEngine::resources::fonts.loadFont(":gameGui:mainFont.ttf",16);
			levelFont = gameEngine::resources::fonts.loadFont(":gameGui:mainFont.ttf",10);
			 closeButton = new GUI::widgets::button(closeButtonImage,GUI::widgets::HOVER_HIGHLIGHT);
			selectTab(0);
			RefreshSkills();
			}
Пример #14
0
void KTabBar::dropEvent( QDropEvent *event )
{
  int tab = selectTab( event->pos() );
  if ( tab != -1 ) {
    d->mActivateDragSwitchTabTimer->stop();
    d->mDragSwitchTab = 0;
    emit receivedDropEvent( tab , event );
    return;
  }

  QTabBar::dropEvent( event );
}
Пример #15
0
void PatVerticalTabWidget::previousTab()
{
  int size = m_buttonGroup->buttons().size(),
      previousIndex = (((currentIndex < 0 ? -1 : currentIndex - 1) % size) + size) % size;
  for(int i = 0; i < size; i++)
  {
    if (!m_buttonGroup->button(previousIndex)->isEnabled()){
      previousIndex = (((previousIndex - 1) % size) + size) % size;
    }else{
      selectTab(previousIndex);
    }
  }
}
Пример #16
0
void PatVerticalTabWidget::nextTab()
{
  int size = m_buttonGroup->buttons().size(),
      nextIndex = (currentIndex + 1) % size;
  for(int i = 0; i < size; i++)
  {
    if (!m_buttonGroup->button(nextIndex)->isEnabled()){
      nextIndex = (nextIndex + 1) % size;
    }else{
      selectTab(nextIndex);
    }
  }
}
Пример #17
0
BOOL LLTabContainer::selectTabPanel(LLPanel* child)
{
	S32 idx = 0;
	for(tuple_list_t::iterator iter = mTabList.begin(); iter != mTabList.end(); ++iter)
	{
		LLTabTuple* tuple = *iter;
		if( tuple->mTabPanel == child )
		{
			return selectTab( idx );
		}
		idx++;
	}
	return FALSE;
}
Пример #18
0
void Spellbook::init() {
	// init window
	sf::FloatRect box(GUIConstants::LEFT, GUIConstants::TOP, WIDTH, HEIGHT);
	m_window = new Window(box,
		WindowOrnamentStyle::FANCY,
		GUIConstants::MAIN_COLOR,
		GUIConstants::BACK_COLOR,
		GUIConstants::ORNAMENT_COLOR);

	// init text
	m_selectedTabText.setPosition(sf::Vector2f(GUIConstants::LEFT + GUIConstants::TEXT_OFFSET, GUIConstants::TOP + GUIConstants::TEXT_OFFSET));
	m_selectedTabText.setColor(COLOR_WHITE);
	m_selectedTabText.setCharacterSize(GUIConstants::CHARACTER_SIZE_M);

	// tabbar
	int nTabs = 5;
	float width = nTabs * BUTTON_SIZE.x;
	float height = BUTTON_SIZE.y;
	float x = GUIConstants::LEFT + 0.5f * (Spellbook::WIDTH - width);
	float y = GUIConstants::TOP + GUIConstants::TEXT_OFFSET + GUIConstants::CHARACTER_SIZE_M + 2 * MARGIN;

	m_tabBar = new TexturedTabBar(sf::FloatRect(x, y, width, height), nTabs);

	m_tabBar->getTabButton(0)->setTexture(g_resourceManager->getTexture(ResourceID::Texture_gems), sf::IntRect(50, 0, 50, 50));
	m_tabBar->getTabButton(1)->setTexture(g_resourceManager->getTexture(ResourceID::Texture_GUI_spell_color_elemental), sf::IntRect(50, 50, 400, 400));
	m_tabBar->getTabButton(1)->setTextureColor(COLOR_ELEMENTAL);
	m_tabBar->getTabButton(2)->setTexture(g_resourceManager->getTexture(ResourceID::Texture_GUI_spell_color_divine), sf::IntRect(50, 50, 400, 400));
	m_tabBar->getTabButton(2)->setTextureColor(COLOR_DIVINE);
	m_tabBar->getTabButton(3)->setTexture(g_resourceManager->getTexture(ResourceID::Texture_GUI_spell_color_necromancy), sf::IntRect(50, 50, 400, 400));
	m_tabBar->getTabButton(3)->setTextureColor(COLOR_NECROMANCY);
	m_tabBar->getTabButton(4)->setTexture(g_resourceManager->getTexture(ResourceID::Texture_GUI_spell_color_twilight), sf::IntRect(50, 50, 400, 400));
	m_tabBar->getTabButton(4)->setTextureColor(COLOR_TWILIGHT);


	// fill the helper map
	m_typeMap.insert({
		{ SpellType::Twilight, &m_twilightSlots },
		{ SpellType::Divine, &m_divineSlots },
		{ SpellType::Elemental, &m_elementalSlots },
		{ SpellType::Necromancy, &m_necromancySlots }
	});

	selectTab(SpellType::VOID);

	delete m_weaponWindow;
	m_weaponWindow = new WeaponWindow(m_core, m_isModifiable);

	reload();
}
Пример #19
0
void KTabBar::mousePressEvent( QMouseEvent *e )
{
    if( e->button() == LeftButton ) {
        mEnableCloseButtonTimer->stop();
        mDragStart = e->pos();
    }
    else if( e->button() == RightButton ) {
        QTab *tab = selectTab( e->pos() );
        if( tab!= 0L ) {
            emit( contextMenu( indexOf( tab->identifier() ), mapToGlobal( e->pos() ) ) );
            return;
        }
    }
    QTabBar::mousePressEvent( e );
}
Пример #20
0
void Spellbook::update(const sf::Time& frameTime)
{
	if (!m_isVisible) return;

	for (auto& it : m_tabs)
	{
		it.first.update(frameTime);
		if (it.first.isClicked() && m_currentTab != it.second)
		{
			selectTab(it.second);
			return;
		}
	}

	// update weapon part
	m_weaponWindow->update(frameTime);

	if (!m_isClickable) return;

	if (m_currentTab == SpellType::VOID)
	{
		// handle gems
		for (auto& it : m_modifierSlots)
		{
			it.update(frameTime);
			if (it.isClicked())
			{
				selectModifierSlot(&it);
				return;
			}
		}
	}
	else
	{
		// handle spells
		for (auto& it : *(m_typeMap[m_currentTab]))
		{
			it.first.update(frameTime);
			if (it.first.isClicked())
			{
				selectSpellSlot(&it.first);
				return;
			}
		}
	}

	handleDragAndDrop();
}
Пример #21
0
//! called if an event happened.
bool CGUITabControl::OnEvent(const SEvent& event)
{
	if (IsEnabled)
	{

		switch(event.EventType)
		{
		case EET_GUI_EVENT:
			switch(event.GUIEvent.EventType)
			{
			case EGET_BUTTON_CLICKED:
				if (event.GUIEvent.Caller == UpButton)
				{
					scrollLeft();
					return true;
				}
				else if (event.GUIEvent.Caller == DownButton)
				{
					scrollRight();
					return true;
				}

			break;
			default:
			break;
			}
			break;
		case EET_MOUSE_INPUT_EVENT:
			switch(event.MouseInput.Event)
			{
			case EMIE_LMOUSE_PRESSED_DOWN:
				// todo: dragging tabs around
				return true;
			case EMIE_LMOUSE_LEFT_UP:
				if (selectTab(core::position2d<s32>(event.MouseInput.X, event.MouseInput.Y)))
					return true;
				break;
			default:
				break;
			}
			break;
		default:
			break;
		}
	}

	return IGUIElement::OnEvent(event);
}
Пример #22
0
void UserTabBar::mousePressEvent(QMouseEvent *e)
{
    if (e->button() == RightButton){
        QTab *t = selectTab(e->pos());
        if (t == NULL) return;
        UserTab *tab = static_cast<UserTab*>(t);
        ProcessMenuParam mp;
        mp.id = MenuContact;
        mp.param = (void*)(tab->wnd()->id());
        mp.key = 0;
        Event eMenu(EventProcessMenu, &mp);
        QPopupMenu *menu = (QPopupMenu*)eMenu.process();
        if (menu)
            menu->popup(e->globalPos());
        return;
    }
    QTabBar::mousePressEvent(e);
}
Пример #23
0
void KTabBar::dragMoveEvent( QDragMoveEvent *e )
{
    QTab *tab = selectTab( e->pos() );
    if( tab!= 0L ) {
        bool accept = false;
        // The receivers of the testCanDecode() signal has to adjust
        // 'accept' accordingly.
        emit testCanDecode( e, accept);
        if ( accept && tab != QTabBar::tab( currentTab() ) ) {
          mDragSwitchTab = tab;
          mActivateDragSwitchTabTimer->start( QApplication::doubleClickInterval()*2, true );
        }
        e->accept( accept );
        return;
    }
    e->accept( false );
    QTabBar::dragMoveEvent( e );
}
Пример #24
0
void KTabBar::mouseDoubleClickEvent( QMouseEvent *event )
{
  if ( event->button() != Qt::LeftButton )
    return;

  int tab = selectTab( event->pos() );

  if(tab == -1) {
    emit newTabRequest();
  } else {
#ifndef KDE_NO_DEPRECATED
    emit mouseDoubleClick( tab ); //deprecated
#endif
    emit tabDoubleClicked( tab );
  }

  QTabBar::mouseDoubleClickEvent( event );
}
void BtAboutDialog::init_sword_tab()
{
	selectTab(2);
	setTabText("Sword" );

	QString version( sword::SWVersion::currentVersion.getText());
	QString content = make_br() + make_br();
	content += make_center(make_bold("Sword Version " + version));
	content += make_br();

	content += "BibleTime makes use of the SWORD Project. The SWORD Project is the CrossWire Bible Society's free Bible software project. Its purpose is to create cross-platform open-source tools-- covered by the GNU General Public License-- that allow programmers and Bible societies to write new Bible software more quickly and easily.";
	content += make_br() + make_br();
	content += "The SWORD Project" + make_br();
	content += make_link("http://www.crosswire.org/sword/index.jsp","www.crosswire.org/sword/index.jsp");

	setHtml(content);

}
Пример #26
0
void KTabBar::mouseReleaseEvent( QMouseEvent *e )
{
    if( e->button() == MidButton ) {
        QTab *tab = selectTab( e->pos() );
        if ( mReorderStartTab==-1 ) {
            if( tab!= 0L ) {
                emit( mouseMiddleClick( indexOf( tab->identifier() ) ) );
                return;
            }
        }
        else {
            releaseMouse();
            setCursor( arrowCursor );
            mReorderStartTab=-1;
            mReorderPreviousTab=-1;
        }
    }
    QTabBar::mouseReleaseEvent( e );
}
Пример #27
0
void KTabBar::dragMoveEvent( QDragMoveEvent *event )
{
  int tab = selectTab( event->pos() );
  if ( tab != -1 ) {
    bool accept = false;
    // The receivers of the testCanDecode() signal has to adjust
    // 'accept' accordingly.
    emit testCanDecode( event, accept );
    if ( accept && tab != currentIndex() ) {
      d->mDragSwitchTab = tab;
      d->mActivateDragSwitchTabTimer->start( QApplication::doubleClickInterval() * 2 );
    }

    event->setAccepted( accept );
    return;
  }

  QTabBar::dragMoveEvent( event );
}
Пример #28
0
void LLTabContainer::selectNextTab()
{
	BOOL tab_has_focus = FALSE;
	if (mCurrentTabIdx >= 0 && mTabList[mCurrentTabIdx]->mButton->hasFocus())
	{
		tab_has_focus = TRUE;
	}
	S32 idx = mCurrentTabIdx+1;
	if (idx >= (S32)mTabList.size())
		idx = 0;
	while (!selectTab(idx) && idx != mCurrentTabIdx)
	{
		idx = (idx + 1 ) % (S32)mTabList.size();
	}

	if (tab_has_focus)
	{
		mTabList[idx]->mButton->setFocus(TRUE);
	}
}
Пример #29
0
/// PUBLIC SLOTS
void UUnitedFindReplaceTextDialog::setLanguage(QString pathToTheFileLanguage)
{
    emit languageIsChange(pathToTheFileLanguage);

    findReplaceTextDialog->setLanguage(pathToTheFileLanguage);
    findTextDialog->setLanguage(pathToTheFileLanguage);

    QSettings ini(pathToTheFileLanguage,
                       QSettings::IniFormat);
    ini.setIniCodec(QTextCodec::codecForName(textCodec.toUtf8()));

    ini.beginGroup("FindReplaceTextDialog");

    tabWidget->setTabText(0, ini.value("FindTitle").toString());
    tabWidget->setTabText(1, ini.value("FindReplaceTitle").toString());

    ini.endGroup();

    selectTab(tabWidget->currentIndex());
}
void BtAboutDialog::init_bt_tab()
{
	selectTab(0);
	setTabText("BibleTime" );
	QString content;
	content = make_file_icon("bibletime");
	content += "&nbsp;&nbsp;";
	content += make_bold("BibleTime " + make_version());
	content = make_center(content) + make_br();
	content += tr("BibleTime is an easy to use but powerful Bible study tool.");
	content += make_br() + make_br();
	content += tr("We are looking for developers and translators.");
	content += tr("If you would like to join our team, please send an email to [email protected].");
	content += make_br() + make_br();
	content += tr("(c)1999-2009, The BibleTime Team");
	content += make_br();
	content += make_link("http://www.bibletime.info","http://www.bibletime.info");
	QString bibletime = make_html(make_head("") + make_body(content));
	setHtml(bibletime);
}