Changeset 6822 in vbox
- Timestamp:
- Feb 6, 2008 10:11:39 AM (17 years ago)
- svn:sync-xref-src-repo-rev:
- 27937
- Location:
- trunk/src/VBox/Frontends/VirtualBox
- Files:
-
- 10 added
- 24 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/VBoxConsoleWnd.cpp
r6715 r6822 134 134 idle_timer = new QTimer (this); 135 135 136 /* application icon */ 137 setIcon( QPixmap::fromMimeSource( "ico40x01.png" ) ); 136 /* default application icon (will change to the VM-specific icon in 137 * openView()) */ 138 setIcon (QPixmap::fromMimeSource ("ico40x01.png")); 138 139 139 140 /* ensure status bar is created */ … … 665 666 666 667 CMachine cmachine = csession.GetMachine(); 668 669 /* Set the VM-specific application icon */ 670 setIcon (vboxGlobal().vmGuestOSTypeIcon (cmachine.GetOSTypeId())); 667 671 668 672 /* restore the position of the window and some options */ -
trunk/src/VBox/Frontends/VirtualBox/src/VBoxVMListBox.cpp
r5999 r6822 99 99 #endif 100 100 101 /** 101 /** 102 102 * Searches for a main window of the given process. 103 * 103 * 104 104 * @param aPid process ID to search for 105 * 105 * 106 106 * @return window ID on success or <tt>(WId) ~0</tt> otherwise. 107 107 */ … … 122 122 #elif defined (Q_WS_MAC) 123 123 124 /** @todo Figure out how to get access to another windows of another process... 124 /** @todo Figure out how to get access to another windows of another process... 125 125 * Or at least check that it's not a VBoxVRDP process. */ 126 126 NOREF (aPid); 127 127 return (WId) 0; 128 128 129 #else 129 #else 130 130 131 131 return (WId) ~0; … … 515 515 } 516 516 517 /** 517 /** 518 518 * Returns @a true if we can activate and bring the VM console window to 519 519 * foreground, and @a false otherwise. … … 529 529 } 530 530 531 /** 531 /** 532 532 * Tries to switch to the main window of the VM process. 533 * 533 * 534 534 * @return true if successfully switched and false otherwise. 535 535 */ … … 540 540 #else 541 541 WId id = (WId) mMachine.ShowConsoleWindow(); 542 #endif 542 #endif 543 543 AssertWrapperOk (mMachine); 544 544 if (!mMachine.isOk()) … … 556 556 #elif defined (Q_WS_MAC) 557 557 /* 558 * This is just for the case were the other process cannot steal 558 * This is just for the case were the other process cannot steal 559 559 * the focus from us. It will send us a PSN so we can try. 560 560 */ … … 702 702 /* draw the OS type icon with border, vertically centered */ 703 703 aP->drawPixmap (marg, osTypeY, pmOSType); 704 qDrawShadePanel (aP, marg, osTypeY, pmOSType.width(), pmOSType.height(),705 cg, false, 1);706 704 707 705 aP->setPen (isSelected() ? cg.highlightedText() : cg.text()); -
trunk/src/VBox/Frontends/VirtualBox/ui/VBoxCloseVMDlg.ui
r5999 r6822 70 70 </sizepolicy> 71 71 </property> 72 <property name="frameShape">73 <enum>Panel</enum>74 </property>75 <property name="frameShadow">76 <enum>Raised</enum>77 </property>78 72 <property name="pixmap"> 79 73 <pixmap>os_other.png</pixmap> -
trunk/src/VBox/Frontends/VirtualBox/ui/VBoxNewVMWzd.ui
r5999 r6822 336 336 <verstretch>0</verstretch> 337 337 </sizepolicy> 338 </property>339 <property name="frameShape">340 <enum>Panel</enum>341 </property>342 <property name="frameShadow">343 <enum>Raised</enum>344 338 </property> 345 339 <property name="lineWidth"> -
trunk/src/VBox/Frontends/VirtualBox/ui/VBoxTakeSnapshotDlg.ui
r5999 r6822 70 70 <verstretch>0</verstretch> 71 71 </sizepolicy> 72 </property>73 <property name="frameShape">74 <enum>Panel</enum>75 </property>76 <property name="frameShadow">77 <enum>Raised</enum>78 72 </property> 79 73 <property name="pixmap">
Note:
See TracChangeset
for help on using the changeset viewer.