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
+naÜs°îY1NAêäÒ*U¼PqKðÜ"[e©!T?êåã?ó~?j½ß°åWÓ>· ¥Ût0ñ¾Ñ{ÂñõÆ;Vý3XSRqHê|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¬Õup0*' (óÎ['®«¬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_Ñ+ð½åõ>üIIuaå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[Â|üÉå%{?kQ<jSÉék{¬5ö©×:Y½ÑÝo5ï~jóæÕ8î%JÖ· }`ÇïÃ7µÚõÿKhÁÞ}ñ//5*Qå>3Ï0ûÿÃì6izË£zýèäa÷ôÓÖ/ì¯Ý{"ìɱ¹fº8á ̮߰9²f%ª°½óÓx¢ff!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ƹ®#¥¿ D4Z×^?çã
+ÐÔââ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`DJZMtcâ?DMD*UDp£11è
KÿcE%&¦ÐÖ
+*Ö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©©)ªÕ*Æ1Hèw×uikkÃ÷ý¥±b»
+ED8}æT$lÝßÞ8C] "lx0YÆÏD++Xd2Ìt:JTDTDl¹\ö
+
Â,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!ÈÏ+ PPa.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 gj
Î2ë9ðÏOTÅò¥+ÜtCO=ý©¸(³RÐ ?µ÷Xþ ÑIxslWçò¥ë>±ó¿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¤Í%
+ÑsTm°@æ£òÂǰ¸%ëüó]_z(¦tóoÖ¶ $ñúvn$,¿zâÎê\µôµÔ~¡Áûøù×
K!RJÞÓGͽ̷n¸Ñú~¦ý·ÉÕäÌjb*ÍÒïÚ²9³µÙsðtL®§×Ûµ¶®µºÿwýèÞ
+
+EÝDdjëÖât0¿ÞÏ[õç¹ýê;y©ò83áª4GJ{+ÁÄäiæ*sdåèîêÅuã¦×zA×J¡¤B ð¼¥RD<Îú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