r18822 - gnucash/trunk/src/gnc - Cutecash: Copy some more icons into the program. Add a clickable hyperlink.
Christian Stimming
cstim at code.gnucash.org
Thu Mar 4 16:05:59 EST 2010
Author: cstim
Date: 2010-03-04 16:05:58 -0500 (Thu, 04 Mar 2010)
New Revision: 18822
Trac: http://svn.gnucash.org/trac/changeset/18822
Added:
gnucash/trunk/src/gnc/gnucash.qrc
gnucash/trunk/src/gnc/gtk-icons.qrc
gnucash/trunk/src/gnc/gtk-icons/
gnucash/trunk/src/gnc/gtk-icons/gtk-about.png
gnucash/trunk/src/gnc/gtk-icons/gtk-copy.png
gnucash/trunk/src/gnc/gtk-icons/gtk-cut.png
gnucash/trunk/src/gnc/gtk-icons/gtk-new.png
gnucash/trunk/src/gnc/gtk-icons/gtk-open.png
gnucash/trunk/src/gnc/gtk-icons/gtk-paste.png
gnucash/trunk/src/gnc/gtk-icons/gtk-quit.png
gnucash/trunk/src/gnc/gtk-icons/gtk-save-as.png
gnucash/trunk/src/gnc/gtk-icons/gtk-save.png
Removed:
gnucash/trunk/src/gnc/gnc.qrc
Modified:
gnucash/trunk/src/gnc/CMakeLists.txt
gnucash/trunk/src/gnc/mainwindow.cpp
gnucash/trunk/src/gnc/mainwindow.hpp
gnucash/trunk/src/gnc/mainwindow.ui
Log:
Cutecash: Copy some more icons into the program. Add a clickable hyperlink.
Modified: gnucash/trunk/src/gnc/CMakeLists.txt
===================================================================
--- gnucash/trunk/src/gnc/CMakeLists.txt 2010-03-04 20:53:21 UTC (rev 18821)
+++ gnucash/trunk/src/gnc/CMakeLists.txt 2010-03-04 21:05:58 UTC (rev 18822)
@@ -32,7 +32,8 @@
)
SET (gnc_RESOURCES
- gnc.qrc
+ gnucash.qrc
+ gtk-icons.qrc
)
# Generation of resource files
QT4_ADD_RESOURCES (gnc_RESOURCE ${gnc_RESOURCES})
Deleted: gnucash/trunk/src/gnc/gnc.qrc
===================================================================
--- gnucash/trunk/src/gnc/gnc.qrc 2010-03-04 20:53:21 UTC (rev 18821)
+++ gnucash/trunk/src/gnc/gnc.qrc 2010-03-04 21:05:58 UTC (rev 18822)
@@ -1,23 +0,0 @@
-<!DOCTYPE RCC>
-<RCC version="1.0">
-<qresource>
- <file>../pixmaps/gnc-account-delete.png</file>
- <file>../pixmaps/gnc-account-edit.png</file>
- <file>../pixmaps/gnc-account-new.png</file>
- <file>../pixmaps/gnc-account-open.png</file>
- <file>../pixmaps/gnc-account.png</file>
- <file>../pixmaps/gnc-invoice-edit.png</file>
- <file>../pixmaps/gnc-invoice.png</file>
- <file>../pixmaps/gnc-invoice-post.png</file>
- <file>../pixmaps/gnc-invoice-unpost.png</file>
- <file>../pixmaps/gnc-jumpto.png</file>
- <file>../pixmaps/gnc-split-trans.png</file>
- <file>../pixmaps/gnc-sx-new.png</file>
- <file>../pixmaps/gnc-transfer.png</file>
- <file>../pixmaps/gnucash-icon-16x16.png</file>
- <file>../pixmaps/gnucash-icon-32x32.png</file>
- <file>../pixmaps/gnucash-icon-48x48.png</file>
- <file>../pixmaps/gnucash_splash.png</file>
- <file>bla.html</file>
-</qresource>
-</RCC>
Copied: gnucash/trunk/src/gnc/gnucash.qrc (from rev 18821, gnucash/trunk/src/gnc/gnc.qrc)
===================================================================
--- gnucash/trunk/src/gnc/gnucash.qrc (rev 0)
+++ gnucash/trunk/src/gnc/gnucash.qrc 2010-03-04 21:05:58 UTC (rev 18822)
@@ -0,0 +1,22 @@
+<!DOCTYPE RCC>
+<RCC version="1.0">
+<qresource>
+ <file>../pixmaps/gnc-account-delete.png</file>
+ <file>../pixmaps/gnc-account-edit.png</file>
+ <file>../pixmaps/gnc-account-new.png</file>
+ <file>../pixmaps/gnc-account-open.png</file>
+ <file>../pixmaps/gnc-account.png</file>
+ <file>../pixmaps/gnc-invoice-edit.png</file>
+ <file>../pixmaps/gnc-invoice.png</file>
+ <file>../pixmaps/gnc-invoice-post.png</file>
+ <file>../pixmaps/gnc-invoice-unpost.png</file>
+ <file>../pixmaps/gnc-jumpto.png</file>
+ <file>../pixmaps/gnc-split-trans.png</file>
+ <file>../pixmaps/gnc-sx-new.png</file>
+ <file>../pixmaps/gnc-transfer.png</file>
+ <file>../pixmaps/gnucash-icon-16x16.png</file>
+ <file>../pixmaps/gnucash-icon-32x32.png</file>
+ <file>../pixmaps/gnucash-icon-48x48.png</file>
+ <file>../pixmaps/gnucash_splash.png</file>
+</qresource>
+</RCC>
Added: gnucash/trunk/src/gnc/gtk-icons/gtk-about.png
===================================================================
--- gnucash/trunk/src/gnc/gtk-icons/gtk-about.png (rev 0)
+++ gnucash/trunk/src/gnc/gtk-icons/gtk-about.png 2010-03-04 21:05:58 UTC (rev 18822)
@@ -0,0 +1,23 @@
+‰PNG
+
++ËR? ñ õD|ý˜H
+n†aÜs°îY1”NAêäÒ*U¼PqKðÜ"Œ[‚e©!T?êåã˜?ó~’?j™½ß°åWÓ>· —¥Ût0ñ¾Ñ{Âñõ›Æ;‡Vý3XS‚RqHê|uR%Ú
+¨z D§¶ã-À¸¯Ô)Áx •„Òƒ J œŸpç§8¦UÝ–ÎðGÄÌÈe)BBœÞpÓ¶u½#wÁ©N Qùž[†RÑeÂñ¶¸Œ€D+S`î?ÿ,2ÛëýØ*¤ú[ïðx$±a³V*…fý$<wÄ-ŸpBÅ dB„@Bu+ÀoÓ^¸ì5ô+ÓÇZ^3¦@çη
+FË9ƒÂô¤[¬ð“÷îÄñŽ/ùÂR÷‡‰U„Å¢0+̲슮+‰k+?”R󟮿½Ï{æ“(px>3¾µ¨=ˆViÄei÷í—:ùÕÝØrǘxëãIûðÓ/ãP'è¢íìo¿€™yivAø{ÀåG\ No newline at end of file
Added: gnucash/trunk/src/gnc/gtk-icons/gtk-copy.png
===================================================================
--- gnucash/trunk/src/gnc/gtk-icons/gtk-copy.png (rev 0)
+++ gnucash/trunk/src/gnc/gtk-icons/gtk-copy.png 2010-03-04 21:05:58 UTC (rev 18822)
@@ -0,0 +1,6 @@
+‰PNG
+
++îkÒ!Ýs‚»aÇ¡žÔîo¤CBˆ×@8è<Ôµ+À†P z[á†ôz=xUWî;‹hÜòyi"궮ܨT¯,½¨+W`/çn:+'ëÜÖ•+pY¹°ô¢®ÜƵwS±T˜¬Õušp0*' (óžÎ['®«¬€Bˆ¿ÕívÖ––V¤Du&žmÖ·h5ÉÂéI™è²œ€¸®2°f&süà Ã/¥EføGk}\ No newline at end of file
Added: gnucash/trunk/src/gnc/gtk-icons/gtk-cut.png
===================================================================
--- gnucash/trunk/src/gnc/gtk-icons/gtk-cut.png (rev 0)
+++ gnucash/trunk/src/gnc/gtk-icons/gtk-cut.png 2010-03-04 21:05:58 UTC (rev 18822)
@@ -0,0 +1,17 @@
+‰PNG
+
++QÊùA™
+ŸN$°£££tJyùŠ¢<³m[¨¬h+mmYº,¿ä¶%¶“ï.@"Â=
+
+Mž¦Æ&)wŒåmßÖ>}ÆŒªÇ§M›.ÔÔ\+K²t_Ñ+ð½åõ>üII‰uaåJþ‘¢d+½8šã®yŒÒÍeœßA+À@à\ No newline at end of file
Added: gnucash/trunk/src/gnc/gtk-icons/gtk-new.png
===================================================================
--- gnucash/trunk/src/gnc/gtk-icons/gtk-new.png (rev 0)
+++ gnucash/trunk/src/gnc/gtk-icons/gtk-new.png 2010-03-04 21:05:58 UTC (rev 18822)
@@ -0,0 +1,15 @@
+‰PNG
+
++eæÿÅ9'âD‰ßÉÌž´Ûi³V³ÍÑȚʈ£šý¾;̲Þîææ®Dvô=ýva\wû–«sÞ°S欥àj`”IÖ3ç*Øv%npâj[–|üÉå—%{?k€Q<jSÉéšk{¬5ö©×:Y½ÑÝo5ï~jóæÕ8î%†JÖ· }`ÇïÃ7µÚõÿK€hÁ”Þ}ñ//5*Qå>3Ï0ûÿÃì6izˆ£zýèäa÷ôÓÖ/„ì¯Ý{"ìɱ‰¹fº8á ̮ߔ°9€²f%ª°½óÓx¢f˜f!o!X+˜%V]™„áÒ^0˜ “'ý‡tðÁJùaz™¤ÿ©€`(ó¤Ë=PÞpÊ«À" ŠYL°X£N–}¶ dŸ“¦/£ëd}s!‰"uV+ )P®;[Œ‡0ëbBƒôéðU‡ 3 at +ÁÀHÑ‹Á΀¶Œ·i+# KÔd`³â¿ üuK³.åÈ2÷+¶qå<ê7¥j¨âžÏhZ”´ £§´VÊúâd½àh5lN÷òJ(F9d
+<s~¶ébÒŽ¿½V~»ìpÑë'ýÆæÉSsR¿Å’$Áy×ZŒÃ£\ No newline at end of file
Added: gnucash/trunk/src/gnc/gtk-icons/gtk-open.png
===================================================================
--- gnucash/trunk/src/gnc/gtk-icons/gtk-open.png (rev 0)
+++ gnucash/trunk/src/gnc/gtk-icons/gtk-open.png 2010-03-04 21:05:58 UTC (rev 18822)
@@ -0,0 +1,16 @@
+‰PNG
+
++0;—º25ýÒäèèÞ¾N¾/qéâò#%Ígétæì“+`+´ÖÐZë7R!„€!y8Ù{‹0‚+!>7Ɖ¹®#¥¿ DŒŒŒ4Z’€×^?Šçã
+ÐÔââuä~»œu+·aÝõ«X¼‹êÃG¿@3çlõîjvi¹`5»~k
+nþs•{÷.-<‘HzåÕ—&¢ñ*´01p.Ö.|ÿÃáJ¥r«µç€1\ No newline at end of file
Added: gnucash/trunk/src/gnc/gtk-icons/gtk-paste.png
===================================================================
--- gnucash/trunk/src/gnc/gtk-icons/gtk-paste.png (rev 0)
+++ gnucash/trunk/src/gnc/gtk-icons/gtk-paste.png 2010-03-04 21:05:58 UTC (rev 18822)
@@ -0,0 +1,21 @@
+‰PNG
+
++t`DJZMІtcâ˜?DMD*ˆUDp£11‘è‚…Kÿc„E%&¦šÐˆÖ…+*”Ö–UP#"¡ºhDMÓí̼™w‹é´Cy¿&ÈInfæÞsÏùÜó½çfDUIb{÷íÉ·¤ÓïúÖvˆ`A¬€_àrÙó^ùø£Áó‰Î™›Ô±%þ°{ãwu´cÕ‚‚UEçÆ¥Ë“k&¾;èº)++׬_•Ÿ~8½é¹±>`sÐ>iì‚ÃÏ;vÏ‹¯‹VþUªUËûǬ½§›ÜÆ
+8Ž
+P¯Âৃðï/=œÁuâ.cðƒ·ôà€ob++,8ß„
+\#Á¢øõŸS¥•\ž]‹Õ€Ó-Ê'Óù79räÈ_@ÉZûÆúCƒµÑ'»pµÞgö²zõêH¿E¶²P(000Є &V‚ŠÙl–©©)ªÕ*ÆŒ1ˆHèw×uikkÃ÷ý¥±b»
+ED8}æT$lÝßÞ8C] "lx0YÆÏD++Xd2™Ì’t:J’TDTDl¹\ö
+…Â,p(\ No newline at end of file
Added: gnucash/trunk/src/gnc/gtk-icons/gtk-quit.png
===================================================================
--- gnucash/trunk/src/gnc/gtk-icons/gtk-quit.png (rev 0)
+++ gnucash/trunk/src/gnc/gtk-icons/gtk-quit.png 2010-03-04 21:05:58 UTC (rev 18822)
@@ -0,0 +1,10 @@
+‰PNG
+
++°uË6üþlTUÌMWPU'À’<Ì„”””íÏ¢¿¯Ÿòòr²ý~4]µÍQT……ÉôP+
+)+}”è½P:’0Y%tc2¥½o€¼_ ú“ÈXi!ÈÏ+ PPˆa„.6r¹é“±A4Oúfä µëëÞ©eíëñ8«VåPâ/cjzŠúÐï\ë¼JÇÀßܾÛMœ(ê¬Äk><ÆÚWö#„‚Ïç#'ÇËäÔ8.‡hÿ÷Zn†šî(:(‹ô¹Åº¡+€3eå|±s^¯Ÿ/ƒÉé :o\ãÒÕ:š®×1¾€ªR5\ No newline at end of file
Added: gnucash/trunk/src/gnc/gtk-icons/gtk-save-as.png
===================================================================
--- gnucash/trunk/src/gnc/gtk-icons/gtk-save-as.png (rev 0)
+++ gnucash/trunk/src/gnc/gtk-icons/gtk-save-as.png 2010-03-04 21:05:58 UTC (rev 18822)
@@ -0,0 +1,18 @@
+‰PNG
+
++Fýä™9ÉÜó<çœÿù?ç<s3ò¥G›×;Êü¡Ûø/KLÇ'ªÖßôÌÅÆMµí?þJô¿ýÇ_‰6=Ö6 g”j…΋2ë9ðÏOTÅò¥+ÜtCO=ý©¸(³ŽRÐ ?µ÷Xþ ÑžIœxslWçò¥ë>±ó¿sþ+@%,ßþ£ço|ª”Î;†?¸õqöÿL§3€§Rìš|€Ï§¾ÏOþôõópµ7Q
+j_…Ó˜™Éöó9o|ĉ¤PH¡B „@JIHY?Ñg¿é‹â7~éÙÕHxú³£\¤3É%‰
+H¡p”ËÆG˜ãóq€Î¹ðÀƒ÷ß&„|X
+Ñ<ir4õ<wßðs”®Wønåu¦Ã1Ú~b2Åkùßpaìjº—#„¡å—ÏÝCwîZR~UkõÓïÜóÝûÎÌ¥Î4lÞ¼ÙušÌ+×_w}óÚ5kY½ìséò̾_°¼ï2ö—ÿÂXm„¸j#®Z12Æþ^„L†ï1mÇIÉ^¾Ÿõ=ßàÖ+î¦É€><zhõU®~æ…/ŒŸžï¬1tãfCgG§Ç<Þ:ð6¹\–Žò*º¢•üq÷¯X»ÕÝ O+êy·²oôuö½½‡õ‰{±!KEÆÇÇ©ù5„+`×+…<‹.Ž ¼öTHµqåŠÏĬ
+ñâ…|žT2Bòù“;ö>FiZ’)â^3®ë¢µFJED„\ No newline at end of file
Added: gnucash/trunk/src/gnc/gtk-icons/gtk-save.png
===================================================================
--- gnucash/trunk/src/gnc/gtk-icons/gtk-save.png (rev 0)
+++ gnucash/trunk/src/gnc/gtk-icons/gtk-save.png 2010-03-04 21:05:58 UTC (rev 18822)
@@ -0,0 +1,18 @@
+‰PNG
+
++ø#(‘ZŒþ1Fü£˜%Ö’ŸbÂ…611XbÛ˜¥
+µÁ`¥´»|–.»3ÛÝùºsï¹þ˜Ùi·[(‹þôÜœ›ÜsÎûžç¼ç}ßû
+–ض=â„[óøw<ñqõé¥+Õ)%! åÒ
+zQ€óãÞQQ¤Í%‰
+ÑsT”m°@æ£òÂǰ€¸%ëüó]_z(¦tó„oÖŽ¶ $‰ñúvn$,¿zâÎê\µôµÔ~¡Áûøù×…K!RJÞÓG˜Í½Ì·n¸‡Ñú~¦ý·É™ÕäÌjb*Í‘ÒïÚ²9³šµ‘ÙsðtL®§×ÛŒµ¶®µºÿwýèÞ‹
+
+EÝDdjëÖ›â™t†0¿ÞÏ[õç¹ýê;y©ò8ŽŒ“3—áª4GJ{+ÁÄäiæ*sd—åèîêÅu㛦×zA×J¡¤B ð¼¥R‰D<ÎúO]N4Å÷}fçf)•fXy骂Ï:¡TÛ6¬ÿlÌÚ+ïüÅcã½Ð‘8ü\ No newline at end of file
Added: gnucash/trunk/src/gnc/gtk-icons.qrc
===================================================================
--- gnucash/trunk/src/gnc/gtk-icons.qrc (rev 0)
+++ gnucash/trunk/src/gnc/gtk-icons.qrc 2010-03-04 21:05:58 UTC (rev 18822)
@@ -0,0 +1,14 @@
+<!DOCTYPE RCC>
+<RCC version="1.0">
+<qresource>
+ <file>gtk-icons/gtk-about.png</file>
+ <file>gtk-icons/gtk-copy.png</file>
+ <file>gtk-icons/gtk-cut.png</file>
+ <file>gtk-icons/gtk-new.png</file>
+ <file>gtk-icons/gtk-open.png</file>
+ <file>gtk-icons/gtk-paste.png</file>
+ <file>gtk-icons/gtk-quit.png</file>
+ <file>gtk-icons/gtk-save-as.png</file>
+ <file>gtk-icons/gtk-save.png</file>
+</qresource>
+</RCC>
Modified: gnucash/trunk/src/gnc/mainwindow.cpp
===================================================================
--- gnucash/trunk/src/gnc/mainwindow.cpp 2010-03-04 20:53:21 UTC (rev 18821)
+++ gnucash/trunk/src/gnc/mainwindow.cpp 2010-03-04 21:05:58 UTC (rev 18822)
@@ -112,6 +112,13 @@
// setWindowModified(ui->textEdit->document()->isModified());
}
+void MainWindow::anchorClicked(const QUrl &url)
+{
+ QMessageBox::information(this, tr("Got you!"),
+ tr("Obviously you clicked the link with the URL %1.")
+ .arg(url.toString()));
+}
+
void MainWindow::createActions()
{
ui->actionNew->setShortcuts(QKeySequence::New);
@@ -135,6 +142,9 @@
ui->actionCut->setEnabled(false);
ui->actionCopy->setEnabled(false);
+
+ connect(ui->textBrowser, SIGNAL(anchorClicked(const QUrl &)),
+ this, SLOT(anchorClicked(const QUrl &)));
// connect(ui->textEdit, SIGNAL(copyAvailable(bool)),
// ui->actionCut, SLOT(setEnabled(bool)));
// connect(ui->textEdit, SIGNAL(copyAvailable(bool)),
Modified: gnucash/trunk/src/gnc/mainwindow.hpp
===================================================================
--- gnucash/trunk/src/gnc/mainwindow.hpp 2010-03-04 20:53:21 UTC (rev 18821)
+++ gnucash/trunk/src/gnc/mainwindow.hpp 2010-03-04 21:05:58 UTC (rev 18822)
@@ -28,6 +28,9 @@
MainWindow();
~MainWindow();
+public slots:
+ void anchorClicked(const QUrl &);
+
protected:
void closeEvent(QCloseEvent *event);
Modified: gnucash/trunk/src/gnc/mainwindow.ui
===================================================================
--- gnucash/trunk/src/gnc/mainwindow.ui 2010-03-04 20:53:21 UTC (rev 18821)
+++ gnucash/trunk/src/gnc/mainwindow.ui 2010-03-04 21:05:58 UTC (rev 18822)
@@ -14,7 +14,7 @@
<string>GnuCash Qt Example</string>
</property>
<property name="windowIcon">
- <iconset resource="gnc.qrc">
+ <iconset resource="gnucash.qrc">
<normaloff>:/pixmaps/gnucash-icon-32x32.png</normaloff>:/pixmaps/gnucash-icon-32x32.png</iconset>
</property>
<widget class="QWidget" name="centralwidget">
@@ -50,13 +50,17 @@
<string><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
<html><head><meta name="qrichtext" content="1" /><style type="text/css">
p, li { white-space: pre-wrap; }
-</style></head><body style=" font-family:'MS Shell Dlg 2'; font-size:8.25pt; font-weight:400; font-style:normal;">
-<p style=" margin-top:18px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-size:12pt; font-weight:600;">GnuCash C++ Test</span></p>
-<p style=" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-size:8pt;">This is a text that demonstrates how we can build a GnuCash variant in C++ and Qt.</span></p>
-<p style=" margin-top:16px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-size:8pt; font-weight:600;">Images</span></p>
+</style></head><body style=" font-family:'Sans'; font-size:10pt; font-weight:400; font-style:normal;">
+<p style=" margin-top:18px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'MS Shell Dlg 2'; font-size:12pt; font-weight:600;">Cutecash</span></p>
+<p style=" margin-top:18px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'MS Shell Dlg 2'; font-size:12pt; font-weight:600;">Free Finance Software. Easy to develop, easy to use.</span></p>
+<p style=" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'MS Shell Dlg 2'; font-size:8pt;">Currently this is only a proof-of-concept for developers: You can load an existing gnucash XML file, and it will show the list of accounts as a flat table in a QTableView. The fun part is how easy it was to add this display of all accounts, so it will probably take only another 1-2 hours until the account list is a tree to be viewed in a QTreeView. And a QTableView with the splits of an account can't be far...</span></p>
+<p style=" margin-top:16px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'MS Shell Dlg 2'; font-size:8pt; font-weight:600;">Images</span></p>
<p style=" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><img src=":/pixmaps/gnucash_splash.png" /></p>
-<p style=" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-size:8pt;">We can also embed images here in this compiled-in HTML page.</span></p></body></html></string>
+<p style=" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'MS Shell Dlg 2'; font-size:8pt;">We can also embed images here in this compiled-in HTML page, as you can see above. Eventually, this page should explain what this software can do for the new user. Maybe a </span><a href="gnc:test"><span style=" text-decoration: underline; color:#0000ff;">hyperlink </span></a><span style=" font-family:'MS Shell Dlg 2'; font-size:8pt;">here?</span></p></body></html></string>
</property>
+ <property name="openLinks">
+ <bool>false</bool>
+ </property>
</widget>
</item>
</layout>
@@ -84,7 +88,7 @@
<x>0</x>
<y>0</y>
<width>707</width>
- <height>23</height>
+ <height>25</height>
</rect>
</property>
<widget class="QMenu" name="menuFile">
@@ -131,8 +135,8 @@
<widget class="QStatusBar" name="statusbar"/>
<action name="actionNew">
<property name="icon">
- <iconset resource="gnc.qrc">
- <normaloff>:/pixmaps/gnc-account-new.png</normaloff>:/pixmaps/gnc-account-new.png</iconset>
+ <iconset resource="gtk-icons.qrc">
+ <normaloff>:/gtk-icons/gtk-new.png</normaloff>:/gtk-icons/gtk-new.png</iconset>
</property>
<property name="text">
<string>&New</string>
@@ -146,8 +150,8 @@
</action>
<action name="actionOpen">
<property name="icon">
- <iconset resource="gnc.qrc">
- <normaloff>:/pixmaps/gnc-account-open.png</normaloff>:/pixmaps/gnc-account-open.png</iconset>
+ <iconset resource="gtk-icons.qrc">
+ <normaloff>:/gtk-icons/gtk-open.png</normaloff>:/gtk-icons/gtk-open.png</iconset>
</property>
<property name="text">
<string>&Open...</string>
@@ -160,11 +164,19 @@
</property>
</action>
<action name="actionAbout">
+ <property name="icon">
+ <iconset resource="gtk-icons.qrc">
+ <normaloff>:/gtk-icons/gtk-about.png</normaloff>:/gtk-icons/gtk-about.png</iconset>
+ </property>
<property name="text">
<string>About</string>
</property>
</action>
<action name="actionSave">
+ <property name="icon">
+ <iconset resource="gtk-icons.qrc">
+ <normaloff>:/gtk-icons/gtk-save.png</normaloff>:/gtk-icons/gtk-save.png</iconset>
+ </property>
<property name="text">
<string>Save</string>
</property>
@@ -176,6 +188,10 @@
</property>
</action>
<action name="actionSave_as">
+ <property name="icon">
+ <iconset resource="gtk-icons.qrc">
+ <normaloff>:/gtk-icons/gtk-save-as.png</normaloff>:/gtk-icons/gtk-save-as.png</iconset>
+ </property>
<property name="text">
<string>Save as...</string>
</property>
@@ -184,6 +200,10 @@
</property>
</action>
<action name="actionExit">
+ <property name="icon">
+ <iconset resource="gtk-icons.qrc">
+ <normaloff>:/gtk-icons/gtk-quit.png</normaloff>:/gtk-icons/gtk-quit.png</iconset>
+ </property>
<property name="text">
<string>Exit</string>
</property>
@@ -195,8 +215,11 @@
</property>
</action>
<action name="actionNewAccount">
+ <property name="enabled">
+ <bool>false</bool>
+ </property>
<property name="icon">
- <iconset resource="gnc.qrc">
+ <iconset resource="gnucash.qrc">
<normaloff>:/pixmaps/gnc-account-new.png</normaloff>:/pixmaps/gnc-account-new.png</iconset>
</property>
<property name="text">
@@ -204,8 +227,11 @@
</property>
</action>
<action name="actionOpenAccount">
+ <property name="enabled">
+ <bool>false</bool>
+ </property>
<property name="icon">
- <iconset resource="gnc.qrc">
+ <iconset resource="gnucash.qrc">
<normaloff>:/pixmaps/gnc-account-open.png</normaloff>:/pixmaps/gnc-account-open.png</iconset>
</property>
<property name="text">
@@ -213,8 +239,11 @@
</property>
</action>
<action name="actionAccountProperties">
+ <property name="enabled">
+ <bool>false</bool>
+ </property>
<property name="icon">
- <iconset resource="gnc.qrc">
+ <iconset resource="gnucash.qrc">
<normaloff>:/pixmaps/gnc-account-edit.png</normaloff>:/pixmaps/gnc-account-edit.png</iconset>
</property>
<property name="text">
@@ -222,23 +251,38 @@
</property>
</action>
<action name="actionCut">
+ <property name="icon">
+ <iconset resource="gtk-icons.qrc">
+ <normaloff>:/gtk-icons/gtk-cut.png</normaloff>:/gtk-icons/gtk-cut.png</iconset>
+ </property>
<property name="text">
<string>Cut</string>
</property>
</action>
<action name="actionCopy">
+ <property name="icon">
+ <iconset resource="gtk-icons.qrc">
+ <normaloff>:/gtk-icons/gtk-copy.png</normaloff>:/gtk-icons/gtk-copy.png</iconset>
+ </property>
<property name="text">
<string>Copy</string>
</property>
</action>
<action name="actionPaste">
+ <property name="icon">
+ <iconset resource="gtk-icons.qrc">
+ <normaloff>:/gtk-icons/gtk-paste.png</normaloff>:/gtk-icons/gtk-paste.png</iconset>
+ </property>
<property name="text">
<string>Paste</string>
</property>
</action>
<action name="actionDeleteAccount">
+ <property name="enabled">
+ <bool>false</bool>
+ </property>
<property name="icon">
- <iconset resource="gnc.qrc">
+ <iconset resource="gnucash.qrc">
<normaloff>:/pixmaps/gnc-account-delete.png</normaloff>:/pixmaps/gnc-account-delete.png</iconset>
</property>
<property name="text">
@@ -252,7 +296,8 @@
</action>
</widget>
<resources>
- <include location="gnc.qrc"/>
+ <include location="gnucash.qrc"/>
+ <include location="gtk-icons.qrc"/>
</resources>
<connections/>
</ui>
More information about the gnucash-changes
mailing list