From 68c70c6300f83a7e28910f83754ab81cdf5c130b Mon Sep 17 00:00:00 2001 From: Kern Sibbald Date: Fri, 26 Jan 2007 13:35:26 +0000 Subject: [PATCH] Add new qt-console files git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@4046 91ce42f0-d328-0410-95d8-f526ca767f89 --- bacula/src/qt-console/.cvsignore | 7 + bacula/src/qt-console/Makefile | 34 ++++- bacula/src/qt-console/images/bat_icon.png | Bin 0 -> 4404 bytes bacula/src/qt-console/images/copy.png | Bin 0 -> 1339 bytes bacula/src/qt-console/images/cut.png | Bin 0 -> 1323 bytes bacula/src/qt-console/images/new.png | Bin 0 -> 852 bytes bacula/src/qt-console/images/open.png | Bin 0 -> 2073 bytes bacula/src/qt-console/images/paste.png | Bin 0 -> 1745 bytes bacula/src/qt-console/images/print.png | Bin 0 -> 1732 bytes bacula/src/qt-console/images/save.png | Bin 0 -> 1187 bytes bacula/src/qt-console/images/undo.png | Bin 0 -> 1768 bytes bacula/src/qt-console/main.cpp | 9 +- bacula/src/qt-console/main.ui | 158 ++++++++++++++++++---- bacula/src/qt-console/mainwindow.cpp | 10 ++ bacula/src/qt-console/mainwindow.h | 9 ++ bacula/src/qt-console/qt-console.pro | 2 + 16 files changed, 188 insertions(+), 41 deletions(-) create mode 100644 bacula/src/qt-console/images/bat_icon.png create mode 100644 bacula/src/qt-console/images/copy.png create mode 100644 bacula/src/qt-console/images/cut.png create mode 100644 bacula/src/qt-console/images/new.png create mode 100644 bacula/src/qt-console/images/open.png create mode 100644 bacula/src/qt-console/images/paste.png create mode 100644 bacula/src/qt-console/images/print.png create mode 100644 bacula/src/qt-console/images/save.png create mode 100644 bacula/src/qt-console/images/undo.png create mode 100644 bacula/src/qt-console/mainwindow.cpp create mode 100644 bacula/src/qt-console/mainwindow.h diff --git a/bacula/src/qt-console/.cvsignore b/bacula/src/qt-console/.cvsignore index 372e024b92..9affc260e7 100644 --- a/bacula/src/qt-console/.cvsignore +++ b/bacula/src/qt-console/.cvsignore @@ -1,3 +1,10 @@ ui_main.h *.o qt-console +about-func +brestore.ui +main.qrc +mult-inheritance +print-func +qrc_main.cpp + diff --git a/bacula/src/qt-console/Makefile b/bacula/src/qt-console/Makefile index 168171b77d..5481fbd1fd 100644 --- a/bacula/src/qt-console/Makefile +++ b/bacula/src/qt-console/Makefile @@ -1,6 +1,6 @@ ############################################################################# # Makefile for building: qt-console -# Generated by qmake (2.01a) (Qt 4.2.1) on: Thu Jan 18 09:41:24 2007 +# Generated by qmake (2.01a) (Qt 4.2.1) on: Fri Jan 26 14:25:07 2007 # Project: qt-console.pro # Template: app # Command: /usr/bin/qmake -unix -o Makefile qt-console.pro @@ -45,8 +45,11 @@ OBJECTS_DIR = ./ ####### Files -SOURCES = main.cpp -OBJECTS = main.o +SOURCES = main.cpp \ + mainwindow.cpp qrc_main.cpp +OBJECTS = main.o \ + mainwindow.o \ + qrc_main.o DIST = /usr/share/qt4/mkspecs/common/unix.conf \ /usr/share/qt4/mkspecs/common/g++.conf \ /usr/share/qt4/mkspecs/common/linux.conf \ @@ -137,7 +140,7 @@ qmake: FORCE dist: @$(CHK_DIR_EXISTS) .tmp/qt-console1.0.0 || $(MKDIR) .tmp/qt-console1.0.0 - $(COPY_FILE) --parents $(SOURCES) $(DIST) .tmp/qt-console1.0.0/ && $(COPY_FILE) --parents main.cpp .tmp/qt-console1.0.0/ && $(COPY_FILE) --parents main.ui .tmp/qt-console1.0.0/ && (cd `dirname .tmp/qt-console1.0.0` && $(TAR) qt-console1.0.0.tar qt-console1.0.0 && $(COMPRESS) qt-console1.0.0.tar) && $(MOVE) `dirname .tmp/qt-console1.0.0`/qt-console1.0.0.tar.gz . && $(DEL_FILE) -r .tmp/qt-console1.0.0 + $(COPY_FILE) --parents $(SOURCES) $(DIST) .tmp/qt-console1.0.0/ && $(COPY_FILE) --parents main.qrc .tmp/qt-console1.0.0/ && $(COPY_FILE) --parents main.cpp mainwindow.cpp .tmp/qt-console1.0.0/ && $(COPY_FILE) --parents main.ui .tmp/qt-console1.0.0/ && (cd `dirname .tmp/qt-console1.0.0` && $(TAR) qt-console1.0.0.tar qt-console1.0.0 && $(COMPRESS) qt-console1.0.0.tar) && $(MOVE) `dirname .tmp/qt-console1.0.0`/qt-console1.0.0.tar.gz . && $(DEL_FILE) -r .tmp/qt-console1.0.0 yaccclean: @@ -163,8 +166,19 @@ mocables: compiler_moc_header_make_all compiler_moc_source_make_all compiler_moc_header_make_all: compiler_moc_header_clean: -compiler_rcc_make_all: +compiler_rcc_make_all: qrc_main.cpp compiler_rcc_clean: + -$(DEL_FILE) qrc_main.cpp +qrc_main.cpp: main.qrc \ + /usr/bin/rcc \ + images/new.png \ + images/copy.png \ + images/cut.png \ + images/save.png \ + images/paste.png \ + images/open.png + /usr/bin/rcc -name main main.qrc -o qrc_main.cpp + compiler_image_collection_make_all: qmake_image_collection.cpp compiler_image_collection_clean: -$(DEL_FILE) qmake_image_collection.cpp @@ -180,9 +194,17 @@ compiler_clean: compiler_moc_header_clean compiler_rcc_clean compiler_image_coll ####### Compile -main.o: main.cpp ui_main.h +main.o: main.cpp mainwindow.h \ + ui_main.h $(CXX) -c $(CXXFLAGS) $(INCPATH) -o main.o main.cpp +mainwindow.o: mainwindow.cpp mainwindow.h \ + ui_main.h + $(CXX) -c $(CXXFLAGS) $(INCPATH) -o mainwindow.o mainwindow.cpp + +qrc_main.o: qrc_main.cpp + $(CXX) -c $(CXXFLAGS) $(INCPATH) -o qrc_main.o qrc_main.cpp + ####### Install install: FORCE diff --git a/bacula/src/qt-console/images/bat_icon.png b/bacula/src/qt-console/images/bat_icon.png new file mode 100644 index 0000000000000000000000000000000000000000..a368b2f9ad70f2801a3ddc26a238584d5720476d GIT binary patch literal 4404 zcmai&XFL>+#UrSF2pG-5~U(r4tGYjknC~FiX$T_Te8(zkv+1q z$GNlpzrW}I*YEe>^Z7h@Kl?m<$0E&*=xMlU0002JF~Y#&-+lO>KtccZ6$S(b02t4V z4RoynbGLJY67p<-_fwirGkE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A8kl$aCI4~Cp^qn1U`jVmB=9+h5aN)BLl{&}EZZ8i#JwJ*0 zM3sXEP(zGn{+5Vz)N-xn0$@$OgtUuNLHYJ>m4E1(&3c-y0KK-0fA1Ym4vZcwG? G6#joUTwDYI literal 0 HcmV?d00001 diff --git a/bacula/src/qt-console/images/copy.png b/bacula/src/qt-console/images/copy.png new file mode 100644 index 0000000000000000000000000000000000000000..f2c04dfe30bb668579edc52dd20d79e65f794289 GIT binary patch literal 1339 zcmV-B1;qM^P)D4e0i~yl%M(eSR;z=Nu$lPz-oc0og zoB&7OJFPYcHZrCJ5MgHFct&JQipEk{2_+GZrqJA>u|Emoe*s8|$vl#HWGu<&55n$= z!sQMk5=*1>;~z{kbXftg>&Q0Mke)gC+?f|&E%AJ+JdKK~8dNfUSX+nNV-t@7SZzzV zzvzc+6jZ zxjE=2CQwjNfFaHAeB4Q<`320FTpYmRPr>60;m2N`$N*|~15iU|c*+%z$KmyQkxr*E zIXQ{S%4*Ec8hHZ`%r@wzEgXPkT5#k0>!WU20m9)hj7B4WPNh=#xwjXMpM8ND2H{u| zq3-I&sfI?JX*!2nBjdPmZCGA_jg1ZH_4>zv`uh5zWDuc^ILtN|1cMP%GbUIa9$f4i zl^k`t92KyPOo z68jY6U%LCGRX5fw$m~&?CUtX3GKuS-k2_PDca`R9q zgyPZ)Tpbi}i*1sF25^uO6QJyn86fp=%t>TU`vQR!msR0Hw}AfXjJftfrh!k|Wditj z^^}^ly1L3C-YKcTrCtGdZQ%N42Dm*BoVvJ20I7BoO*%?W+cA9ytgNhHeSMun9A^!D z+a*9f0sK0bY2fl0(6E;VBx7l_y+ryJfFmD}KpuIj0>^xExqLli|EJ@!WO`IpMcw1cUb>2Ox3VggX9R2)E>;nH}MAtj}K zpHe#<4lXiYTwLT(FCTryMd!%f9&~pEXlZE?rHzGBOJ6qhyu7>&pU(%I&BpIbOG_Mr z0O+}}u+S_E08J_>H5t(}-RT>TYNrOQRx7WbTA}|L42DErUfwI)b43srvc(d0w|h zqlwhj)j1!g?PB_f>2S8cGyfAnsZ@$ir;}GqN$KQ6N$czDojEx>X#9duwSOz^*2K~Rv2iD&0qik002ovPDHLkV1nLmW`h6# literal 0 HcmV?d00001 diff --git a/bacula/src/qt-console/images/cut.png b/bacula/src/qt-console/images/cut.png new file mode 100644 index 0000000000000000000000000000000000000000..54638e9386dc8af40dcc9a3ee2f57c62e248e406 GIT binary patch literal 1323 zcmV+`1=RY9P)J0(1!|L=@Q+aTEb7Mu4u}WZlMQB24&|#EVDBq0{%sj+Z+)GGQx0 zAcdU1Fi0-lfEhqCt9ecIzWZ_$Xk-SF1YV<2^ak#QNA=LXgUd}Io1OMRbT7RYGCd%P zKS-r48v%?ldBMA#h)c%T#wHG+5V`$A{>3XcMvM|%P6Cssr>70f(>b}AV>T2D(&VEn zK_HANo+{rrN9){swakg0Ktz^QgDWfxHbzJY6ZK>&doEN10r&$qzrYSODpcQMh*H%o zSOat&76=4-MOF34plx)*)N}VCzH?EPkgku=6VK(8gNL*Np3E)-)CS$Jnai-RudhD8 z(qOgQ?SS}sjv4h}*IqNacG`39XxPWcN1v;!unrFm!4QYC z_Acj^H}`jQVc5OsUVtxVnxKZ?sWw9Q@B`QxpVZH#=NgKbEq?xOmsA>SUtb@%(9v@T zVsaH$PQ-_o)Qm6`=@qvgI2;Z@q}CZRo`stQer>5G8e5my4CXEh^CT4CHjaC}9?{K0 z$O&($1U%8bR;v{dcYhm%^O9V6PFgxKporEb{=Djv}7NhUQZ#8TNvL0_NhN zpdjG!cwn(uKwDk``_Co}Ev8e>XOzzgOoQTEd*;Gmnz9rW3I&M8V#v(QgrcG%P^;C@ z+1bfp?EcBQ$=j!OF1OE1fUdXLDR2(JYL~2dh{}J0;wgy^K9?&YTb2(8W8+7JA12t6 za%7Hg8ovjl(FiTAE%3|0ARIXHz6G;l!311sgoTBKM%*UnGOR4mGqn@!JL9_3Gp~Z> z{(6Z9p5FXo8}~etjeBORPg}}0?N~!YJv1~lfTgz=G8Dzb^Xb54Jd))oo;F?OoGLPS zee{DaT5J+A3>zitarZCFC+`J^U;fkNL<>x4^vOPTl^zTR1GKld!`H@^F|L6LX7M&{ zIA}acIyz>{0a00^F4~fx%15b|k+|p_1^WSy+Zxk*z z((l+8X-U2;oygOcJEspZj3vh3pSpKnaW$YpY_$lC`IPbC@H0!Ad}tF|z0RZAYfnh` z3=gmm{_}^(`7iFdNp1l4dp_;=2p%dvUFBG+@kd(qwpj}i9kWBpkvIuC`Kgv6`dk_f h&$IvkH~dc%_#Nkm8M#Em0nY#c002ovPDHLkV1hsWYZL$g literal 0 HcmV?d00001 diff --git a/bacula/src/qt-console/images/new.png b/bacula/src/qt-console/images/new.png new file mode 100644 index 0000000000000000000000000000000000000000..12131b01008a3ec29ec69f8b3f65c4b3c15b60d6 GIT binary patch literal 852 zcmV-a1FQUrP)IE2xvpcKl890$E8eWxeF8o0mWjmIG{M&7eWO9CVRojsy7@;&dpQ!a9t0J7gPX(5I|>76wd9YM;~Wq>Ghkp6rY@= zsi|pt_x=M#qtRtve?bMn?-1>_C5DBX;{}vm&C%raD|#~il%B<2&`e?uix*V@+JPAL z6CgbQkZR2~6*sGtFK$zbV~w|k*M3m}@OjM5T^_Z^d)w}xJHF(IUAVpO;*`oW;C1B2 zbys585IO4RGepz@rv~8kI;}Y(n3!mCfS7AgQ=I?+DlNG&;!abH5Df(KZTl#;d_@48 zJKJjfX^uQ>h#Iar6M#C8w^So4*Tn<|1^_iEoENLSCA-QKz)fKe6)JLW%zjz|XlmW9 z@suY3Q`{VJZCgNKnyVajp6h`@6-N=kYKbun)^`LT3}hx^wrO>XsHzE2w#B^A1Ngov zV}~hV3>btQ09#E(0CWRWn5~q>9Op*n90161U8$i6fc^Yd5_2;F2sIc&=-PaaDX2~W zTL1&dm}fQw05ax<-uM>_{4Cgt02pUFPqb7NBbWjJ0t`O;#ZxHoL%3#1_iOo5hu6MT z0mxO4x=yW24v?>f-nYV%Jx`{y-lMT`>)O!u6_~SbsQ_#=q-z-e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#_yhC8@e_i|9PXV^3ptdy z4Z_G4qZfz6FCzC2|JrSe-C>#48@AYMyIwNBFNyyFX1QPd5r93<00000NkvXXu0mjf DP*&js literal 0 HcmV?d00001 diff --git a/bacula/src/qt-console/images/paste.png b/bacula/src/qt-console/images/paste.png new file mode 100644 index 0000000000000000000000000000000000000000..e38bbe5f24b842fe5e16249ae01a3da3660342e8 GIT binary patch literal 1745 zcmV;?1}^!DP)8bqyHwZXQL*cW}NZIjxxX;Kl=^r=nLKcI;Zq&(R^ z5Ph*td?BetG^tjEB4T3IVo?f3P*9MSh1nhUIy*D{o!MP3aR33&=9e>j&Ybgozw0?8 z>befI#&O&M>b7F})`)kHH!*B{31fGM1 z+#o*FQS20r6`F2LZ{j$E$wrcN5@r!sV(b1yoQ#+fXliQW3=GmnQ-SjG^{@m50!}rw zXUW3$&UM&f69w2TJo?6bxcXoW%|juCY|fIJnqA*hP)4e%s!}pCGQ`5dLMs!O%Vp{4 z=#cB{>urQ_Vo3`i5n~x?Hf+jFLs(G}jWG>%@HAl+dDtxie4!{txE%a^`B%7#irF%@ z`MUZ0sHzG@QIMILNeY$Q@7}#z$1Fq&omi9rFT_nP2plvLfdWFL5ltuKaPe^_{Sz|Y zK6n@fg+*AbmN0O?-;dPPR3n%h8yia~evZ#4F-xGfwpOpJtJ4LVB|+;G{+}Wa}n?)0iVx@tgI}9fZc9KLqh|z5+iYs*0wxn0YQjIHS;lN6Nm(l znMe#$Ac9ad21TW)unO?gSctM>sm5Fo3wjd`b2NY=N?d>)G@87?F zcHfH^FG8ZC#mKnbZbpbD8qd<+)B-H6A5MqxFlNV_hrdL{YwzHxEMnXnhEI+nf*1t% zyKtwe2x~IV{nm=@+bZ#BbOO}}Yw_prO{lJ}Hne5_PfJTPik8#qB#VkhElF06=Yx=Z zI~LF(x!gGNRRd%(7m^$SCn(TqE=c5`O+_HjM4{4iZ@LxR-EX0{e*oj53QXO23eiYg z-5|g~OG`_QqQ!!b#lq<5XtLax97d%6BU#5sUw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p*1Bze1T1CQ`v zBr%p~-`EXBXzuj9vb%*UApZg|FLH}oR82_SmiVG>;)DcpirJmqY<5h-fs#+_r%hzk3`>B6BAxYTu31A z6vv9)?Ym%@#~mqBv%23hK$*cOO*9%NGjPirK%sa;G32Cb08R=}k>}CCQ_< zJ`~A?ei80~x-Xm+5-6fXaaJ-8{wY z8-1W)yg6|hMYl>SG_}sM75BOsT9=C>>P&Pbnm0Uf?(EON!JkN0THkDY=v#ILu#fT; z+yKs20qb@bsr#5nckoCb;{8S*O6)=t_g>3CeN!`bdc^I{`lE#Xuu{D1{gqst)r{<- z%bM)sOHZ?kR5jU0RW&)p-ebgZRn7NA?g;^xp1S(3u4<*L=Og;B)!_M{heyEri>uQL zs|+n?p8Klj-~;?Rg0L55Z~jur3`Wmz8DKTLpx^Mx=k?57FExr`uBtX&406P|@A48G znsqm_HSaytapQ+AKaJvNIWdxG*VLnzu(<|^i(z&Xa1%rmAEmS!#1TGg6JHDWG0`gR zS9$JhCMMBFY_PvWn(hEjNT^D6#f9lk8NL3s+J@G0000< KMNUMnLSTY!`bcR2 literal 0 HcmV?d00001 diff --git a/bacula/src/qt-console/main.cpp b/bacula/src/qt-console/main.cpp index ca50409f9b..f0d73b8015 100644 --- a/bacula/src/qt-console/main.cpp +++ b/bacula/src/qt-console/main.cpp @@ -27,20 +27,15 @@ */ - -#include "ui_main.h" -#include +#include "mainwindow.h" int main(int argc, char *argv[]) { QApplication app(argc, argv); app.setQuitOnLastWindowClosed(true); - QMainWindow *main = new QMainWindow; - Ui::MainWindow ui; - ui.setupUi(main); + MainWindow *main = new MainWindow; - ui.textEdit->setPlainText("Hello Baculites\nThis is the main console window."); main->show(); return app.exec(); } diff --git a/bacula/src/qt-console/main.ui b/bacula/src/qt-console/main.ui index 4ccf010a6c..b4804a62bf 100644 --- a/bacula/src/qt-console/main.ui +++ b/bacula/src/qt-console/main.ui @@ -1,16 +1,20 @@ - MainWindow - + Kern Sibbald + MainForm + 0 0 889 - 600 + 802 - MainWindow + qt-console + + + images/bat_icon.png @@ -102,8 +106,7 @@ 1 - - + 9 @@ -152,6 +155,33 @@ + + + + 9 + + + 6 + + + + + 0 + + + + Restore 1 + + + + + Restore 2 + + + + + + @@ -183,22 +213,41 @@ 0 0 889 - 28 + 33 + + + Help + + + + + + Edit + + + + + File + + + + + - 15 - 6 + 51 + 39 @@ -207,25 +256,78 @@ 4 + + + + + Quit + + + + + About qt-console + + + + + images/copy.png + + + Copy + + + + + images/cut.png + + + Cut + + + + + images/new.png + + + new + + + + + images/open.png + + + open + + + + + images/paste.png + + + Paste + + + + + images/print.png + + + Print + + + + + images/save.png + + + Save + + - - - - lineEdit - textChanged(QString) - textEdit - setText(QString) - - - 137 - 560 - - - 192 - 407 - - - - + + + + diff --git a/bacula/src/qt-console/mainwindow.cpp b/bacula/src/qt-console/mainwindow.cpp new file mode 100644 index 0000000000..3e886018e2 --- /dev/null +++ b/bacula/src/qt-console/mainwindow.cpp @@ -0,0 +1,10 @@ + +#include "mainwindow.h" + + +MainWindow::MainWindow(QWidget *parent) : QMainWindow(parent) +{ + setupUi(this); + stackedWidget->setCurrentIndex(0); + textEdit->setPlainText("Hello Baculites\nThis is the main console window."); +} diff --git a/bacula/src/qt-console/mainwindow.h b/bacula/src/qt-console/mainwindow.h new file mode 100644 index 0000000000..50522277a1 --- /dev/null +++ b/bacula/src/qt-console/mainwindow.h @@ -0,0 +1,9 @@ +#include +#include "ui_main.h" + +class MainWindow : public QMainWindow, public Ui::MainForm +{ + +public: + MainWindow(QWidget *parent = 0); +}; diff --git a/bacula/src/qt-console/qt-console.pro b/bacula/src/qt-console/qt-console.pro index 9354a1f3e0..f51422bd13 100644 --- a/bacula/src/qt-console/qt-console.pro +++ b/bacula/src/qt-console/qt-console.pro @@ -6,7 +6,9 @@ TEMPLATE = app TARGET = DEPENDPATH += . INCLUDEPATH += . +RESOURCES = main.qrc # Input FORMS += main.ui SOURCES += main.cpp +SOURCES += mainwindow.cpp -- 2.39.5