Merge branch 'master' of github.com:Sankore/Sankore-3.1

preferencesAboutTextFull
ivan.ilyin 14 years ago
commit eaf2558d0f
  1. 7
      Sankore_3.1.pro
  2. 14
      lgplC++StandardHeaderFile.txt
  3. 15
      release.linux.sh
  4. 17
      release.macx.sh
  5. 15
      release.vc9.bat
  6. 26
      resources/library/interactive/Anyembed.wgt/js/ubw-main.js
  7. 20
      resources/library/interactive/Calculator.wgt/js/ubw-main.js
  8. 362
      resources/library/interactive/GeoInfo.wgt/GeoInfo.html
  9. 4
      resources/library/interactive/GeoInfo.wgt/css/GeoInfo.css
  10. BIN
      resources/library/interactive/GeoInfo.wgt/icon.png
  11. 12
      resources/library/interactive/GeoInfo.wgt/js/GeoInfo.js
  12. 2
      resources/library/interactive/GeoInfo.wgt/js/soapclient.js
  13. 2
      resources/library/interactive/Html.wgt/images/style.css
  14. 3
      resources/library/interactive/Html.wgt/index.html
  15. 2
      resources/library/interactive/Html.wgt/markitup/sets/html/set.js
  16. 56
      resources/library/interactive/Html.wgt/markitup/sets/html/style.css
  17. 1
      resources/library/interactive/Html.wgt/markitup/templates/preview.css
  18. 2
      resources/library/interactive/Notes.wgt/css/ubwidget.css
  19. 93
      resources/library/interactive/Notes.wgt/js/ubw-main.js
  20. 580
      resources/library/interactive/Stopwatch.wgt/js/ubw-main.js
  21. 122
      resources/library/interactive/VideoPicker.wgt/index.html
  22. 2
      resources/library/interactive/VideoPicker.wgt/locales/en/error.html
  23. 150
      resources/library/interactive/WebBrowser.wgt/index.html
  24. 15
      resources/linux/run.sh
  25. 15
      resources/macx/upgrade.sh
  26. 14
      src/adaptors/UBExportAdaptor.cpp
  27. 14
      src/adaptors/UBExportAdaptor.h
  28. 14
      src/adaptors/UBExportDocument.cpp
  29. 14
      src/adaptors/UBExportDocument.h
  30. 14
      src/adaptors/UBExportFullPDF.cpp
  31. 14
      src/adaptors/UBExportFullPDF.h
  32. 14
      src/adaptors/UBExportPDF.cpp
  33. 14
      src/adaptors/UBExportPDF.h
  34. 14
      src/adaptors/UBExportWeb.cpp
  35. 14
      src/adaptors/UBExportWeb.h
  36. 14
      src/adaptors/UBImportAdaptor.cpp
  37. 14
      src/adaptors/UBImportAdaptor.h
  38. 14
      src/adaptors/UBImportDocument.cpp
  39. 14
      src/adaptors/UBImportDocument.h
  40. 14
      src/adaptors/UBImportImage.cpp
  41. 14
      src/adaptors/UBImportImage.h
  42. 14
      src/adaptors/UBImportPDF.cpp
  43. 14
      src/adaptors/UBImportPDF.h
  44. 14
      src/adaptors/UBImportVirtualPrinter.cpp
  45. 14
      src/adaptors/UBIniFileParser.cpp
  46. 14
      src/adaptors/UBIniFileParser.h
  47. 14
      src/adaptors/UBMetadataDcSubsetAdaptor.cpp
  48. 14
      src/adaptors/UBMetadataDcSubsetAdaptor.h
  49. 14
      src/adaptors/UBSvgSubsetAdaptor.cpp
  50. 14
      src/adaptors/UBSvgSubsetAdaptor.h
  51. 14
      src/adaptors/UBThumbnailAdaptor.cpp
  52. 14
      src/adaptors/UBThumbnailAdaptor.h
  53. 14
      src/adaptors/UBWebPublisher.cpp
  54. 14
      src/adaptors/UBWebPublisher.h
  55. 14
      src/adaptors/publishing/UBAbstractPublisher.cpp
  56. 14
      src/adaptors/publishing/UBAbstractPublisher.h
  57. 14
      src/adaptors/publishing/UBCapturePublisher.cpp
  58. 14
      src/adaptors/publishing/UBCapturePublisher.h
  59. 14
      src/adaptors/publishing/UBDocumentPublisher.cpp
  60. 14
      src/adaptors/publishing/UBDocumentPublisher.h
  61. 14
      src/adaptors/publishing/UBSvgSubsetRasterizer.cpp
  62. 14
      src/adaptors/publishing/UBSvgSubsetRasterizer.h
  63. 14
      src/adaptors/voting/UBAbstractVotingSystem.cpp
  64. 14
      src/adaptors/voting/UBAbstractVotingSystem.h
  65. 14
      src/adaptors/voting/UBReply2005VotingSystem.cpp
  66. 14
      src/adaptors/voting/UBReply2005VotingSystem.h
  67. 14
      src/adaptors/voting/UBReplyWRS970VotingSystem.cpp
  68. 14
      src/adaptors/voting/UBReplyWRS970VotingSystem.h
  69. 14
      src/api/UBLibraryAPI.cpp
  70. 14
      src/api/UBLibraryAPI.h
  71. 14
      src/api/UBW3CWidgetAPI.cpp
  72. 14
      src/api/UBW3CWidgetAPI.h
  73. 14
      src/api/UBWidgetMessageAPI.cpp
  74. 14
      src/api/UBWidgetMessageAPI.h
  75. 14
      src/api/UBWidgetUniboardAPI.cpp
  76. 14
      src/api/UBWidgetUniboardAPI.h
  77. 14
      src/api/UBWidgetVotingSystemAPI.cpp
  78. 14
      src/api/UBWidgetVotingSystemAPI.h
  79. 14
      src/board/UBBoardController.cpp
  80. 14
      src/board/UBBoardController.h
  81. 14
      src/board/UBBoardPaletteManager.cpp
  82. 14
      src/board/UBBoardPaletteManager.h
  83. 15
      src/board/UBBoardView.cpp
  84. 14
      src/board/UBBoardView.h
  85. 14
      src/board/UBDrawingController.cpp
  86. 14
      src/board/UBDrawingController.h
  87. 16
      src/board/UBLibraryController.cpp
  88. 14
      src/board/UBLibraryController.h
  89. 14
      src/core/UB.h
  90. 14
      src/core/UBApplication.cpp
  91. 14
      src/core/UBApplication.h
  92. 14
      src/core/UBApplicationController.cpp
  93. 14
      src/core/UBApplicationController.h
  94. 14
      src/core/UBDisplayManager.cpp
  95. 14
      src/core/UBDisplayManager.h
  96. 14
      src/core/UBDocumentManager.cpp
  97. 14
      src/core/UBDocumentManager.h
  98. 14
      src/core/UBIdleTimer.cpp
  99. 14
      src/core/UBIdleTimer.h
  100. 14
      src/core/UBMimeData.cpp
  101. Some files were not shown because too many files have changed in this diff Show More

