commit-gnue
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

gnue/forms ROADMAP.in src/uidrivers/qt/ToolBar....


From: Jason Cater
Subject: gnue/forms ROADMAP.in src/uidrivers/qt/ToolBar....
Date: Tue, 11 Mar 2003 16:03:02 -0500

CVSROOT:        /cvsroot/gnue
Module name:    gnue
Changes by:     Jason Cater <address@hidden>    03/03/11 16:03:02

Modified files:
        forms          : ROADMAP.in 
        forms/src/uidrivers/qt: ToolBar.py 
Added files:
        forms/images   : README commit-24x24-gray.bmp 
                         commit-24x24-gray.png enterquery-24x24-gray.bmp 
                         enterquery-24x24-gray.png 
                         execquery-24x24-gray.bmp 
                         execquery-24x24-gray.png exit-24x24-gray.bmp 
                         exit-24x24-gray.png firstrecord-24x24-gray.bmp 
                         firstrecord-24x24-gray.png 
                         jumpprompt-24x24-gray.bmp 
                         jumpprompt-24x24-gray.png 
                         lastrecord-24x24-gray.bmp 
                         lastrecord-24x24-gray.png 
                         markfordelete-24x24-gray.bmp 
                         markfordelete-24x24-gray.png 
                         newrecord-24x24-gray.bmp 
                         newrecord-24x24-gray.png 
                         nextrecord-24x24-gray.bmp 
                         nextrecord-24x24-gray.png 
                         prevrecord-24x24-gray.bmp 
                         prevrecord-24x24-gray.png 
                         rollback-24x24-gray.bmp rollback-24x24-gray.png 

Log message:
        added disabled icons for platforms that need them

CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/gnue/gnue/forms/ROADMAP.in.diff?tr1=1.2&tr2=1.3&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/gnue/gnue/forms/images/README?rev=1.1
http://savannah.gnu.org/cgi-bin/viewcvs/gnue/gnue/forms/images/commit-24x24-gray.bmp?rev=1.1
http://savannah.gnu.org/cgi-bin/viewcvs/gnue/gnue/forms/images/commit-24x24-gray.png?rev=1.1
http://savannah.gnu.org/cgi-bin/viewcvs/gnue/gnue/forms/images/enterquery-24x24-gray.bmp?rev=1.1
http://savannah.gnu.org/cgi-bin/viewcvs/gnue/gnue/forms/images/enterquery-24x24-gray.png?rev=1.1
http://savannah.gnu.org/cgi-bin/viewcvs/gnue/gnue/forms/images/execquery-24x24-gray.bmp?rev=1.1
http://savannah.gnu.org/cgi-bin/viewcvs/gnue/gnue/forms/images/execquery-24x24-gray.png?rev=1.1
http://savannah.gnu.org/cgi-bin/viewcvs/gnue/gnue/forms/images/exit-24x24-gray.bmp?rev=1.1
http://savannah.gnu.org/cgi-bin/viewcvs/gnue/gnue/forms/images/exit-24x24-gray.png?rev=1.1
http://savannah.gnu.org/cgi-bin/viewcvs/gnue/gnue/forms/images/firstrecord-24x24-gray.bmp?rev=1.1
http://savannah.gnu.org/cgi-bin/viewcvs/gnue/gnue/forms/images/firstrecord-24x24-gray.png?rev=1.1
http://savannah.gnu.org/cgi-bin/viewcvs/gnue/gnue/forms/images/jumpprompt-24x24-gray.bmp?rev=1.1
http://savannah.gnu.org/cgi-bin/viewcvs/gnue/gnue/forms/images/jumpprompt-24x24-gray.png?rev=1.1
http://savannah.gnu.org/cgi-bin/viewcvs/gnue/gnue/forms/images/lastrecord-24x24-gray.bmp?rev=1.1
http://savannah.gnu.org/cgi-bin/viewcvs/gnue/gnue/forms/images/lastrecord-24x24-gray.png?rev=1.1
http://savannah.gnu.org/cgi-bin/viewcvs/gnue/gnue/forms/images/markfordelete-24x24-gray.bmp?rev=1.1
http://savannah.gnu.org/cgi-bin/viewcvs/gnue/gnue/forms/images/markfordelete-24x24-gray.png?rev=1.1
http://savannah.gnu.org/cgi-bin/viewcvs/gnue/gnue/forms/images/newrecord-24x24-gray.bmp?rev=1.1
http://savannah.gnu.org/cgi-bin/viewcvs/gnue/gnue/forms/images/newrecord-24x24-gray.png?rev=1.1
http://savannah.gnu.org/cgi-bin/viewcvs/gnue/gnue/forms/images/nextrecord-24x24-gray.bmp?rev=1.1
http://savannah.gnu.org/cgi-bin/viewcvs/gnue/gnue/forms/images/nextrecord-24x24-gray.png?rev=1.1
http://savannah.gnu.org/cgi-bin/viewcvs/gnue/gnue/forms/images/prevrecord-24x24-gray.bmp?rev=1.1
http://savannah.gnu.org/cgi-bin/viewcvs/gnue/gnue/forms/images/prevrecord-24x24-gray.png?rev=1.1
http://savannah.gnu.org/cgi-bin/viewcvs/gnue/gnue/forms/images/rollback-24x24-gray.bmp?rev=1.1
http://savannah.gnu.org/cgi-bin/viewcvs/gnue/gnue/forms/images/rollback-24x24-gray.png?rev=1.1
http://savannah.gnu.org/cgi-bin/viewcvs/gnue/gnue/forms/src/uidrivers/qt/ToolBar.py.diff?tr1=1.4&tr2=1.5&r1=text&r2=text

