Neal Wilson 9 anos atrás
pai
commit
23d3fd43e4
1 arquivos alterados com 5 adições e 0 exclusões
  1. 5
    0
      config/Windows/batchdetailsnew.xml

+ 5
- 0
config/Windows/batchdetailsnew.xml Ver arquivo

@@ -10,6 +10,7 @@
10 10
     </layout>
11 11
 	<menu name="File">
12 12
             <item id="save" shortcut="Ctrl+S">Save…</item>
13
+            <item id="print" shortcut="Ctrl+P">Print…</item>
13 14
 	</menu>
14 15
     <program>
15 16
         <![CDATA[
@@ -22,6 +23,10 @@
22 23
             }
23 24
             var unitText = (unit == 0 ? "Kg" : "Lb");
24 25
             dataView = findChildObject(this, 'view');
26
+            var printMenu = findChildObject(this, 'print');
27
+            printMenu.triggered.connect(function() {
28
+                dataView.print();
29
+            });
25 30
             var fileID;
26 31
             var target = findChildObject(this, 'target');
27 32
             var compare = findChildObject(this, 'compare');

Carregando…
Cancelar
Salvar