Changeset 7663 in vbox for trunk/src/VBox/Frontends
- Timestamp:
- Mar 31, 2008 2:36:44 PM (17 years ago)
- Location:
- trunk/src/VBox/Frontends/VirtualBox4
- Files:
-
- 1 deleted
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox4/Makefile.kmk
r7610 r7663 281 281 VirtualBox_QT_UISRCS4 += ui/VBoxSnapshotDetailsDlg.ui 282 282 283 VirtualBox_QT_UISRCS3 := $(filter-out ui/VBoxVMInformationDlg.ui,$(VirtualBox_QT_UISRCS3)) 284 VirtualBox_QT_UISRCS4 += ui/VBoxVMInformationDlg.ui 285 283 286 284 287 # … … 402 405 include/QIRichLabel.h \ 403 406 include/QIAbstractWizard.h \ 407 include/QIAbstractDialog.h \ 404 408 include/VBoxGlobalSettings.h \ 405 409 include/VBoxUtils.h \ … … 420 424 include/VBoxRegistrationDlg.h \ 421 425 include/VBoxSharedFoldersSettings.h \ 422 include/VBoxSnapshotDetailsDlg.h 426 include/VBoxSnapshotDetailsDlg.h \ 427 include/VBoxVMInformationDlg.h 423 428 424 429 # Sources containing local definitions of classes that use the Q_OBJECT macro … … 474 479 src/QIRichLabel.cpp \ 475 480 src/QIAbstractWizard.cpp \ 481 src/QIAbstractDialog.cpp \ 476 482 src/VBoxDefs.cpp \ 477 483 src/VBoxGlobalSettings.cpp \ … … 494 500 src/VBoxRegistrationDlg.cpp \ 495 501 src/VBoxSharedFoldersSettings.cpp \ 496 src/VBoxSnapshotDetailsDlg.cpp 502 src/VBoxSnapshotDetailsDlg.cpp \ 503 src/VBoxVMInformationDlg.cpp 497 504 498 505 ifeq ($(filter-out freebsd linux netbsd openbsd solaris,$(BUILD_TARGET)),) # X11 -
trunk/src/VBox/Frontends/VirtualBox4/src/VBoxConsoleWnd.cpp
r7643 r7663 38 38 #include <QFileInfo> 39 39 #include <QDir> 40 #include <QTimer> 40 41 #ifdef Q_WS_X11 41 42 # include <QX11Info> -
trunk/src/VBox/Frontends/VirtualBox4/src/VBoxGlobal.cpp
r7651 r7663 1315 1315 { 1316 1316 static const char *sTableTpl = 1317 "<table border=0 cellspacing= 0 cellpadding=0>%1</table>";1317 "<table border=0 cellspacing=2 cellpadding=2>%1</table>"; 1318 1318 static const char *sSectionHrefTpl = 1319 1319 "<tr><td rowspan=%1 align=left><img src='%2'></td>" -
trunk/src/VBox/Frontends/VirtualBox4/ui/VBoxVMInformationDlg.ui
r7442 r7663 1 < !DOCTYPE UI><UI version="3.3" stdsetdef="1">2 <class>VBoxVMInformationDlg</class>3 <comment>4 :mode=html:tabSize=4:indentSize=4:noTabs=true: 5 :folding=explicit:collapseFolds=1: 6 7 Copyright (C) 2007 innotek GmbH8 9 This file is part of VirtualBox Open Source Edition (OSE), as10 available from http://www.virtualbox.org. This file is free software;11 you can redistribute it and/or modify it under the terms of the GNU12 General Public License as published by the Free Software Foundation,13 in version 2 as it comes in the "COPYING" file of the VirtualBox OSE14 distribution. VirtualBox OSE is distributed in the hope that it will15 be useful, but WITHOUT ANY WARRANTY of any kind.16 </comment>17 <widget class="QMainWindow">18 <property name="name">19 <cstring>VBoxVMInformationDlg</cstring>20 < /property>21 <property name="geometry">22 <rect>23 <x>0</x>24 <y>0</y>25 <width>640</width>26 <height>480</height>27 < /rect>28 </property>29 <property name="caption">30 < string>Session Information Dialog</string>31 </property>32 <vbox>33 <property name=" name">34 <cstring>unnamed</cstring>1 <ui version="4.0" > 2 <class>VBoxVMInformationDlg</class> 3 <widget class="QMainWindow" name="VBoxVMInformationDlg" > 4 <property name="geometry" > 5 <rect> 6 <x>0</x> 7 <y>0</y> 8 <width>487</width> 9 <height>391</height> 10 </rect> 11 </property> 12 <property name="windowTitle" > 13 <string>VBoxVMInformationDlg</string> 14 </property> 15 <property name="windowIcon" > 16 <iconset resource="../VirtualBox.qrc" >:/description_16px.png</iconset> 17 </property> 18 <widget class="QWidget" name="centralwidget" > 19 <layout class="QVBoxLayout" > 20 <item> 21 <widget class="QTabWidget" name="mInfoStack" > 22 <property name="currentIndex" > 23 <number>0</number> 24 </property> 25 <widget class="QWidget" name="mPage1" > 26 <attribute name="title" > 27 <string>&Details</string> 28 </attribute> 29 <attribute name="icon" > 30 <iconset resource="../VirtualBox.qrc" >:/settings_16px.png</iconset> 31 </attribute> 32 <layout class="QVBoxLayout" > 33 <property name="leftMargin" > 34 <number>0</number> 35 35 </property> 36 <widget class="QFrame"> 37 <property name="name"> 38 <cstring>mInfoFrame</cstring> 39 </property> 40 <property name="frameShape"> 41 <enum>NoFrame</enum> 42 </property> 43 <property name="frameShadow"> 44 <enum>Plain</enum> 45 </property> 46 </widget> 47 <widget class="QLayoutWidget"> 48 <property name="name"> 49 <cstring>layout2</cstring> 50 </property> 51 <hbox> 52 <property name="name"> 53 <cstring>unnamed</cstring> 54 </property> 55 <spacer> 56 <property name="name"> 57 <cstring>spacer3</cstring> 58 </property> 59 <property name="orientation"> 60 <enum>Horizontal</enum> 61 </property> 62 <property name="sizeType"> 63 <enum>Expanding</enum> 64 </property> 65 <property name="sizeHint"> 66 <size> 67 <width>270</width> 68 <height>20</height> 69 </size> 70 </property> 71 </spacer> 72 <widget class="QPushButton"> 73 <property name="name"> 74 <cstring>mCloseButton</cstring> 75 </property> 76 <property name="text"> 77 <string>&Close</string> 78 </property> 79 <property name="accel"> 80 <string>Alt+C</string> 81 </property> 82 <property name="autoDefault"> 83 <bool>true</bool> 84 </property> 85 <property name="default"> 86 <bool>true</bool> 87 </property> 88 </widget> 89 </hbox> 90 </widget> 91 </vbox> 92 </widget> 93 <toolbars> 94 </toolbars> 95 <connections> 96 <connection> 97 <sender>mCloseButton</sender> 98 <signal>clicked()</signal> 99 <receiver>VBoxVMInformationDlg</receiver> 100 <slot>close()</slot> 101 </connection> 102 </connections> 103 <includes> 104 <include location="local" impldecl="in declaration">VBoxGlobal.h</include> 105 <include location="local" impldecl="in implementation">VBoxConsoleView.h</include> 106 <include location="global" impldecl="in declaration">qtimer.h</include> 107 <include location="global" impldecl="in implementation">qsizegrip.h</include> 108 <include location="global" impldecl="in implementation">qstatusbar.h</include> 109 <include location="global" impldecl="in implementation">qtabwidget.h</include> 110 <include location="global" impldecl="in implementation">qtextbrowser.h</include> 111 <include location="global" impldecl="in implementation">qobjectlist.h</include> 112 <include location="global" impldecl="in implementation">qregexp.h</include> 113 <include location="global" impldecl="in implementation">qvaluelist.h</include> 114 </includes> 115 <forwards> 116 <forward>class QSizeGrip</forward> 117 <forward>class QTabWidget</forward> 118 <forward>class QTextBrowser</forward> 119 <forward>class VBoxConsoleView</forward> 120 </forwards> 121 <variables> 122 <variable access="public">typedef QMap <QString, QString> DataMapType;</variable> 123 <variable access="public">struct CounterElementType { QString type; DataMapType list; };</variable> 124 <variable access="public">typedef QValueList <CounterElementType> CounterListType;</variable> 125 <variable access="private">typedef QMap <QString, VBoxVMInformationDlg*> InfoDlgMap;</variable> 126 <variable access="private">static InfoDlgMap mSelfArray;</variable> 127 <variable access="private">bool mIsPolished;</variable> 128 <variable access="private">QSizeGrip *mSizeGrip;</variable> 129 <variable access="private">CSession mSession;</variable> 130 <variable access="private">QTabWidget *mInfoStack;</variable> 131 <variable access="private">QTextBrowser *mDetailsText;</variable> 132 <variable access="private">QTextBrowser *mStatisticText;</variable> 133 <variable access="private">QTextBrowser *mDefStatText;</variable> 134 <variable access="private">QPushButton *mDefaultButton;</variable> 135 <variable access="private">DataMapType mNamesMap;</variable> 136 <variable access="private">DataMapType mValuesMap;</variable> 137 <variable access="private">QTimer mStatTimer;</variable> 138 <variable access="private">VBoxConsoleView *mConsole;</variable> 139 <variable access="private">int mWidth;</variable> 140 <variable access="private">int mHeight;</variable> 141 <variable access="private">bool mMax;</variable> 142 </variables> 143 <slots> 144 <slot access="protected">updateDetails()</slot> 145 <slot access="protected">processStatistics()</slot> 146 <slot access="protected">onPageChanged( QWidget* )</slot> 147 </slots> 148 <functions> 149 <function specifier="static">createInformationDlg( const CSession&, VBoxConsoleView* )</function> 150 <function access="private">init()</function> 151 <function access="private">destroy()</function> 152 <function>setup( const CSession &, VBoxConsoleView* )</function> 153 <function access="pritave">languageChangeImp()</function> 154 <function access="pritave" returnType="QPushButton*">searchDefaultButton()</function> 155 <function access="protected" returnType="bool">eventFilter( QObject*, QEvent* )</function> 156 <function access="protected" returnType="bool">event( QEvent* )</function> 157 <function access="protected">keyPressEvent( QKeyEvent* )</function> 158 <function access="protected">showEvent( QShowEvent* )</function> 159 <function access="protected">resizeEvent( QResizeEvent* )</function> 160 <function returnType="QString" access="pritave">parseStatistics( const QString & )</function> 161 <function access="private">refreshStatistics()</function> 162 <function returnType="QString" access="pritave">formatHardDisk( const QString &, KStorageBus, LONG, LONG, int, int )</function> 163 <function returnType="QString" access="pritave">formatAdapter( const QString &, ULONG, int, int )</function> 164 <function returnType="QString" access="pritave">composeArticle( const QString &, int, int )</function> 165 </functions> 166 <pixmapinproject/> 167 <layoutdefaults spacing="6" margin="11"/> 168 </UI> 36 <property name="topMargin" > 37 <number>0</number> 38 </property> 39 <property name="rightMargin" > 40 <number>0</number> 41 </property> 42 <property name="bottomMargin" > 43 <number>0</number> 44 </property> 45 <item> 46 <widget class="QTextEdit" name="mDetailsText" > 47 <property name="frameShape" > 48 <enum>QFrame::NoFrame</enum> 49 </property> 50 <property name="frameShadow" > 51 <enum>QFrame::Plain</enum> 52 </property> 53 <property name="readOnly" > 54 <bool>true</bool> 55 </property> 56 </widget> 57 </item> 58 </layout> 59 </widget> 60 <widget class="QWidget" name="mPage2" > 61 <attribute name="title" > 62 <string>&Runtime</string> 63 </attribute> 64 <attribute name="icon" > 65 <iconset resource="../VirtualBox.qrc" >:/start_16px.png</iconset> 66 </attribute> 67 <layout class="QVBoxLayout" > 68 <property name="leftMargin" > 69 <number>0</number> 70 </property> 71 <property name="topMargin" > 72 <number>0</number> 73 </property> 74 <property name="rightMargin" > 75 <number>0</number> 76 </property> 77 <property name="bottomMargin" > 78 <number>0</number> 79 </property> 80 <item> 81 <widget class="QTextEdit" name="mStatisticText" > 82 <property name="frameShape" > 83 <enum>QFrame::NoFrame</enum> 84 </property> 85 <property name="frameShadow" > 86 <enum>QFrame::Plain</enum> 87 </property> 88 <property name="readOnly" > 89 <bool>true</bool> 90 </property> 91 </widget> 92 </item> 93 </layout> 94 </widget> 95 </widget> 96 </item> 97 <item> 98 <layout class="QHBoxLayout" > 99 <item> 100 <spacer> 101 <property name="orientation" > 102 <enum>Qt::Horizontal</enum> 103 </property> 104 <property name="sizeHint" > 105 <size> 106 <width>40</width> 107 <height>20</height> 108 </size> 109 </property> 110 </spacer> 111 </item> 112 <item> 113 <widget class="QPushButton" name="mBtnClose" > 114 <property name="text" > 115 <string>&Close</string> 116 </property> 117 <property name="default" > 118 <bool>true</bool> 119 </property> 120 </widget> 121 </item> 122 </layout> 123 </item> 124 </layout> 125 </widget> 126 <widget class="QStatusBar" name="statusbar" /> 127 </widget> 128 <resources> 129 <include location="../VirtualBox.qrc" /> 130 </resources> 131 <connections/> 132 </ui>
Note:
See TracChangeset
for help on using the changeset viewer.