Patches:
Index: gnue/forms/ROADMAP.in
diff -c gnue/forms/ROADMAP.in:1.2 gnue/forms/ROADMAP.in:1.3
*** gnue/forms/ROADMAP.in:1.2   Mon Dec 16 22:07:26 2002
--- gnue/forms/ROADMAP.in       Tue Mar 11 16:03:02 2003
***************
*** 2,8 ****
  
  ===================================================================
  
! 0.5.x
  
  GOALS
  
--- 2,8 ----
  
  ===================================================================
  
! 0.5.x releases
  
  GOALS
  
***************
*** 37,46 ****
    Attempt to find better way to deal with fonts in wx driver
  
  
-   [ Win32 Driver ]
- 
-   Start on Win32 Driver
- 
  
  IN PROGRESS
  
--- 37,42 ----
***************
*** 78,83 ****
--- 74,87 ----
  
    Complete GTK2 Driver
  
+   [ Win32 Driver ]
+ 
+   Start on Win32 Driver
+ 
+   [ QT3 Driver ]
+ 
+   Start on QT3 Driver
+ 
  
  FINISHED
  
***************
*** 99,105 ****
  
  ===================================================================
  
! 0.6.x
  
  GOALS
  
--- 103,109 ----
  
  ===================================================================
  
! 0.6.x releases
  
  GOALS
  
Index: gnue/forms/src/uidrivers/qt/ToolBar.py
diff -c gnue/forms/src/uidrivers/qt/ToolBar.py:1.4 
gnue/forms/src/uidrivers/qt/ToolBar.py:1.5
*** gnue/forms/src/uidrivers/qt/ToolBar.py:1.4  Mon Mar 10 11:51:48 2003
--- gnue/forms/src/uidrivers/qt/ToolBar.py      Tue Mar 11 16:03:02 2003
***************
*** 30,36 ****
  import string, sys
  from qt import *
  from gnue.forms.uidrivers._commonGuiToolkit.ToolBar import ToolBar as 
_BaseToolBar
!   
  class ToolBar(_BaseToolBar):
  
    # Create the menu
--- 30,36 ----
  import string, sys
  from qt import *
  from gnue.forms.uidrivers._commonGuiToolkit.ToolBar import ToolBar as 
_BaseToolBar
! 
  class ToolBar(_BaseToolBar):
  
    # Create the menu
***************
*** 42,51 ****
    # Add a menu item (action)
    def addAction(self, name, userAction):
      iconloc = userAction.getIconLocation(size="24x24")
  
      # Set the action icon if available
      if iconloc:
!       try: 
          # Some caching logic for faster second/third forms
          icon = _cachedIcons[iconloc]
        except KeyError:
--- 42,52 ----
    # Add a menu item (action)
    def addAction(self, name, userAction):
      iconloc = userAction.getIconLocation(size="24x24")
+     grayloc = userAction.getIconLocation(size="24x24-gray")
  
      # Set the action icon if available
      if iconloc:
!       try:
          # Some caching logic for faster second/third forms
          icon = _cachedIcons[iconloc]
        except KeyError:
***************
*** 54,59 ****
--- 55,65 ----
      else:
        print "** WARNING: Cannot add '%s' to toolbar; no icon" % 
userAction.event
        return
+ 
+     if grayloc:
+       icon.setPixmap(QPixmap(grayloc), QIconSet.Normal, QIconSet.Disabled)
+     else:
+       print "** WARNING: No gray version of '%s' to toolbar; no icon" % 
userAction.event
  
      button = QToolButton(self.toolbar, name)
      button.setIconSet(icon)




reply via email to

[Prev in Thread] Current Thread [Next in Thread]