@ -185,6 +185,12 @@ macx {
TRANSLATION_fr.path = "$$RESOURCES_DIR/fr.lproj" TRANSLATION_fr.path = "$$RESOURCES_DIR/fr.lproj"
QMAKE_BUNDLE_DATA += TRANSLATION_fr QMAKE_BUNDLE_DATA += TRANSLATION_fr
} }
exists(resources/i18n/sankore_fr_CH.qm) {
TRANSLATION_fr.files = resources/i18n/sankore_fr_CH.qm \
resources/i18n/Localizable.strings
TRANSLATION_fr.path = "$$RESOURCES_DIR/fr.lproj"
QMAKE_BUNDLE_DATA += TRANSLATION_fr_CH
}
exists(resources/i18n/sankore_de.qm) { exists(resources/i18n/sankore_de.qm) {
TRANSLATION_de.files = resources/i18n/sankore_de.qm \ TRANSLATION_de.files = resources/i18n/sankore_de.qm \
resources/i18n/Localizable.strings resources/i18n/Localizable.strings
@ -331,6 +337,7 @@ RESOURCES += resources/sankore.qrc
TRANSLATIONS = resources/i18n/sankore_en.ts \ TRANSLATIONS = resources/i18n/sankore_en.ts \
resources/i18n/sankore_en_UK.ts \ resources/i18n/sankore_en_UK.ts \
resources/i18n/sankore_fr.ts \ resources/i18n/sankore_fr.ts \
resources/i18n/sankore_fr_CH.ts \
resources/i18n/sankore_de.ts \ resources/i18n/sankore_de.ts \
resources/i18n/sankore_nl.ts \ resources/i18n/sankore_nl.ts \
resources/i18n/sankore_es.ts \ resources/i18n/sankore_es.ts \

@ -0,0 +1,14 @@
/*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/

@ -1,3 +1,18 @@
# --------------------------------------------------------------------
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
# ---------------------------------------------------------------------
#!/bin/sh #!/bin/sh
make clean make clean

@ -1,8 +1,23 @@
# --------------------------------------------------------------------
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
# ---------------------------------------------------------------------
#!/bin/bash #!/bin/bash
# Executables # Executables
QMAKE="/usr/local/Trolltech/Qt-4.7.3/bin/qmake" QMAKE="/usr/local/Trolltech/Qt-4.7.3/bin/qmake"
MACDEPLOYQT="/usr/bin/macdeployqt" MACDEPLOYQT="`pwd`/../Qt-sankore3.1/bin/macdeployqt"
DMGUTIL="`pwd`/../Sankore-ThirdParty/refnum/dmgutil/dmgutil.pl" DMGUTIL="`pwd`/../Sankore-ThirdParty/refnum/dmgutil/dmgutil.pl"
DSYMUTIL=/usr/bin/dsymutil DSYMUTIL=/usr/bin/dsymutil
STRIP=/usr/bin/strip STRIP=/usr/bin/strip

@ -1,3 +1,18 @@
REM --------------------------------------------------------------------
REM This program is free software: you can redistribute it and/or modify
REM it under the terms of the GNU General Public License as published by
REM the Free Software Foundation, either version 3 of the License, or
REM (at your option) any later version.
REM
REM This program is distributed in the hope that it will be useful,
REM but WITHOUT ANY WARRANTY; without even the implied warranty of
REM MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
REM GNU General Public License for more details.
REM
REM You should have received a copy of the GNU General Public License
REM along with this program. If not, see <http://www.gnu.org/licenses/>.
REM ---------------------------------------------------------------------
set QT_DIR=..\Qt-sankore3.1 set QT_DIR=..\Qt-sankore3.1
set QT_BIN=%QT_DIR%\bin set QT_BIN=%QT_DIR%\bin

@ -38,8 +38,8 @@ function init(){
}); });
//FIT WIDGET FRAME ON LAUNCH... //FIT WIDGET FRAME ON LAUNCH...
if(window.uniboard){ if(window.sankore){
window.uniboard.resize($("#ubwidget").width()-15,85); window.sankore.resize($("#ubwidget").width()-15,85);
} }
searchWrap.append(inputBox) searchWrap.append(inputBox)
@ -50,21 +50,27 @@ function init(){
submit.click(function(){ submit.click(function(){
$("#ubwidget").append(loadWindow) $("#ubwidget").append(loadWindow)
embed = inputBox.val(); embed = inputBox.val();
////////////!!!1///////// ïîïðîáîâàòü ñ ðåàäè
searchWrap.hide(); searchWrap.hide();
loadWindow.append(embed); loadWindow.append(embed);
//alert($("#ubwidget").html());
if(window.uniboard){ $("#ubwidget embed").attr("wmode", "transparent");
window.uniboard.resize($(document).width(),$(document).height()); var ubwidget_html = $("#ubwidget").html();
window.uniboard.setPreference("embed", escape(embed)); alert(ubwidget_html);
} setTimeOut(alert);
$("#ubwidget").empty().html(ubwidget_html);
if(window.sankore){
window.sankore.resize($(document).width(),$(document).height());
window.sankore.setPreference("embed", escape(embed));
}
}); });
if(window.uniboard){ if(window.sankore){
if(window.uniboard.preferenceKeys().length != 0){ if(window.sankore.preferenceKeys().length != 0){
var loadEmbed = unescape(window.uniboard.preference("embed")); var loadEmbed = unescape(window.sankore.preference("embed"));
inputBox.val(loadEmbed); inputBox.val(loadEmbed);
submit.trigger("click"); submit.trigger("click");
} }

@ -26,8 +26,8 @@ function init(){
backgroundImage:"url(images/back.png)", backgroundImage:"url(images/back.png)",
width:328 width:328
}); });
if(window.uniboard){ if(window.sankore){
window.uniboard.setPreference('historyTab', "visible"); window.sankore.setPreference('historyTab', "visible");
}; };
}, },
function(){ function(){
@ -37,8 +37,8 @@ function init(){
backgroundImage:"url(images/back_small.png)", backgroundImage:"url(images/back_small.png)",
width:160 width:160
}); });
if(window.uniboard){ if(window.sankore){
window.uniboard.setPreference('historyTab', "hidden"); window.sankore.setPreference('historyTab', "hidden");
}; };
} }
) )
@ -200,9 +200,9 @@ function init(){
.append(historyPanel) .append(historyPanel)
.append(keysPanel); .append(keysPanel);
if(window.uniboard){ if(window.sankore){
historyTxt = window.uniboard.preference('historyTxt', historyTxt); historyTxt = window.sankore.preference('historyTxt', historyTxt);
var ht = window.uniboard.preference('historyTab', "hidden"); var ht = window.sankore.preference('historyTab', "hidden");
$("#historyBox").val(historyTxt); $("#historyBox").val(historyTxt);
if(ht === "visible"){ if(ht === "visible"){
historyTab.trigger("click"); historyTab.trigger("click");
@ -210,7 +210,7 @@ function init(){
} }
function resizeWidget(w, h){ function resizeWidget(w, h){
window.uniboard.resize(w+2, h+2); window.sankore.resize(w+2, h+2);
$("#indicator").remove(); $("#indicator").remove();
var indicator = $("<div id='indicator'></div>") var indicator = $("<div id='indicator'></div>")
.css({ .css({
@ -238,8 +238,8 @@ function compute(){
displayTrunk = ""; displayTrunk = "";
historyTrunk = ""; historyTrunk = "";
if(window.uniboard){ if(window.sankore){
window.uniboard.setPreference('historyTxt', $("#historyBox").val()); window.sankore.setPreference('historyTxt', $("#historyBox").val());
}; };
lastHistory = $("#historyBox").val(); lastHistory = $("#historyBox").val();

File diff suppressed because it is too large Load Diff

@ -1,3 +1,7 @@
body {
background-color: white;
}
.styleDiv .styleDiv
{ {
height:250px; height:250px;

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.7 KiB

After

Width:  |  Height:  |  Size: 5.2 KiB

@ -89,9 +89,7 @@ function popupInfo(text)
// met la bonne grandeur à chaque div // met la bonne grandeur à chaque div
for (i = 1; i <= currentInfo; i++) for (i = 1; i <= currentInfo; i++)
{
document.getElementById("info" + i).style.width = (654/currentInfo) + 'px'; document.getElementById("info" + i).style.width = (654/currentInfo) + 'px';
}
} }
// affiche le text de l'erreur en cas de problème // affiche le text de l'erreur en cas de problème
@ -224,19 +222,19 @@ function fondu(carte)
// permet de faire apparaître les infos du pays dans la petite fenêtre // permet de faire apparaître les infos du pays dans la petite fenêtre
function afficheInfoPays(pays) function afficheInfoPays(pays)
{ {
document.getElementById("infoPays").innerHTML = document.getElementById(pays).innerHTML document.getElementById("infoPays").innerHTML = document.getElementById(pays).innerHTML;
} }
// permet de cacher la petite fenêtre // permet de cacher la petite fenêtre
function cacherInfoPays() function cacherInfoPays()
{ {
document.getElementById("infoPays").style.display = 'none' document.getElementById("infoPays").style.display = 'none';
} }
// permet à la petite fenêtre de suivre la souris // permet à la petite fenêtre de suivre la souris
function deplacerInfo(event) function deplacerInfo(event)
{ {
document.getElementById("infoPays").style.display = 'block' document.getElementById("infoPays").style.display = 'block';
document.getElementById("infoPays").style.top = event.clientY document.getElementById("infoPays").style.top = event.clientY;
document.getElementById ("infoPays").style.left = event.clientX+20 document.getElementById ("infoPays").style.left = event.clientX+20;
} }

@ -162,7 +162,7 @@ SOAPClient._sendSoapRequest = function(url, method, parameters, async, callback,
"<soap:Envelope " + "<soap:Envelope " +
"xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" " + "xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" " +
"xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\" " + "xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\" " +
"xmlns:soap=\"http://schemas.xmlsoap.org/soap/envelope/\" " + "xmlns:ser=\"" + ns + "\">" + "xmlns:soap=\"http://schemas.xmlsoap.org/soap/envelope/\" " + "xmlns:ser=\"" + ns + "\">" +
"<soap:Body>" + "<soap:Body>" +
"<ser:" + method + ">" + "<ser:" + method + ">" +
parameters.toXml() + parameters.toXml() +

@ -1,7 +1,9 @@
body { body {
font: 13px "Trebuchet MS", Arial, Verdana; font: 13px "Trebuchet MS", Arial, Verdana;
padding-top:0px; padding-top:0px;
color: gray;
} }
a { a {
text-decoration:none; text-decoration:none;
color:#3C769D; color:#3C769D;

@ -10,9 +10,8 @@
<script type="text/javascript" src="markitup/jquery.markitup.js"></script> <script type="text/javascript" src="markitup/jquery.markitup.js"></script>
<!-- markItUp! toolbar settings --> <!-- markItUp! toolbar settings -->
<script type="text/javascript" src="markitup/sets/html/set.js"></script> <script type="text/javascript" src="markitup/sets/html/set.js"></script>
<!-- markItUp! skin -->
<link rel="stylesheet" type="text/css" href="markitup/skins/simple/style.css" />
<!-- markItUp! toolbar skin --> <!-- markItUp! toolbar skin -->
<link rel="stylesheet" type="text/css" href="markitup/skins/markitup/style.css" />
<link rel="stylesheet" type="text/css" href="markitup/sets/html/style.css" /> <link rel="stylesheet" type="text/css" href="markitup/sets/html/style.css" />
</head> </head>

@ -34,6 +34,6 @@ mySettings = {
{name:'Link', key:'L', openWith:'<a target="_blank" href="[![Link:!:http://]!]"(!( title="[![Title]!]")!)>', closeWith:'</a>', placeHolder:'Your text to link...' }, {name:'Link', key:'L', openWith:'<a target="_blank" href="[![Link:!:http://]!]"(!( title="[![Title]!]")!)>', closeWith:'</a>', placeHolder:'Your text to link...' },
{separator:'---------------' }, {separator:'---------------' },
//{name:'Editor', className:'clean', replaceWith:function() { $('textarea').show(); $('iframe').remove();} }, //{name:'Editor', className:'clean', replaceWith:function() { $('textarea').show(); $('iframe').remove();} },
{name:'Preview', className:'preview', call:'preview'} {name:'', className:'preview', call:'preview'}
] ]
} }

@ -3,95 +3,71 @@
// By Jay Salvat - http://markitup.jaysalvat.com/ // By Jay Salvat - http://markitup.jaysalvat.com/
// ------------------------------------------------------------------*/ // ------------------------------------------------------------------*/
.markItUp .markItUpButton1 a { .markItUp .markItUpButton1 a {
position:static;
margin-left:5px;
background-image:url(images/h1.png); background-image:url(images/h1.png);
background-repeat:no-repeat;
} }
.markItUp .markItUpButton2 a { .markItUp .markItUpButton2 a {
position:static;
background-image:url(images/h2.png); background-image:url(images/h2.png);
background-repeat:no-repeat;
} }
.markItUp .markItUpButton3 a { .markItUp .markItUpButton3 a {
position:static;
background-image:url(images/h3.png); background-image:url(images/h3.png);
background-repeat:no-repeat;
} }
.markItUp .markItUpButton4 a { .markItUp .markItUpButton4 a {
position:static;
background-image:url(images/h4.png); background-image:url(images/h4.png);
background-repeat:no-repeat;
} }
.markItUp .markItUpButton5 a { .markItUp .markItUpButton5 a {
position:static; background-repeat:no-repeat;
background-image:url(images/h5.png); background-image:url(images/h5.png);
} }
.markItUp .markItUpButton6 a { .markItUp .markItUpButton6 a {
position:static; background-repeat:no-repeat;
background-image:url(images/h6.png); background-image:url(images/h6.png);
} }
.markItUp .markItUpButton7 a { .markItUp .markItUpButton7 a {
position:static; background-repeat:no-repeat;
background-image:url(images/paragraph.png); background-image:url(images/paragraph.png);
} }
.markItUp .markItUpButton8 a { .markItUp .markItUpButton8 a {
position:static; background-repeat:no-repeat;
background-image:url(images/bold.png); background-image:url(images/bold.png);
} }
.markItUp .markItUpButton9 a { .markItUp .markItUpButton9 a {
position:static; background-repeat:no-repeat;
background-image:url(images/italic.png); background-image:url(images/italic.png);
} }
.markItUp .markItUpButton10 a { .markItUp .markItUpButton10 a {
position:static; background-repeat:no-repeat;
background-image:url(images/stroke.png); background-image:url(images/stroke.png);
} }
.markItUp .markItUpButton11 a { .markItUp .markItUpButton11 a {
position:static; background-repeat:no-repeat;
background-image:url(images/list-bullet.png); background-image:url(images/list-bullet.png);
} }
.markItUp .markItUpButton12 a { .markItUp .markItUpButton12 a {
position:static; background-repeat:no-repeat;
background-image:url(images/list-numeric.png); background-image:url(images/list-numeric.png);
} }
.markItUp .markItUpButton13 a { .markItUp .markItUpButton13 a {
position:static; background-repeat:no-repeat;
background-image:url(images/list-item.png); background-image:url(images/list-item.png);
} }
.markItUp .markItUpButton14 a { .markItUp .markItUpButton14 a {
position:static; background-repeat:no-repeat;
background-image:url(images/picture.png); background-image:url(images/picture.png);
} }
.markItUp .markItUpButton15 a { .markItUp .markItUpButton15 a {
position:static; background-repeat:no-repeat;
background-image:url(images/link.png); background-image:url(images/link.png);
} }
.markItUp .clean a {
position:static;
margin-top:-2px;
width:32px;
height:20px;
background-image:url(images/clean.png);
}
.markItUp .preview a { .markItUp .preview a {
position:static; background-repeat:no-repeat;
margin-top:-2px; margin-top:-2px;
width:46px; width:46px;
height:20px; height:20px;

@ -1,3 +1,4 @@
body { body {
font:70% Verdana, Arial, Helvetica, sans-serif; font:70% Verdana, Arial, Helvetica, sans-serif;
color: orange;
} }

@ -41,7 +41,7 @@ body{
.stickytitle{ .stickytitle{
background-color: transparent; background-color: transparent;
min-width: 10px; min-width: 10px;
max-width: 60%; max-width: 70%;
width: 100%; width: 100%;
padding-top: 4px; padding-top: 4px;
height: 20px; height: 20px;

@ -1,10 +1,11 @@
function init(){ function init(){
var ubwidget = $("#ubwidget").ubwidget({ var ubwidget = $("#ubwidget").ubwidget({
width:300, width:360,
height:240 height:240
}); });
var checkMinimize = false;
var text = ""; var text = "";
var winwidth; var winwidth;
var minimizedHeight; var minimizedHeight;
@ -12,18 +13,18 @@ function init(){
var scroll = false; var scroll = false;
var defaultFontSize = 35; var defaultFontSize = 35;
var currentFontSize = defaultFontSize; var currentFontSize = defaultFontSize;
var header = $('<div id="head"><input id="headtitle" class="stickytitle"></input></div>'); var header = $('<div id="head"><input id="headtitle" class="stickytitle" readonly="readonly"/></div>');
var fontUp = $('<img src="images/stick-but-aplus.png">'); var fontUp = $('<img src="images/stick-but-aplus.png"/>');
var fontDown = $('<img src="images/stick-but-aminus.png">'); var fontDown = $('<img src="images/stick-but-aminus.png"/>');
var minimize = $('<img src="images/stick-but-minimize.png">'); var minimize = $('<img src="images/stick-but-minimize.png"/>');
var maximize = $('<img src="images/stick-but-maximize.png">'); var maximize = $('<img src="images/stick-but-maximize.png"/>');
var title = $('<div id="menu"></div>'); var title = $('<div id="menu"></div>');
var textField = $('<div id="txt"></div>'); var textField = $('<div id="txt"></div>');
var shadow = $("<table width='100%' height='18' border='0' cellspacing='0' cellpadding='0'><tr><td id='sl' width='139'></td><td id='sc' style='background-image:url(images/shadowcenter.png)'>&nbsp;</td><td id='sr' width='139'></td></tr></table>") var shadow = $("<table width='100%' height='18' border='0' cellspacing='0' cellpadding='0'><tr><td id='sl' width='139'></td><td id='sc' style='background-image:url(images/shadowcenter.png)'>&nbsp;</td><td id='sr' width='139'></td></tr></table>")
.appendTo("body"); .appendTo("body");
var shadowleft = $("<img src='images/shadowleft.png'>") var shadowleft = $("<img src='images/shadowleft.png'/>")
.appendTo($("#sl")); .appendTo($("#sl"));
var shadowright = $("<img src='images/shadowright.png'>") var shadowright = $("<img src='images/shadowright.png'/>")
.appendTo($("#sr")); .appendTo($("#sr"));
$("#ubwidget") $("#ubwidget")
@ -44,7 +45,6 @@ function init(){
titletext.click( titletext.click(
function(){ function(){
titletext.focus(); titletext.focus();
}); });
@ -60,16 +60,16 @@ function init(){
controlTextField(); controlTextField();
if(window.uniboard){ if(window.sankore){
window.uniboard.setPreference("fontSize", newFontSize); window.sankore.setPreference("fontSize", newFontSize);
}; };
textField.focus(); if(!checkMinimize)
textField.focus();
}); });
fontUp.click( fontUp.click(
function(){ function(){
var newFontSize = parseInt(currentFontSize) + 3; var newFontSize = parseInt(currentFontSize) + 3;
textField.css({ textField.css({
@ -78,41 +78,40 @@ function init(){
controlTextField(); controlTextField();
if(window.uniboard){ if(window.sankore){
window.uniboard.setPreference("fontSize", newFontSize); window.sankore.setPreference("fontSize", newFontSize);
}; };
textField.focus(); if(!checkMinimize)
textField.focus();
}); });
minimize.click( minimize.click(
function(){ function(){
$('.ubw-container').animate({height:"26px"},100); $('.ubw-container').animate({height:"26px"},500);
minimizedHeight = $('.ubw-container').height() ; minimizedHeight = $('.ubw-container').height();
minimize.hide(); minimize.hide();
maximize.show(); maximize.show();
controlTextField();
$('#headtitle').show(); $('#headtitle').show();
window.resizeTo($('.ubw-container').width(),0); $('#headtitle').focus();
//window.resizeTo($('.ubw-container').width(),0);
checkMinimize = true;
if(window.uniboard){
window.uniboard.setPreference("minimized", "true");
};
}); });
maximize.click( maximize.click(
function(){ function(){
var lastHeight = String(minimizedHeight)+'px'; var lastHeight = String(minimizedHeight)+'px';
$('.ubw-container').animate({height: lastHeight},100); $('.ubw-container').animate({height: lastHeight},500);
maximize.hide(); maximize.hide();
minimize.show(); minimize.show();
$('#headtitle').hide(); $('#headtitle').hide();
//textField.focus();
//window.resizeTo($('.ubw-container').width()+15,minimizedHeight+20);
checkMinimize = false;
window.resizeTo($('.ubw-container').width()+15,minimizedHeight+20);
if(window.uniboard){
window.uniboard.setPreference("minimized", "false");
};
}); });
header header
@ -126,11 +125,11 @@ function init(){
.css("fontSize",currentFontSize) .css("fontSize",currentFontSize)
.attr('contentEditable','true') .attr('contentEditable','true')
.keyup(function(){ .keyup(function(){
if(window.uniboard){ if(window.sankore){
window.uniboard.setPreference("text", textField.html()); window.sankore.setPreference("text", textField.html());
} }
controlTextField(); controlTextField();
$('#headtitle').hide(); //$('#headtitle').hide();
}); });
if(textField.html().length === 0){ if(textField.html().length === 0){
textField.focus(); textField.focus();
@ -139,10 +138,10 @@ function init(){
.attr('rows','1'); .attr('rows','1');
function controlTextField(){ function controlTextField(){
if(textField.text().length < 25){ if(textField.text().length < 25)
var titleStr = textField.text() + '...'; $('#headtitle').val(textField.text());
$('#headtitle').val(titleStr); else
} $('#headtitle').val(textField.text().substr(0,25) + "...");
textField.css({ textField.css({
height : $('.ubw-container').height()-28, height : $('.ubw-container').height()-28,
@ -161,17 +160,18 @@ function init(){
textField.bind('paste', function(e) { textField.bind('paste', function(e) {
controlTextField(); controlTextField();
}); });
$('#headtitle').hide(); $('#headtitle').hide();
if(window.uniboard){
text = window.uniboard.preference('text', text);
currentFontSize = window.uniboard.preference('fontSize', defaultFontSize);
if(window.sankore){
text = window.sankore.preference('text', text);
currentFontSize = window.sankore.preference('fontSize', defaultFontSize);
$('.ubw-container').css({ $('.ubw-container').css({
width:parseInt(window.uniboard.preference('width', "300")), width:window.innerWidth - 2,
height:parseInt(window.uniboard.preference('height', "240")) height:window.innerHeight - 20
}); });
if(window.uniboard.preference('minimized', "false") == "true"){ if(checkMinimize){
minimize.trigger("click"); minimize.trigger("click");
}; };
@ -198,13 +198,12 @@ function init(){
window.resizeTo(winwidth,600); window.resizeTo(winwidth,600);
} }
$('.ubw-container').width(winwidth-2) ; $('.ubw-container').width(winwidth-2);
$('.ubw-container').height(winheight-20) ;
if(window.uniboard){ if(checkMinimize)
window.uniboard.setPreference("width", winwidth-2); minimizedHeight = winheight-40;
window.uniboard.setPreference("height", winheight-20); else
} $('.ubw-container').height(winheight-40);
controlTextField(); controlTextField();
} }

@ -1,91 +1,129 @@
function init(){ function init(){
var ubwidget = $("#ubwidget").ubwidget({ var ubwidget = $("#ubwidget").ubwidget({
width:252, width:252,
height:89 height:89
}); });
var space = $("<div style='font-size:15px'>h</div>").ubwbutton({w:17, h:68}); var space = $("<div style='font-size:15px'>h</div>").ubwbutton({
space.find(".ubw-button-body").css({ w:17,
borderLeft:"none", h:68
borderRight:"none" });
}); space.find(".ubw-button-body").css({
var spaceb = $("<div style='font-size:15px'>m</div>").ubwbutton({w:17, h:68}); borderLeft:"none",
spaceb.find(".ubw-button-body").css({ borderRight:"none"
borderLeft:"none", });
borderRight:"none" var spaceb = $("<div style='font-size:15px'>m</div>").ubwbutton({
}); w:17,
spaceb.find(".ubw-button-canvas").unbind("mouseenter"); h:68
var spacec = $("<div style='font-size:15px'>s</div>").ubwbutton({w:17, h:68}); });
spacec.find(".ubw-button-body").css({ spaceb.find(".ubw-button-body").css({
borderLeft:"none", borderLeft:"none",
borderRight:"none" borderRight:"none"
}); });
spacec.find(".ubw-button-canvas").unbind("mouseenter"); spaceb.find(".ubw-button-canvas").unbind("mouseenter");
var spacec = $("<div style='font-size:15px'>s</div>").ubwbutton({
var hours = $("<div class='scroll' id='hours'>00</div>").ubwbutton({w:52, h:68}, {bottom:1, top:1, right:0, left:0}); w:17,
hours.find(".ubw-button-body").css({ h:68
borderRight:"none" });
}); spacec.find(".ubw-button-body").css({
var minutes = $("<div class='scroll' id='minutes'>00</div>").ubwbutton({w:52, h:68}, {bottom:1, top:1, right:0, left:0}); borderLeft:"none",
minutes.find(".ubw-button-body").css({ borderRight:"none"
borderLeft:"none", });
borderRight:"none" spacec.find(".ubw-button-canvas").unbind("mouseenter");
});
var seconds = $("<div class='scroll' id='seconds'>00</div>").ubwbutton({w:52, h:68}, {bottom:1, top:1, right:0, left:0}); var hours = $("<div class='scroll' id='hours'>00</div>").ubwbutton({
seconds.find(".ubw-button-body").css({ w:52,
borderLeft:"none", h:68
borderRight:"none" }, {
}); bottom:1,
var pause = $("<div id='pausebutton'><img src='images/button_pause_invert.png'></div>") top:1,
pause.css({ right:0,
marginLeft:8, left:0
marginTop:3, });
marginBottom:-2, hours.find(".ubw-button-body").css({
height:47 borderRight:"none"
}); });
var minutes = $("<div class='scroll' id='minutes'>00</div>").ubwbutton({
var reset = $("<div id='resetbutton'><img src='images/button_reset_invert.png'></div>") w:52,
.css({ h:68
marginLeft:8, }, {
marginTop:1 bottom:1,
}) top:1,
.click(function(){ right:0,
$("#hours").find(".ubw-button-content").text("00"); left:0
$("#minutes").find(".ubw-button-content").text("00"); });
$("#seconds").find(".ubw-button-content").text("00"); minutes.find(".ubw-button-body").css({
clearTimeout(currentTimer); borderLeft:"none",
if(play){ borderRight:"none"
$("#pausebutton").trigger("click"); });
} var seconds = $("<div class='scroll' id='seconds'>00</div>").ubwbutton({
}); w:52,
h:68
if (window.widget) { }, {
window.widget.onremove = function(){ bottom:1,
if(play){ top:1,
$("#pausebutton").trigger("click"); right:0,
}; left:0
}; });
}; seconds.find(".ubw-button-body").css({
borderLeft:"none",
pause.toggle( borderRight:"none"
function(){ });
play = false; var pause = $("<div id='pausebutton'><img src='images/button_pause_invert.png'></div>")
clearTimeout(currentTimer); pause.css({
$(this).find("img").attr("src", "images/button_play_invert.png"); marginLeft:8,
}, marginTop:3,
function(){ marginBottom:-2,
play = true; height:47
var timeInSeconds = parseInt($("#seconds").find(".ubw-button-content").text(), 10) + });
parseInt($("#minutes").find(".ubw-button-content").text(), 10)*60 +
parseInt($("#hours").find(".ubw-button-content").text(), 10)*3600; var reset = $("<div id='resetbutton'><img src='images/button_reset_invert.png'></div>")
.css({
updateChronometerReverse(timeInSeconds); marginLeft:8,
marginTop:1
$(this).find("img").attr("src", "images/button_pause_invert.png"); })
} .click(function(){
);/*.mouseenter(function(){ $("#hours").find(".ubw-button-content").text("00");
$("#minutes").find(".ubw-button-content").text("00");
$("#seconds").find(".ubw-button-content").text("00");
clearTimeout(currentTimer);
if(play){
$("#pausebutton").trigger("click");
}
});
if (window.widget) {
window.widget.onremove = function(){
if(play){
$("#pausebutton").trigger("click");
}
};
}
pause.toggle(
function(){
play = false;
clearTimeout(currentTimer);
$(this).find("img").attr("src", "images/button_play_invert.png");
},
function(){
if($("#hours").find(".ubw-button-content").text() != "00" ||
$("#minutes").find(".ubw-button-content").text() != "00" ||
$("#seconds").find(".ubw-button-content").text() != "00") {
play = true;
var timeInSeconds = parseInt($("#seconds").find(".ubw-button-content").text(), 10) +
parseInt($("#minutes").find(".ubw-button-content").text(), 10)*60 +
parseInt($("#hours").find(".ubw-button-content").text(), 10)*3600;
updateChronometerReverse(timeInSeconds);
$(this).find("img").attr("src", "images/button_pause_invert.png");
}
}
);/*.mouseenter(function(){
var o = $(this).find("img").attr("src"); var o = $(this).find("img").attr("src");
$(this).find("img").attr("src", o.split(".")[0]+"xov.png"); $(this).find("img").attr("src", o.split(".")[0]+"xov.png");
}).mouseout(function(){ }).mouseout(function(){
@ -93,103 +131,129 @@ function init(){
$(this).find("img").attr("src", o.split("x")[0]+".png"); $(this).find("img").attr("src", o.split("x")[0]+".png");
});*/ });*/
setTimeout(function(){pause.trigger("click")}, 200); setTimeout(function(){
pause.trigger("click")
hours }, 200);
.bind("mousedown", {button:hours}, timeButtonDownHandler)
.find(".ubw-button-arrowTop").bind("mousedown",{button:hours}, addbtn); hours
hours .bind("mousedown", {
.find(".ubw-button-arrowBottom").bind("mousedown",{button:hours}, rembtn); button:hours
minutes }, timeButtonDownHandler)
.bind("mousedown", {button:minutes}, timeButtonDownHandler) .find(".ubw-button-arrowTop").bind("mousedown",{
.find(".ubw-button-arrowTop").bind("mousedown",{button:minutes}, addbtn); button:hours
minutes }, addbtn);
.find(".ubw-button-arrowBottom").bind("mousedown",{button:minutes}, rembtn); hours
seconds .find(".ubw-button-arrowBottom").bind("mousedown",{
.bind("mousedown", {button:seconds}, timeButtonDownHandler) button:hours
.find(".ubw-button-arrowTop").bind("mousedown",{button:seconds}, addbtn); }, rembtn);
seconds minutes
.find(".ubw-button-arrowBottom").bind("mousedown",{button:seconds}, rembtn); .bind("mousedown", {
button:minutes
$(document).mouseup(function(){ }, timeButtonDownHandler)
/*if(isScrolling){ .find(".ubw-button-arrowTop").bind("mousedown",{
button:minutes
}, addbtn);
minutes
.find(".ubw-button-arrowBottom").bind("mousedown",{
button:minutes
}, rembtn);
seconds
.bind("mousedown", {
button:seconds
}, timeButtonDownHandler)
.find(".ubw-button-arrowTop").bind("mousedown",{
button:seconds
}, addbtn);
seconds
.find(".ubw-button-arrowBottom").bind("mousedown",{
button:seconds
}, rembtn);
$(document).mouseup(function(){
/*if(isScrolling){
$().unbind("mousemove"); $().unbind("mousemove");
activeTimeScroll.find(".ubw-button-canvas") activeTimeScroll.find(".ubw-button-canvas")
.bind("mouseleave", {button:activeTimeScroll}, buttonOutHandler) .bind("mouseleave", {button:activeTimeScroll}, buttonOutHandler)
.bind("mouseenter", {button:activeTimeScroll}, buttonOverHandler); .bind("mouseenter", {button:activeTimeScroll}, buttonOverHandler);
};*/ };*/
clearTimeout(incDecTime); clearTimeout(incDecTime);
}); });
var btnsWrapper = $("<div></div>") var btnsWrapper = $("<div></div>")
.css({ .css({
float:"left", float:"left",
marginLeft:5, marginLeft:5,
marginTop:6 marginTop:6
}) })
.append(pause) .append(pause)
.append(reset); .append(reset);
ubwidget ubwidget
.append(hours) .append(hours)
.append(space.clone()) .append(space.clone())
.append(minutes) .append(minutes)
.append(spaceb) .append(spaceb)
.append(seconds) .append(seconds)
.append(spacec) .append(spacec)
.append(btnsWrapper); .append(btnsWrapper);
clearTimeout(currentTimer); clearTimeout(currentTimer);
updateChronometer(0);
var currentTimer = null;
var currentTimer = null; var incDecTime = null;
var incDecTime = null; var play = true;
var play = true; var isScrolling = false;
var isScrolling = false; var reverse = true;
var reverse = true; var activeTimeScroll = null;
var activeTimeScroll = null;
function addbtn(m){
function addbtn(m){
var button = m.data.button;
var button = m.data.button; var content = button.find(".ubw-button-content");
var content = button.find(".ubw-button-content");
if(content.text().substr(0, 1) == "0"){
if(content.text().substr(0, 1) == "0"){ content.text(content.text().substr(1, content.text().length))
content.text(content.text().substr(1, content.text().length)) }
}
content.text(formatTime(parseInt(content.text())+1));
content.text(formatTime(parseInt(content.text())+1));
incDecTime = setTimeout(function(){
incDecTime = setTimeout(function(){addbtn(m)},150); addbtn(m)
}; },150);
}
function rembtn(m){
function rembtn(m){
var button = m.data.button;
var content = button.find(".ubw-button-content"); var button = m.data.button;
var content = button.find(".ubw-button-content");
if(content.text().substr(0, 1) == "0"){
content.text(content.text().substr(1, content.text().length)) if(content.text().substr(0, 1) == "0"){
} content.text(content.text().substr(1, content.text().length))
}
content.text(formatTime(parseInt(content.text())-1));
content.text(formatTime(parseInt(content.text())-1));
incDecTime = setTimeout(function(){rembtn(m)},150);
}; incDecTime = setTimeout(function(){
rembtn(m);
function timeButtonDownHandler(m){ },150);
var button = m.data.button; }
var mouseStart = {pageX:m.pageX, pageY:m.pageY};
var content = button.find(".ubw-button-content"); function timeButtonDownHandler(m){
var val = content.text(); var button = m.data.button;
isScrolling = true; var mouseStart = {
reverse = true; pageX:m.pageX,
activeTimeScroll = button; pageY:m.pageY
if(play){ };
$("#pausebutton").trigger("click"); var content = button.find(".ubw-button-content");
} var val = content.text();
isScrolling = true;
/*button.find(".ubw-button-canvas") reverse = true;
activeTimeScroll = button;
if(play){
$("#pausebutton").trigger("click");
}
/*button.find(".ubw-button-canvas")
.unbind("mouseenter") .unbind("mouseenter")
.unbind("mouseleave"); .unbind("mouseleave");
@ -204,81 +268,89 @@ function init(){
content.text(content.text()%60); content.text(content.text()%60);
if(content.text() < 0)content.text(0); if(content.text() < 0)content.text(0);
});*/ });*/
}; }
function buttonOverHandler(e) { function buttonOverHandler(e) {
var button = e.data.button; var button = e.data.button;
var buttonbody = button.find(".ubw-button-body"); var buttonbody = button.find(".ubw-button-body");
button.css({zIndex:1}) button.css({
buttonbody.removeClass("ubw-button-out") zIndex:1
.addClass("ubw-button-over") })
.css({fontSize:"125%"}); buttonbody.removeClass("ubw-button-out")
.addClass("ubw-button-over")
button.find(".ubw-button-canvas").find(".ubw-button-arrowTop").children("img").attr("src", "images/arrows_over/top.png"); .css({
button.find(".ubw-button-canvas").find(".ubw-button-arrowBottom").children("img").attr("src", "images/arrows_over/bottom.png"); fontSize:"125%"
}; });
function buttonOutHandler(e){ button.find(".ubw-button-canvas").find(".ubw-button-arrowTop").children("img").attr("src", "images/arrows_over/top.png");
var button = e.data.button; button.find(".ubw-button-canvas").find(".ubw-button-arrowBottom").children("img").attr("src", "images/arrows_over/bottom.png");
var buttonbody = button.find(".ubw-button-body"); }
button.css({zIndex:0}); function buttonOutHandler(e){
buttonbody.removeClass("ubw-button-over") var button = e.data.button;
.addClass("ubw-button-out") var buttonbody = button.find(".ubw-button-body");
.css({
fontSize:"100%", button.css({
}); zIndex:0
});
button.find(".ubw-button-canvas").find(".ubw-button-arrowTop").children("img").attr("src", "images/arrows_out/top.png"); buttonbody.removeClass("ubw-button-over")
button.find(".ubw-button-canvas").find(".ubw-button-arrowBottom").children("img").attr("src", "images/arrows_out/top.png"); .addClass("ubw-button-out")
}; .css({
fontSize:"100%"
function updateChronometerReverse(seconds){ });
currentTimer = setTimeout(function(){updateChronometerReverse(seconds-1)}, 1000); button.find(".ubw-button-canvas").find(".ubw-button-arrowTop").children("img").attr("src", "images/arrows_out/top.png");
if (seconds < 6 && seconds > 0){ button.find(".ubw-button-canvas").find(".ubw-button-arrowBottom").children("img").attr("src", "images/arrows_out/top.png");
DHTMLSound('beep.wav'); }
}else if(seconds === 0){
DHTMLSound('finalbeep.wav'); function updateChronometerReverse(seconds){
};
currentTimer = setTimeout(function(){
if(seconds < 1){ updateChronometerReverse(seconds-1)
seconds = 0; }, 1000);
$("#pausebutton").trigger("click"); if (seconds < 6 && seconds > 0){
} DHTMLSound('beep.wav');
}else if(seconds === 0){
var hoursValue = $("#hours").find(".ubw-button-content"); DHTMLSound('finalbeep.wav');
var minutesValue = $("#minutes").find(".ubw-button-content"); }
var secondsValue = $("#seconds").find(".ubw-button-content");
if(seconds < 1){
var currentSecond = String(seconds%60); seconds = 0;
var currentMinute = String(Math.floor(seconds/60)%60); $("#pausebutton").trigger("click");
var currentHour = String(Math.floor(seconds/3600)); }
hoursValue.text(formatTime(currentHour)); var hoursValue = $("#hours").find(".ubw-button-content");
minutesValue.text(formatTime(currentMinute)); var minutesValue = $("#minutes").find(".ubw-button-content");
secondsValue.text(formatTime(currentSecond)); var secondsValue = $("#seconds").find(".ubw-button-content");
} var currentSecond = String(seconds%60);
var currentMinute = String(Math.floor(seconds/60)%60);
function formatTime(time){ var currentHour = String(Math.floor(seconds/3600));
document.title = time +", " + String(time).length; hoursValue.text(formatTime(currentHour));
minutesValue.text(formatTime(currentMinute));
if(time<0){ secondsValue.text(formatTime(currentSecond));
time = 59;
} }
time = time%60; function formatTime(time){
String(time).length < 2 ? time = "0"+time : time = time; document.title = time +", " + String(time).length;
return time; if(time<0){
} time = 59;
}
function DHTMLSound(surl) {
document.getElementById("audio").innerHTML= time = time%60;
"<audio src='"+surl+"' autoplay=true >";
} String(time).length < 2 ? time = "0"+time : time = time;
return time;
}
function DHTMLSound(surl) {
document.getElementById("audio").innerHTML=
"<audio src='"+surl+"' autoplay=true >";
}
} }

@ -1,3 +1,17 @@
<!--
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
-->
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd"> "http://www.w3.org/TR/html4/loose.dtd">
@ -18,13 +32,13 @@
var oembedUrl = ""; var oembedUrl = "";
var language = "en"; var language = "en";
function initialize() { function initialize() {
if(window.uniboard){ if(window.sankore){
oembedUrl = window.uniboard.preference("oembedUrl", ""); oembedUrl = window.sankore.preference("oembedUrl", "");
}else{ }
oembedUrl = "";
};
window.resizeTo(426, 630);
if(oembedUrl.length > 0){ if(oembedUrl.length > 0){
$("#textbox").val(oembedUrl); $("#textbox").val(oembedUrl);
$("#search-button").trigger("click"); $("#search-button").trigger("click");
@ -41,28 +55,16 @@
resizerIndex = 0; resizerIndex = 0;
//language = navigator.userAgent.split(";");
//language = language[3].replace(/\s/g, "").substr(0, 2);
$("#search-button") $("#search-button")
.click(function(){ .click(function(){
window.resizeTo(385, 80); window.resizeTo(385, 80);
$("#container") $("#container").removeClass("welcome").removeClass("change").removeClass("error").addClass("load");
.removeClass("welcome") $("#container-shadow").hide();
.removeClass("change") $("#arrow").hide();
.removeClass("error") $("#embeded-content").css({
.addClass("load");
$("#container-shadow")
.hide();
$("#arrow")
.hide();
$("#embeded-content")
.css({
marginLeft:-9000, marginLeft:-9000,
marginTop:-9000 marginTop:-9000
}) }).empty().oembed($("#textbox").val());
.empty()
.oembed($("#textbox").val());
checkcontent(); checkcontent();
}) })
.mouseenter(function(){ .mouseenter(function(){
@ -74,14 +76,6 @@
.removeClass("over"); .removeClass("over");
}); });
/*$("#ubwidget").mouseenter(function(){
$("#show-area").fadeIn(1000);
});
$("#ubwidget").mouseout(function(){
$("#show-area").fadeOut(600);
});*/
$('#textbox').keypress(function(e){ $('#textbox').keypress(function(e){
if (e.which == 13){ if (e.which == 13){
$('#search-button').click(); $('#search-button').click();
@ -94,72 +88,62 @@
$("#show-area").fadeOut(0); $("#show-area").fadeOut(0);
$("#inputfield").show(); $("#inputfield").show();
$("#shadow").show(); $("#shadow").show();
$("#container") $("#container").removeClass("show").addClass("change");
.removeClass("show").addClass("change");
adaptWidgetSize(18, 88); adaptWidgetSize(18, 88);
}) })
.mouseenter(function(){ .mouseenter(function(){
$(this) $(this).addClass("over");
.addClass("over");
}) })
.mouseleave(function(){ .mouseleave(function(){
$(this) $(this).removeClass("over");
.removeClass("over");
}); });
function checkcontent(){ function checkcontent(){
if($("#embeded-content").html().length != 0 && $("#embeded-content").children(":first").width() > 0){ if($("#embeded-content").html().length != 0 && $("#embeded-content").children(":first").width() > 0){
$("#embeded-content embed").attr("wmode", "transparent");
var embeded_content_html = $("#embeded-content").html();
$("#embeded-content").empty().html(embeded_content_html);
clearTimeout(resizer); clearTimeout(resizer);
resizerIndex = 0; resizerIndex = 0;
if(window.uniboard){ if(window.sankore){
window.uniboard.setPreference("oembedUrl", $("#textbox").val()); window.sankore.setPreference("oembedUrl", $("#textbox").val());
}; };
$("#inputfield") $("#inputfield").hide();
.hide(); $("#shadow").hide();
$("#shadow") $("#embeded-content").css({
.hide();
$("#embeded-content")
.css({
marginLeft:0, marginLeft:0,
marginTop:0 marginTop:0
}) })
.width($("#embeded-content").children(":first").width()) .width($("#embeded-content").children(":first").width())
.height($("#embeded-content").children(":first").height()); .height($("#embeded-content").children(":first").height());
//alert(html);
$("#container") //alert($("#embeded-content").children(":first").width() + " | " + $("#embeded-content").children(":first").height());
.removeClass("load").addClass("show"); $("#container").removeClass("load").addClass("show");
$("#show-area") $("#show-area").fadeIn(2000).css({
.fadeIn(2000)
.css({
left:$("#embeded-content").children(":first").width()-25, left:$("#embeded-content").children(":first").width()-25,
top:($("#embeded-content").children(":first").height()-35)/2 top:($("#embeded-content").children(":first").height()-35)/2
}); });
adaptWidgetSize(5, 13); adaptWidgetSize(5, 13);
return false; return false;
}; };
if(resizerIndex > 30){ if(resizerIndex > 50){
resizerIndex = 0; resizerIndex = 0;
$("#container") $("#container").removeClass("show").addClass("error");
.removeClass("show").addClass("error"); $("#arrow").show();
$("#arrow") $("#embeded-content").css({
.show();
$("#embeded-content")
.css({
marginTop:0, marginTop:0,
marginLeft:0 marginLeft:0
}) }).width(395)
.width(395)
.load("locales/" + language + "/error.html", .load("locales/" + language + "/error.html",
function(){ function(){
adaptWidgetSize(20, 125); adaptWidgetSize(20, 125);
}); });
$("#container-shadow") $("#container-shadow").show();
.show();
}else{ }else{
resizer = setTimeout(function(){checkcontent()}, 100); resizer = setTimeout(function(){checkcontent()}, 100);
resizerIndex++; resizerIndex++;
@ -176,25 +160,27 @@
var widgetWidth = $("#embeded-content").width() + margins.right + margins.left + adjustmentX; var widgetWidth = $("#embeded-content").width() + margins.right + margins.left + adjustmentX;
var widgetHeight = $("#embeded-content").position().top + $("#embeded-content").height() + margins.bottom + adjustmentY; var widgetHeight = $("#embeded-content").position().top + $("#embeded-content").height() + margins.bottom + adjustmentY;
window.resizeTo(widgetWidth, $(window).height()); //alert(widgetWidth + " | " + widgetHeight);
window.resizeTo($(window).width(), widgetHeight);
window.uniboard.resize(widgetWidth, widgetHeight); //window.resizeTo(widgetWidth, $(window).height());
window.resizeTo(widgetWidth, widgetHeight);
window.sankore.resize(widgetWidth, widgetHeight);
}; };
function cssToInt(cssvalue){ function cssToInt(cssvalue){
return(parseInt(cssvalue.replace("px", ""))); return(parseInt(cssvalue.replace("px", "")));
}; };
if (window.widget) { /*if (window.widget) {
window.widget.onremove = function(){ window.widget.onremove = function(){
//$("#show-inputfield-button").trigger("click"); //$("#show-inputfield-button").trigger("click");
$("#embeded-content") $("#embeded-content")
.empty() .empty()
.oembed($("#textbox").val()); .oembed($("#textbox").val());
} }
} }*/
window.initialize(); initialize();
}); });
</script> </script>

@ -4,5 +4,5 @@
<div id="content"> <div id="content">
<h1>This Url cannot be used.</h1> <h1>This Url cannot be used.</h1>
<a href="javascript:$('#container').load('html/howto_' + language + '.html');">Back</a> <a href="javascript:window.location.reload();">Back</a>
</div> </div>

@ -16,10 +16,14 @@
<script type="text/javascript"> <script type="text/javascript">
$(document).ready(function(){ $(document).ready(function(){
var resizer; // Timer //var resizer; // Timer
var resizerIndex; //var resizerIndex;
var currentHistory = 0;
var references = new Array();
var globalWidth = 850;
var globalHeight = 700;
var language; var language;
var url; var url = "";
var margins = { var margins = {
top: cssToInt($("body").css("margin-top")), top: cssToInt($("body").css("margin-top")),
right: cssToInt($("body").css("margin-right")), right: cssToInt($("body").css("margin-right")),
@ -27,25 +31,31 @@
left: cssToInt($("body").css("margin-left")) left: cssToInt($("body").css("margin-left"))
}; };
resizerIndex = 0; //resizerIndex = 0;
if(window.uniboard){ /*if(window.sankore){
url = window.uniboard.preference("url", ""); url = window.sankore.preference("url", "");
}else{ }else{
url = ""; url = "";
}; }; */
language = navigator.userAgent.split(";"); language = navigator.userAgent.split(";");
language = language[3].replace(/\s/g, "").substr(0, 2); language = language[3].replace(/\s/g, "").substr(0, 2);
$("#back-button") $("#back-button")
.click(function(){ .click(function(){
frames['web-content'].history.go(-1); if((currentHistory - 1) > 0){
$("#textbox").val(references[--currentHistory-1]);
frames['web-content'].location.href = references[currentHistory-1];
}
}); });
$("#forward-button") $("#forward-button")
.click(function(){ .click(function(){
frames['web-content'].history.go(+1); if(currentHistory < references.length) {
$("#textbox").val(references[currentHistory++]);
frames['web-content'].location.href = $("#textbox").val();
}
}); });
$("#textbox").keypress(function(e) { $("#textbox").keypress(function(e) {
@ -56,32 +66,48 @@
$("#search-button") $("#search-button")
.click(function(){ .click(function(){
var url = $("#textbox").val(); if($("#textbox").val().length > 0){
var urlStart = url.split("://"); var url = $("#textbox").val();
var urlStart = url.split("://");
if(urlStart[0]!="http"){
url = "http://" + url; if(urlStart[0]!="http"){
}; url = "http://" + url;
};
window.resizeTo(850, 700);
if(checkURLs(references, url)){
$("#container") if(currentHistory == references.length)
.removeClass("welcome") references[currentHistory++] = url;
.removeClass("change") else
.removeClass("error") references = insertInto(references, currentHistory++, url);
.addClass("load"); }
$("#container-shadow") window.resizeTo(globalWidth, globalHeight);
.hide();
$("#arrow") $("#container")
.hide(); .removeClass("welcome")
$("#embeded-content") .removeClass("change")
.hide(); .removeClass("error")
$("#web-content") .addClass("load");
.show(); $("#container-shadow").hide();
$("#arrow").hide();
frames['web-content'].location.href = url; $("#embeded-content").hide();
$("#web-content").show();
checkcontent();
frames['web-content'].location.href = url;
checkcontent();
} else {
$("#embeded-content").load("locales/" + "en" + "/howto.html"); // Welcome screen with some explanations
$("#container")
.addClass("welcome")
.addClass("change")
.addClass("error")
.removeClass("load");
$("#container-shadow").show();
$("#arrow").show();
$("#embeded-content").show();
$("#web-content").hide();
window.resizeTo(550, 280);
}
}) })
.mouseenter(function(){ .mouseenter(function(){
$(this) $(this)
@ -99,14 +125,15 @@
$("#embeded-content").load("locales/" + "en" + "/howto.html"); // Welcome screen with some explanations $("#embeded-content").load("locales/" + "en" + "/howto.html"); // Welcome screen with some explanations
}; };
$("#show-inputfield-button") /*$("#show-inputfield-button")
.click( .click(
function(){ function(){
$("#show-area").hide(); $("#show-area").hide();
$("#inputfield").show(); $("#inputfield").show();
$("#shadow").show(); $("#shadow").show();
$("#container") $("#container")
.removeClass("show").addClass("change"); .removeClass("show")
.addClass("change");
adaptWidgetSize(18, 82); adaptWidgetSize(18, 82);
}) })
.mouseenter(function(){ .mouseenter(function(){
@ -116,39 +143,58 @@
.mouseleave(function(){ .mouseleave(function(){
$(this) $(this)
.removeClass("over"); .removeClass("over");
}); });*/
$(window).resize(function(){ $(window).resize(function(){
globalWidth = $(window).width();
globalHeight = $(window).height();
$("#web-content") $("#web-content")
.attr("width", $(window).width() - 25) .attr("width", globalWidth - 25)
.attr("height", $(window).height() - 90); .attr("height", globalHeight - 90);
}); });
function checkcontent(){ function checkcontent(){
clearTimeout(resizer); //clearTimeout(resizer);
resizerIndex = 0; //resizerIndex = 0;
if(window.uniboard){ /*if(window.sankore){
window.uniboard.setPreference("url", $("#textbox").val()); window.sankore.setPreference("url", $("#textbox").val());
}; };*/
$("#embeded-content") $("#embeded-content").hide();
.hide(); $("#container").removeClass("load").addClass("show");
$("#container")
.removeClass("load").addClass("show");
}; };
function adaptWidgetSize(adjustmentX, adjustmentY){ /*function adaptWidgetSize(adjustmentX, adjustmentY){
var widgetWidth = $("#container").width() + margins.right + margins.left + adjustmentX; var widgetWidth = $("#container").width() + margins.right + margins.left + adjustmentX;
var widgetHeight = $("#container").position().top + $("#container").height() + margins.bottom + adjustmentY; var widgetHeight = $("#container").position().top + $("#container").height() + margins.bottom + adjustmentY;
window.resizeTo(widgetWidth, $(window).height()); window.resizeTo(widgetWidth, $(window).height());
window.resizeTo($(window).width(), widgetHeight); window.resizeTo($(window).width(), widgetHeight);
}; };*/
function cssToInt(cssvalue){ function cssToInt(cssvalue){
return(parseInt(cssvalue.replace("px", ""))); return(parseInt(cssvalue.replace("px", "")));
}; }
function checkURLs(arr, value){
for(var i = 0; i < arr.length; i++)
if(arr[i] == value)
return false;
return true;
}
function insertInto(arr, index, url){
var newArr = new Array();
for(var i = 0, j = 0; i < arr.length; i++, j++)
if(i == index - 1){
newArr[j] = arr[i];
newArr[++j] = url;
} else
newArr[j] = arr[i];
return newArr;
}
}); });
</script> </script>

@ -1,2 +1,17 @@
# --------------------------------------------------------------------
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
# ---------------------------------------------------------------------
#!/bin/sh #!/bin/sh
env LD_LIBRARY_PATH=$PWD/qtlib:$LD_LIBRARY_PATH ./Sankore\ 3.1 env LD_LIBRARY_PATH=$PWD/qtlib:$LD_LIBRARY_PATH ./Sankore\ 3.1

@ -1,3 +1,18 @@
# --------------------------------------------------------------------
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
# ---------------------------------------------------------------------
#!/bin/bash #!/bin/bash
# #

@ -1,8 +1,16 @@
/* /*
* UBExportAdaptor.cpp * This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
* *
* Created on: Feb 10, 2009 * This program is distributed in the hope that it will be useful,
* Author: julienbachmann * but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/ */
#include "UBExportAdaptor.h" #include "UBExportAdaptor.h"

@ -1,8 +1,16 @@
/* /*
* UBExportAdaptor.h * This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
* *
* Created on: Feb 10, 2009 * This program is distributed in the hope that it will be useful,
* Author: julienbachmann * but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/ */
#ifndef UBEXPORTADAPTOR_H_ #ifndef UBEXPORTADAPTOR_H_

@ -1,8 +1,16 @@
/* /*
* UBExportDocument.cpp * This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
* *
* Created on: Feb 10, 2009 * This program is distributed in the hope that it will be useful,
* Author: julienbachmann * but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/ */
#include "UBExportDocument.h" #include "UBExportDocument.h"

@ -1,8 +1,16 @@
/* /*
* UBExportDocument.h * This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
* *
* Created on: Feb 10, 2009 * This program is distributed in the hope that it will be useful,
* Author: julienbachmann * but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/ */
#ifndef UBEXPORTDOCUMENT_H_ #ifndef UBEXPORTDOCUMENT_H_

@ -1,8 +1,16 @@
/* /*
* UBExportFullPDF.cpp * This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
* *
* Created on: Aug 21, 2009 * This program is distributed in the hope that it will be useful,
* Author: Patrick * but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/ */
#include "UBExportFullPDF.h" #include "UBExportFullPDF.h"

@ -1,8 +1,16 @@
/* /*
* UBExportFullPDF.h * This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
* *
* Created on: Aug 21, 2009 * This program is distributed in the hope that it will be useful,
* Author: Patrick * but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/ */
#ifndef UBExportFullPDF_H_ #ifndef UBExportFullPDF_H_

@ -1,8 +1,16 @@
/* /*
* UBExportPDF.cpp * This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
* *
* Created on: Nov 3, 2008 * This program is distributed in the hope that it will be useful,
* Author: luc * but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/ */
#include "UBExportPDF.h" #include "UBExportPDF.h"

@ -1,8 +1,16 @@
/* /*
* UBExportPDF.h * This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
* *
* Created on: Nov 3, 2008 * This program is distributed in the hope that it will be useful,
* Author: luc * but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/ */
#ifndef UBEXPORTPDF_H_ #ifndef UBEXPORTPDF_H_

@ -1,8 +1,16 @@
/* /*
* UBExportWeb * This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
* *
* Created on: Feb 19, 2009 * This program is distributed in the hope that it will be useful,
* Author: Luc * but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/ */
#include "UBExportWeb.h" #include "UBExportWeb.h"

@ -1,8 +1,16 @@
/* /*
* UBExportWeb.h * This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
* *
* Created on: Feb 19, 2010 * This program is distributed in the hope that it will be useful,
* Author: Luc * but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/ */
#ifndef UBEXPORTWEB_H_ #ifndef UBEXPORTWEB_H_

@ -1,8 +1,16 @@
/* /*
* UBImportAdaptor.cpp * This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
* *
* Created on: Feb 11, 2009 * This program is distributed in the hope that it will be useful,
* Author: julienbachmann * but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/ */
#include "UBImportAdaptor.h" #include "UBImportAdaptor.h"

@ -1,8 +1,16 @@
/* /*
* UBImportAdaptor.h * This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
* *
* Created on: Feb 11, 2009 * This program is distributed in the hope that it will be useful,
* Author: julienbachmann * but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/ */
#ifndef UBIMPORTADAPTOR_H_ #ifndef UBIMPORTADAPTOR_H_

@ -1,8 +1,16 @@
/* /*
* UBImportDocument.cpp * This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
* *
* Created on: Feb 11, 2009 * This program is distributed in the hope that it will be useful,
* Author: julienbachmann * but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/ */
#include "UBImportDocument.h" #include "UBImportDocument.h"

@ -1,8 +1,16 @@
/* /*
* UBImportDocument.h * This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
* *
* Created on: Feb 11, 2009 * This program is distributed in the hope that it will be useful,
* Author: julienbachmann * but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/ */
#ifndef UBIMPORTDOCUMENT_H_ #ifndef UBIMPORTDOCUMENT_H_

@ -1,3 +1,17 @@
/*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include "UBImportImage.h" #include "UBImportImage.h"
#include "UBMetadataDcSubsetAdaptor.h" #include "UBMetadataDcSubsetAdaptor.h"

@ -1,3 +1,17 @@
/*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef UBIMPORTIMAGE_H_ #ifndef UBIMPORTIMAGE_H_
#define UBIMPORTIMAGE_H_ #define UBIMPORTIMAGE_H_

@ -1,3 +1,17 @@
/*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include "UBImportPDF.h" #include "UBImportPDF.h"
#include "UBMetadataDcSubsetAdaptor.h" #include "UBMetadataDcSubsetAdaptor.h"

@ -1,3 +1,17 @@
/*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef UBIMPORTPDF_H_ #ifndef UBIMPORTPDF_H_
#define UBIMPORTPDF_H_ #define UBIMPORTPDF_H_

@ -1,8 +1,16 @@
/* /*
* UBImportVirtualPrinter.cpp * This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
* *
* Created on: 18 mars 2009 * This program is distributed in the hope that it will be useful,
* Author: Julien * but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/ */
#include "UBImportVirtualPrinter.h" #include "UBImportVirtualPrinter.h"

@ -1,8 +1,16 @@
/* /*
* UBIniFileParser.cpp * This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
* *
* Created on: 23 mars 2009 * This program is distributed in the hope that it will be useful,
* Author: Julien * but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/ */
#include "UBIniFileParser.h" #include "UBIniFileParser.h"

@ -1,8 +1,16 @@
/* /*
* UBIniFileParser.h * This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
* *
* Created on: 23 mars 2009 * This program is distributed in the hope that it will be useful,
* Author: Julien * but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/ */
#ifndef UBINIFILEPARSER_H_ #ifndef UBINIFILEPARSER_H_

@ -1,8 +1,16 @@
/* /*
* UBMetadataDcSubsetAdaptor.cpp * This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
* *
* Created on: Nov 27, 2008 * This program is distributed in the hope that it will be useful,
* Author: luc * but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/ */
#include "UBMetadataDcSubsetAdaptor.h" #include "UBMetadataDcSubsetAdaptor.h"

@ -1,8 +1,16 @@
/* /*
* UBMetadataDcSubsetAdaptor.h * This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
* *
* Created on: Nov 27, 2008 * This program is distributed in the hope that it will be useful,
* Author: luc * but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/ */
#ifndef UBMETADATADCSUBSETADAPTOR_H_ #ifndef UBMETADATADCSUBSETADAPTOR_H_

@ -1,8 +1,16 @@
/* /*
* UBSvgSubsetAdaptor.cpp * This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
* *
* Created on: Nov 4, 2008 * This program is distributed in the hope that it will be useful,
* Author: luc * but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/ */
#include "UBSvgSubsetAdaptor.h" #include "UBSvgSubsetAdaptor.h"

@ -1,8 +1,16 @@
/* /*
* UBSvgSubsetAdaptor.h * This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
* *
* Created on: Nov 4, 2008 * This program is distributed in the hope that it will be useful,
* Author: luc * but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/ */
#ifndef UBSVGSUBSETADAPTOR_H_ #ifndef UBSVGSUBSETADAPTOR_H_

@ -1,3 +1,17 @@
/*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include "UBThumbnailAdaptor.h" #include "UBThumbnailAdaptor.h"

@ -1,3 +1,17 @@
/*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef UBTHUMBNAILADAPTOR_H #ifndef UBTHUMBNAILADAPTOR_H
#define UBTHUMBNAILADAPTOR_H #define UBTHUMBNAILADAPTOR_H

@ -1,8 +1,16 @@
/* /*
* UBWebPublisher.cpp * This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
* *
* Created on: Feb 19, 2009 * This program is distributed in the hope that it will be useful,
* Author: Luc * but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/ */
#include "UBWebPublisher.h" #include "UBWebPublisher.h"

@ -1,8 +1,16 @@
/* /*
* UBWebPublisher.h * This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
* *
* Created on: Feb 19, 2010 * This program is distributed in the hope that it will be useful,
* Author: Luc * but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/ */
#ifndef UBWEBPUBLISHER_H_ #ifndef UBWEBPUBLISHER_H_

@ -1,3 +1,17 @@
/*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include "UBAbstractPublisher.h" #include "UBAbstractPublisher.h"
#include <QtXml> #include <QtXml>

@ -1,3 +1,17 @@
/*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef UBABSTRACTPUBLISHER_H #ifndef UBABSTRACTPUBLISHER_H
#define UBABSTRACTPUBLISHER_H #define UBABSTRACTPUBLISHER_H

@ -1,3 +1,17 @@
/*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include "UBCapturePublisher.h" #include "UBCapturePublisher.h"
#include "frameworks/UBStringUtils.h" #include "frameworks/UBStringUtils.h"

@ -1,3 +1,17 @@
/*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef UBCAPTUREPUBLISHER_H #ifndef UBCAPTUREPUBLISHER_H
#define UBCAPTUREPUBLISHER_H #define UBCAPTUREPUBLISHER_H

@ -1,3 +1,17 @@
/*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include <QFileInfo> #include <QFileInfo>
#include "UBDocumentPublisher.h" #include "UBDocumentPublisher.h"

@ -1,3 +1,17 @@
/*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef UBDOCUMENTPUBLISHER_H #ifndef UBDOCUMENTPUBLISHER_H
#define UBDOCUMENTPUBLISHER_H #define UBDOCUMENTPUBLISHER_H

@ -1,8 +1,16 @@
/* /*
* UBSvgSubsetRasterizer.cpp * This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
* *
* Created on: 23 mars 2010 * This program is distributed in the hope that it will be useful,
* Author: Luc * but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/ */
#include "UBSvgSubsetRasterizer.h" #include "UBSvgSubsetRasterizer.h"

@ -1,8 +1,16 @@
/* /*
* UBSvgSubsetRasterizer.h * This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
* *
* Created on: 23 mars 2010 * This program is distributed in the hope that it will be useful,
* Author: Luc * but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/ */
#ifndef UBSVGSUBSETRASTERIZER_H_ #ifndef UBSVGSUBSETRASTERIZER_H_

@ -1,8 +1,16 @@
/* /*
* UBAbstractVotingSystem.cpp * This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
* *
* Created on: 12 feb. 2010 * This program is distributed in the hope that it will be useful,
* Author: Luc * but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/ */
#include "UBAbstractVotingSystem.h" #include "UBAbstractVotingSystem.h"

@ -1,8 +1,16 @@
/* /*
* UBAbstractVotingSystem.h * This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
* *
* Created on: 12 feb. 2010 * This program is distributed in the hope that it will be useful,
* Author: Luc * but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/ */
#ifndef UBABSTRACTVOTINGSYSTEM_H_ #ifndef UBABSTRACTVOTINGSYSTEM_H_

@ -1,8 +1,16 @@
/* /*
* UBReply2005VotingSystem.cpp * This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
* *
* Created on: 12 feb. 2010 * This program is distributed in the hope that it will be useful,
* Author: Luc * but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/ */
#include "UBReply2005VotingSystem.h" #include "UBReply2005VotingSystem.h"

@ -1,8 +1,16 @@
/* /*
* UBReply2005VotingSystem.h * This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
* *
* Created on: 12 feb. 2010 * This program is distributed in the hope that it will be useful,
* Author: Luc * but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/ */
#ifndef UBREPLY2005VOTINGSYSTEM_H_ #ifndef UBREPLY2005VOTINGSYSTEM_H_

@ -1,8 +1,16 @@
/* /*
* UBReplyWRS970VotingSystem.cpp * This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
* *
* Created on: 3 mars 2010 * This program is distributed in the hope that it will be useful,
* Author: Luc * but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/ */
#include "UBReplyWRS970VotingSystem.h" #include "UBReplyWRS970VotingSystem.h"

@ -1,8 +1,16 @@
/* /*
* UBReplyWRS970VotingSystem.h * This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
* *
* Created on: 3 mars 2010 * This program is distributed in the hope that it will be useful,
* Author: Luc * but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/ */
#ifndef UBREPLYWRS970VOTINGSYSTEM_H_ #ifndef UBREPLYWRS970VOTINGSYSTEM_H_

@ -1,8 +1,16 @@
/* /*
* UBLibraryAPI.cpp * This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
* *
* Created on: 9 juil. 2009 * This program is distributed in the hope that it will be useful,
* Author: Luc * but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/ */
#include "UBLibraryAPI.h" #include "UBLibraryAPI.h"

@ -1,8 +1,16 @@
/* /*
* UBLibraryAPI.h * This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
* *
* Created on: 9 juil. 2009 * This program is distributed in the hope that it will be useful,
* Author: Luc * but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/ */
#ifndef UBLIBRARYAPI_H_ #ifndef UBLIBRARYAPI_H_

@ -1,8 +1,16 @@
/* /*
* UBW3CWidgetAPI.cpp * This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
* *
* Created on: 28 august 2009 * This program is distributed in the hope that it will be useful,
* Author: Luc * but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/ */
#include "UBW3CWidgetAPI.h" #include "UBW3CWidgetAPI.h"

@ -1,8 +1,16 @@
/* /*
* UBW3CWidgetAPI.h * This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
* *
* Created on: 28 august 2009 * This program is distributed in the hope that it will be useful,
* Author: Luc * but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/ */
#ifndef UBW3CWIDGETAPI_H_ #ifndef UBW3CWIDGETAPI_H_

@ -1,8 +1,16 @@
/* /*
* UBWidgetMessageAPI.cpp * This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
* *
* Created on: 28 aug 2009 * This program is distributed in the hope that it will be useful,
* Author: Luc * but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/ */
#include "UBWidgetMessageAPI.h" #include "UBWidgetMessageAPI.h"

@ -1,8 +1,16 @@
/* /*
* UBWidgetMessageAPI.h * This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
* *
* Created on: 28 aug 2009 * This program is distributed in the hope that it will be useful,
* Author: Luc * but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/ */
#ifndef UBWIDGETMESSAGEAPI_H_ #ifndef UBWIDGETMESSAGEAPI_H_

@ -1,3 +1,17 @@
/*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include "UBWidgetUniboardAPI.h" #include "UBWidgetUniboardAPI.h"
#include <QWebView> #include <QWebView>

@ -1,3 +1,17 @@
/*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef UBWIDGETAPI_H #ifndef UBWIDGETAPI_H
#define UBWIDGETAPI_H #define UBWIDGETAPI_H

@ -1,8 +1,16 @@
/* /*
* UBWidgetVotingSystemAPI.cpp * This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
* *
* Created on: 16 feb 2010 * This program is distributed in the hope that it will be useful,
* Author: Luc * but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/ */
#include "UBWidgetVotingSystemAPI.h" #include "UBWidgetVotingSystemAPI.h"

@ -1,8 +1,16 @@
/* /*
* UBWidgetVotingSystemAPI.h * This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
* *
* Created on: 16 feb. 2010 * This program is distributed in the hope that it will be useful,
* Author: Luc * but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/ */
#ifndef UBWIDGETVOTINGSYSTEMAPI_H_ #ifndef UBWIDGETVOTINGSYSTEMAPI_H_

@ -1,3 +1,17 @@
/*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include "UBBoardController.h" #include "UBBoardController.h"
#include <QtGui> #include <QtGui>

@ -1,3 +1,17 @@
/*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef UBBOARDCONTROLLER_H_ #ifndef UBBOARDCONTROLLER_H_
#define UBBOARDCONTROLLER_H_ #define UBBOARDCONTROLLER_H_

@ -1,8 +1,16 @@
/* /*
* UBBoardPaletteManager.cpp * This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
* *
* Created on: 3 nov. 2009 * This program is distributed in the hope that it will be useful,
* Author: Luc * but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/ */
#include "UBBoardPaletteManager.h" #include "UBBoardPaletteManager.h"

@ -1,8 +1,16 @@
/* /*
* UBBoardPaletteManager.h * This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
* *
* Created on: 3 nov. 2009 * This program is distributed in the hope that it will be useful,
* Author: Luc * but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/ */
#ifndef UBBOARDPALETTEMANAGER_H_ #ifndef UBBOARDPALETTEMANAGER_H_

@ -1,10 +1,19 @@
/* /*
* UBBoardView.cpp * This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
* *
* Created on: Sep 1, 2008 * This program is distributed in the hope that it will be useful,
* Author: luc * but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/ */
#include "UBBoardView.h" #include "UBBoardView.h"
#include <QtGui> #include <QtGui>

@ -1,8 +1,16 @@
/* /*
* UBBoardView.h * This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
* *
* Created on: Sep 1, 2008 * This program is distributed in the hope that it will be useful,
* Author: luc * but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/ */
#ifndef UBBOARDVIEW_H_ #ifndef UBBOARDVIEW_H_

@ -1,8 +1,16 @@
/* /*
* UBDrawingController.cpp * This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
* *
* Created on: 17 feb. 2010 * This program is distributed in the hope that it will be useful,
* Author: Luc * but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/ */
#include "UBDrawingController.h" #include "UBDrawingController.h"

@ -1,8 +1,16 @@
/* /*
* UBDrawingController.h * This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
* *
* Created on: 17 feb. 2010 * This program is distributed in the hope that it will be useful,
* Author: Luc * but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/ */
#ifndef UBDRAWINGCONTROLLER_H_ #ifndef UBDRAWINGCONTROLLER_H_

@ -1,3 +1,17 @@
/*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include "UBLibraryController.h" #include "UBLibraryController.h"
#include "frameworks/UBFileSystemUtils.h" #include "frameworks/UBFileSystemUtils.h"
@ -130,7 +144,7 @@ void UBLibraryController::importImageOnLibrary(QImage& pImage)
{ {
if(!pImage.isNull()){ if(!pImage.isNull()){
QDateTime now = QDateTime::currentDateTime(); QDateTime now = QDateTime::currentDateTime();
QString filePath = mPicturesStandardDirectoryPath.toLocalFile() + "/ImportedImage-" + now.toString("dd-MM-yyyy hh-mm-ss") + ".png"; QString filePath = mPicturesStandardDirectoryPath.toLocalFile() + "/" + tr("ImportedImage") + "-" + now.toString("dd-MM-yyyy hh-mm-ss") + ".png";
filePath = UBFileSystemUtils::normalizeFilePath(filePath); filePath = UBFileSystemUtils::normalizeFilePath(filePath);
pImage.save(filePath); pImage.save(filePath);
UBApplication::showMessage(tr("Added 1 Image to Library")); UBApplication::showMessage(tr("Added 1 Image to Library"));

@ -1,3 +1,17 @@
/*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef UBLIBRARYCONTROLLER_H_ #ifndef UBLIBRARYCONTROLLER_H_
#define UBLIBRARYCONTROLLER_H_ #define UBLIBRARYCONTROLLER_H_

@ -1,8 +1,16 @@
/* /*
* UB.h * This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
* *
* Created on: Sep 16, 2008 * This program is distributed in the hope that it will be useful,
* Author: luc * but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/ */
#ifndef UB_H_ #ifndef UB_H_

@ -1,8 +1,16 @@
/* /*
* UBApplication.cpp * This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
* *
* Created on: Sep 11, 2008 * This program is distributed in the hope that it will be useful,
* Author: luc * but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/ */
#include "UBApplication.h" #include "UBApplication.h"

@ -1,8 +1,16 @@
/* /*
* UBApplication.h * This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
* *
* Created on: Sep 11, 2008 * This program is distributed in the hope that it will be useful,
* Author: luc * but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/ */
#ifndef UBAPPLICATION_H_ #ifndef UBAPPLICATION_H_

@ -1,3 +1,17 @@
/*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include "UBApplicationController.h" #include "UBApplicationController.h"
#include "frameworks/UBPlatformUtils.h" #include "frameworks/UBPlatformUtils.h"

@ -1,3 +1,17 @@
/*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef UBAPPLICATIONCONTROLLER_H_ #ifndef UBAPPLICATIONCONTROLLER_H_
#define UBAPPLICATIONCONTROLLER_H_ #define UBAPPLICATIONCONTROLLER_H_

@ -1,8 +1,16 @@
/* /*
* UBDisplayManager.cpp * This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
* *
* Created on: 12 fÈvr. 2009 * This program is distributed in the hope that it will be useful,
* Author: Luc * but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/ */
#include "UBDisplayManager.h" #include "UBDisplayManager.h"

@ -1,8 +1,16 @@
/* /*
* UBApplicationController.h * This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
* *
* Created on: 12 feb. 2009 * This program is distributed in the hope that it will be useful,
* Author: Luc * but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/ */
#ifndef UBDISPLAYMANAGER_H_ #ifndef UBDISPLAYMANAGER_H_

@ -1,8 +1,16 @@
/* /*
* UBDocumentManager.cpp * This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
* *
* Created on: Feb 10, 2009 * This program is distributed in the hope that it will be useful,
* Author: julienbachmann * but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/ */

@ -1,8 +1,16 @@
/* /*
* UBDocumentManager.h * This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
* *
* Created on: Feb 10, 2009 * This program is distributed in the hope that it will be useful,
* Author: julienbachmann * but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/ */
#ifndef UBDOCUMENTMANAGER_H_ #ifndef UBDOCUMENTMANAGER_H_

@ -1,3 +1,17 @@
/*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include "UBIdleTimer.h" #include "UBIdleTimer.h"

@ -1,3 +1,17 @@
/*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef UBIDLETIMER_H_ #ifndef UBIDLETIMER_H_
#define UBIDLETIMER_H_ #define UBIDLETIMER_H_

@ -1,8 +1,16 @@
/* /*
* UBMimeData.cpp * This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
* *
* Created on: Dec 8, 2008 * This program is distributed in the hope that it will be useful,
* Author: Luc * but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/ */
#include "UBMimeData.h" #include "UBMimeData.h"

Some files were not shown because too many files have changed in this diff Show More

Loading…
Cancel
Save