Added make install + Monospace font for notes
authorDmitriy Morozov <dmitriy@mrzv.org>
Mon, 15 Nov 2010 10:32:13 -0800
changeset 4 f7d6064291f0
parent 3 b239dd8c8689
child 5 1ff3df15f3dc
Added make install + Monospace font for notes
Makefile
mainwindow.ui
--- a/Makefile	Sun Nov 14 15:10:02 2010 -0800
+++ b/Makefile	Mon Nov 15 10:32:13 2010 -0800
@@ -6,6 +6,7 @@
 QT_LIBS = -lQtGui -lQtCore
 CPPFLAGS += $(QT_CFLAGS)
 LIBS += -lipeqtcanvas -lipecairo -lipe $(QT_LIBS) $(CAIRO_LIBS)
+DESTDIR=/usr/bin
 
 OBJECTS = mainwindow.o moc_mainwindow.o canvasview.o moc_canvasview.o \
 		  timelabel.o moc_timelabel.o pagedialog.o moc_pagedialog.o
@@ -32,5 +33,8 @@
 ipepresenter: $(OBJECTS)
 	g++ $+ -o $@ $(LIBS)
 
+install: ipepresenter
+	install -m 755 ipepresenter $(DESTDIR)
+
 clean:
 	rm $(OBJECTS)
--- a/mainwindow.ui	Sun Nov 14 15:10:02 2010 -0800
+++ b/mainwindow.ui	Mon Nov 15 10:32:13 2010 -0800
@@ -86,6 +86,11 @@
          </item>
          <item>
           <widget class="QPlainTextEdit" name="notesText">
+           <property name="font">
+            <font>
+             <family>Monospace</family>
+            </font>
+           </property>
            <property name="readOnly">
             <bool>true</bool>
            </property>
@@ -131,7 +136,7 @@
      <x>0</x>
      <y>0</y>
      <width>1008</width>
-     <height>23</height>
+     <height>28</height>
     </rect>
    </property>
   </widget>