Changeset 1045
- Timestamp:
- 01/04/08 10:24:36 (1 year ago)
- Files:
-
- DRIM_GUI/lime-logview/trunk/ChangeLog (modified) (1 diff)
- DRIM_GUI/lime-logview/trunk/acinclude.m4 (added)
- DRIM_GUI/lime-logview/trunk/binsrc/qattribute.cpp (modified) (3 diffs)
- DRIM_GUI/lime-logview/trunk/binsrc/qattribute.h (modified) (2 diffs)
- DRIM_GUI/lime-logview/trunk/common/ui/attribute.ui (modified) (7 diffs)
- DRIM_GUI/lime-logview/trunk/configure.in (modified) (2 diffs)
- DRIM_GUI/lime-logview/trunk/libsrc/qattribute.cpp (modified) (3 diffs)
- DRIM_GUI/lime-logview/trunk/libsrc/qattribute.h (modified) (2 diffs)
- DRIM_GUI/lime-logview/trunk/lime-logview.spec.in (modified) (1 diff)
- DRIM_GUI/lime-logview/trunk/po/zh_CN.po (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
DRIM_GUI/lime-logview/trunk/ChangeLog
r553 r1045 1 2007-10-11 cvsdcwang <cvsdcwang@swida> 2 3 * lime-logview.spec.in: fix a bug wrong tag order 4 5 2007-09-28 cvstaohe <cvstaohe@swida> 6 7 * configure.in: upgrade the version number to 1.1.7 8 9 * binsrc/qattribute.cpp, binsrc/qattribute.h, common/ui/attribute.ui, libsrc/qattribute.cpp, libsrc/qattribute.h: 10 set the tab order 11 12 2007-09-17 cvsdcwang <cvsdcwang@swida> 13 14 * ChangeLog, lime-logview.spec.in: 15 update Change for release 1.1.6, the first maintenance release 16 17 * configure.in: 18 up version number for release 1.1.7, the first maintainance release 19 20 2007-09-17 cvstaohe <cvstaohe@swida> 21 22 * common/corefile/logfile.cpp, common/corefile/openwbem_h.h: 23 clear a type of log, there is a need to restart the syslog service 24 1 25 2007-09-17 cvsdcwang <cvsdcwang@swida> 2 26 DRIM_GUI/lime-logview/trunk/binsrc/qattribute.cpp
r553 r1045 38 38 rotate=NULL; 39 39 client=NULL; 40 dt_now=QDateTime::currentDateTime(); 40 41 if(p && p->client) 41 42 { … … 188 189 Week_SB->setEnabled(false); 189 190 } 191 Attrib_TabW->setFocus(); 190 192 } 191 193 … … 511 513 End_DTE->setEnabled(true); 512 514 Start_DTE->setEnabled(true); 513 End_DTE->setDateTime( QDateTime::currentDateTime());515 End_DTE->setDateTime(dt_now); 514 516 Start_CB->setCurrentItem(1); 515 517 End_CB->setCurrentItem(1); DRIM_GUI/lime-logview/trunk/binsrc/qattribute.h
r553 r1045 12 12 #include <qvariant.h> 13 13 #include <qwidget.h> 14 #include <qdatetime.h> 14 15 #include "rflogview.h" 15 16 #include "attribute.h" … … 29 30 private: 30 31 QString logType; 32 QDateTime dt_now; 31 33 LogFilter *filter; 32 34 CIMClient *client; DRIM_GUI/lime-logview/trunk/common/ui/attribute.ui
r553 r1045 280 280 </property> 281 281 </widget> 282 <widget class="QComboBox">283 <item>284 <property name="text">285 <string>First event</string>286 </property>287 </item>288 <item>289 <property name="text">290 <string>Datetime</string>291 </property>292 </item>293 <property name="name">294 <cstring>Start_CB</cstring>295 </property>296 <property name="geometry">297 <rect>298 <x>71</x>299 <y>153</y>300 <width>100</width>301 <height>21</height>302 </rect>303 </property>304 </widget>305 <widget class="QComboBox">306 <item>307 <property name="text">308 <string>Last event</string>309 </property>310 </item>311 <item>312 <property name="text">313 <string>Datetime</string>314 </property>315 </item>316 <property name="name">317 <cstring>End_CB</cstring>318 </property>319 <property name="geometry">320 <rect>321 <x>71</x>322 <y>180</y>323 <width>100</width>324 <height>21</height>325 </rect>326 </property>327 </widget>328 282 <widget class="QLineEdit"> 329 283 <property name="name"> … … 424 378 <widget class="QDateTimeEdit"> 425 379 <property name="name"> 380 <cstring>Start_DTE</cstring> 381 </property> 382 <property name="enabled"> 383 <bool>true</bool> 384 </property> 385 <property name="geometry"> 386 <rect> 387 <x>175</x> 388 <y>153</y> 389 <width>190</width> 390 <height>21</height> 391 </rect> 392 </property> 393 <property name="focusPolicy"> 394 <enum>TabFocus</enum> 395 </property> 396 <property name="dateTime"> 397 <datetime> 398 <year>2007</year> 399 <month>1</month> 400 <day>1</day> 401 <hour>0</hour> 402 <minute>0</minute> 403 <second>0</second> 404 </datetime> 405 </property> 406 </widget> 407 <widget class="QDateTimeEdit"> 408 <property name="name"> 426 409 <cstring>End_DTE</cstring> 427 410 </property> 428 411 <property name="enabled"> 429 <bool> false</bool>412 <bool>true</bool> 430 413 </property> 431 414 <property name="geometry"> … … 436 419 <height>21</height> 437 420 </rect> 421 </property> 422 <property name="focusPolicy"> 423 <enum>TabFocus</enum> 438 424 </property> 439 425 <property name="dateTime"> … … 448 434 </property> 449 435 </widget> 450 <widget class="QDateTimeEdit"> 451 <property name="name"> 452 <cstring>Start_DTE</cstring> 453 </property> 454 <property name="enabled"> 455 <bool>false</bool> 456 </property> 457 <property name="geometry"> 458 <rect> 459 <x>175</x> 436 <widget class="QComboBox"> 437 <item> 438 <property name="text"> 439 <string>First event</string> 440 </property> 441 </item> 442 <item> 443 <property name="text"> 444 <string>Datetime</string> 445 </property> 446 </item> 447 <property name="name"> 448 <cstring>Start_CB</cstring> 449 </property> 450 <property name="geometry"> 451 <rect> 452 <x>71</x> 460 453 <y>153</y> 461 <width>190</width> 454 <width>100</width> 455 <height>21</height> 456 </rect> 457 </property> 458 </widget> 459 <widget class="QComboBox"> 460 <item> 461 <property name="text"> 462 <string>Last event</string> 463 </property> 464 </item> 465 <item> 466 <property name="text"> 467 <string>Datetime</string> 468 </property> 469 </item> 470 <property name="name"> 471 <cstring>End_CB</cstring> 472 </property> 473 <property name="geometry"> 474 <rect> 475 <x>71</x> 476 <y>180</y> 477 <width>100</width> 462 478 <height>21</height> 463 479 </rect> … … 553 569 </connection> 554 570 <connection> 555 <sender>Start_CB</sender>556 <signal>activated(const QString&)</signal>557 <receiver>End_DTE</receiver>558 <slot>setFocus()</slot>559 </connection>560 <connection>561 571 <sender>Cancel_PB</sender> 562 572 <signal>clicked()</signal> … … 566 576 </connections> 567 577 <tabstops> 578 <tabstop>Ok_PB</tabstop> 579 <tabstop>Cancel_PB</tabstop> 568 580 <tabstop>Attrib_TabW</tabstop> 581 <tabstop>Size_RB</tabstop> 582 <tabstop>Size_SB</tabstop> 583 <tabstop>Time_RB</tabstop> 584 <tabstop>Week_SB</tabstop> 569 585 <tabstop>Info_CB</tabstop> 570 586 <tabstop>Warn_CB</tabstop> … … 577 593 <tabstop>End_CB</tabstop> 578 594 <tabstop>End_DTE</tabstop> 579 <tabstop>Ok_PB</tabstop>580 <tabstop>Cancel_PB</tabstop>581 <tabstop>Size_RB</tabstop>582 <tabstop>Size_SB</tabstop>583 <tabstop>Time_RB</tabstop>584 <tabstop>Week_SB</tabstop>585 595 </tabstops> 586 596 <layoutdefaults spacing="6" margin="11"/> DRIM_GUI/lime-logview/trunk/configure.in
r553 r1045 3 3 4 4 AC_PREREQ(2.59) 5 AC_INIT(lime-logview, 1.1. 6)6 AM_INIT_AUTOMAKE(lime-logview , 1.1. 6)5 AC_INIT(lime-logview, 1.1.7) 6 AM_INIT_AUTOMAKE(lime-logview , 1.1.7) 7 7 AC_CONFIG_HEADER([config.h]) 8 8 AM_PROG_LIBTOOL … … 71 71 AC_C_CONST 72 72 AC_C_VOLATILE 73 if test "x$datadir" != "x\${prefix}/share"; then 74 tempDir=$datadir 73 74 if test x"$docdir" != x""; then 75 pkgdocdir=${docdir} 75 76 else 76 if test "x$prefix" != "xNONE"; then 77 tempDir=${prefix}/share 78 else 79 tempDir=${ac_default_prefix}/share 80 fi 77 pkgdocdir=${datadir}/doc/${PACKAGE_NAME} 81 78 fi 82 pkgdocdir=${tempDir}/doc/lime/${PACKAGE_NAME} 83 AC_DEFINE_UNQUOTED(PKGDOCDIR,"${pkgdocdir}",[location where help file will be installed]) 84 AC_DEFINE_UNQUOTED(LOCALEDIR,"${tempDir}/locale", [location where locale files will be installed]) 79 80 AC_DEFINE_DIR(PKGDOCDIR,[pkgdocdir],[location where help file will be installed]) 81 82 if test x"$localedir" == x""; then 83 localedir=${datadir}/locale 84 fi 85 86 AC_DEFINE_DIR(LOCALEDIR,[localedir], [location where locale files will be installed]) 85 87 AC_SUBST(pkgdocdir) 86 88 # Checks for library functions. DRIM_GUI/lime-logview/trunk/libsrc/qattribute.cpp
r553 r1045 57 57 Attrib_TabW->setCurrentPage(1); 58 58 } 59 dt_now=QDateTime::currentDateTime(); 59 60 connect(Ok_PB,SIGNAL(clicked()),this,SLOT(save())); 60 61 connect(Cancel_PB,SIGNAL(clicked()),this,SLOT(cancel())); … … 198 199 Week_SB->setEnabled(false); 199 200 } 201 Attrib_TabW->setFocus(); 200 202 } 201 203 … … 522 524 End_DTE->setEnabled(true); 523 525 Start_DTE->setEnabled(true); 524 End_DTE->setDateTime( QDateTime::currentDateTime());526 End_DTE->setDateTime(dt_now); 525 527 Start_CB->setCurrentItem(1); 526 528 End_CB->setCurrentItem(1); DRIM_GUI/lime-logview/trunk/libsrc/qattribute.h
r553 r1045 12 12 #include <qvariant.h> 13 13 #include <qwidget.h> 14 #include <qdatetime.h> 14 15 #include "rflogview.h" 15 16 #include "attribute.h" … … 30 31 RFMConsole *console; 31 32 QString logType; 33 QDateTime dt_now; 32 34 LogFilter *filter; 33 35 CIMClient *client; DRIM_GUI/lime-logview/trunk/lime-logview.spec.in
r553 r1045 54 54 55 55 %changelog 56 * Thu Oct 11 2007 Diancheng Wang <dcwang@redflag-linux.com> 57 - fix a bug: wrong tab order in "attribute" dialog. 58 56 59 * Mon Sep 17 2007 Diancheng Wang <dcwang@redflag-linux.com> 57 60 - update to new version 1.1.6, see also package ChangeLog file for details. DRIM_GUI/lime-logview/trunk/po/zh_CN.po
r553 r1045 3 3 "Project-Id-Version: lime-logview 1.0\n" 4 4 "Report-Msgid-Bugs-To: taohe@redflag-linux.com\n" 5 "POT-Creation-Date: 2007-07-17 1 8:43+0800\n"5 "POT-Creation-Date: 2007-07-17 19:39+0800\n" 6 6 "PO-Revision-Date: 2007-06-14 13:31+0800\n" 7 7 "Last-Translator: Tao He <taohe@redflag-linux.com>\n"
