VirtualBox

Ignore:
Timestamp:
Apr 7, 2008 8:12:40 PM (17 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
29341
Message:

VBox Log Viewer Dialog ported qt3=>qt4.

Location:
trunk/src/VBox/Frontends/VirtualBox4/ui
Files:
1 deleted
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox4/ui/VBoxVMLogViewer.ui

    r7220 r7784  
    1 <!DOCTYPE UI><UI version="3.3" stdsetdef="1">
    2 <class>VBoxVMLogViewer</class>
    3 <comment>
    4 :mode=html:tabSize=4:indentSize=4:noTabs=true:
    5 :folding=explicit:collapseFolds=1:
    6 
    7      Copyright (C) 2007 innotek GmbH
    8    
    9      This file is part of VirtualBox Open Source Edition (OSE), as
    10      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 GNU
    12      General Public License (GPL) as published by the Free Software
    13      Foundation, in version 2 as it comes in the "COPYING" file of the
    14      VirtualBox OSE distribution. VirtualBox OSE is distributed in the
    15      hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
    16 </comment>
    17 <widget class="QMainWindow">
    18     <property name="name">
    19         <cstring>VBoxVMLogViewer</cstring>
    20     </property>
    21     <property name="geometry">
    22         <rect>
    23             <x>0</x>
    24             <y>0</y>
    25             <width>600</width>
    26             <height>480</height>
    27         </rect>
    28     </property>
    29     <property name="caption">
    30         <string>Log Viewer</string>
    31     </property>
    32     <vbox>
    33         <property name="name">
    34             <cstring>unnamed</cstring>
     1<ui version="4.0" >
     2 <class>VBoxVMLogViewer</class>
     3 <widget class="QMainWindow" name="VBoxVMLogViewer" >
     4  <property name="geometry" >
     5   <rect>
     6    <x>0</x>
     7    <y>0</y>
     8    <width>588</width>
     9    <height>409</height>
     10   </rect>
     11  </property>
     12  <property name="windowTitle" >
     13   <string>Log Viewer</string>
     14  </property>
     15  <property name="windowIcon" >
     16   <iconset resource="../VirtualBox.qrc" >:/show_logs_16px.png</iconset>
     17  </property>
     18  <widget class="QWidget" name="centralwidget" >
     19   <layout class="QVBoxLayout" >
     20    <item>
     21     <widget class="QWidget" native="1" name="mLogsFrame" >
     22      <property name="sizePolicy" >
     23       <sizepolicy vsizetype="Expanding" hsizetype="Preferred" >
     24        <horstretch>0</horstretch>
     25        <verstretch>0</verstretch>
     26       </sizepolicy>
     27      </property>
     28     </widget>
     29    </item>
     30    <item>
     31     <layout class="QHBoxLayout" >
     32      <item>
     33       <widget class="QPushButton" name="mBtnHelp" >
     34        <property name="text" >
     35         <string>Help</string>
    3536        </property>
    36         <property name="margin">
    37             <number>10</number>
     37        <property name="shortcut" >
     38         <string>F1</string>
    3839        </property>
    39         <property name="spacing">
    40             <number>10</number>
     40        <property name="autoDefault" >
     41         <bool>true</bool>
    4142        </property>
    42         <widget class="QFrame">
    43             <property name="name">
    44                 <cstring>mLogsFrame</cstring>
    45             </property>
    46             <property name="frameShape">
    47                 <enum>NoFrame</enum>
    48             </property>
    49             <property name="frameShadow">
    50                 <enum>Plain</enum>
    51             </property>
    52         </widget>
    53         <widget class="QLayoutWidget">
    54             <property name="name">
    55                 <cstring>layout2</cstring>
    56             </property>
    57             <hbox>
    58                 <property name="name">
    59                     <cstring>unnamed</cstring>
    60                 </property>
    61                 <widget class="QPushButton">
    62                     <property name="name">
    63                         <cstring>mHelpButton</cstring>
    64                     </property>
    65                     <property name="text">
    66                         <string>Help</string>
    67                     </property>
    68                     <property name="accel">
    69                         <string>F1</string>
    70                     </property>
    71                 </widget>
    72                 <spacer>
    73                     <property name="name">
    74                         <cstring>spacer3</cstring>
    75                     </property>
    76                     <property name="orientation">
    77                         <enum>Horizontal</enum>
    78                     </property>
    79                     <property name="sizeType">
    80                         <enum>Expanding</enum>
    81                     </property>
    82                     <property name="sizeHint">
    83                         <size>
    84                             <width>270</width>
    85                             <height>20</height>
    86                         </size>
    87                     </property>
    88                 </spacer>
    89                 <widget class="QPushButton">
    90                     <property name="name">
    91                         <cstring>mFindButton</cstring>
    92                     </property>
    93                     <property name="text">
    94                         <string>&amp;Find</string>
    95                     </property>
    96                 </widget>
    97                 <widget class="QPushButton">
    98                     <property name="name">
    99                         <cstring>mSaveButton</cstring>
    100                     </property>
    101                     <property name="text">
    102                         <string>&amp;Save</string>
    103                     </property>
    104                     <property name="autoDefault">
    105                         <bool>true</bool>
    106                     </property>
    107                     <property name="default">
    108                         <bool>true</bool>
    109                     </property>
    110                 </widget>
    111                 <widget class="QPushButton">
    112                     <property name="name">
    113                         <cstring>mRefreshButton</cstring>
    114                     </property>
    115                     <property name="text">
    116                         <string>&amp;Refresh</string>
    117                     </property>
    118                 </widget>
    119                 <widget class="QPushButton">
    120                     <property name="name">
    121                         <cstring>mCloseButton</cstring>
    122                     </property>
    123                     <property name="text">
    124                         <string>Close</string>
    125                     </property>
    126                 </widget>
    127             </hbox>
    128         </widget>
    129     </vbox>
    130 </widget>
    131 <toolbars>
    132 </toolbars>
    133 <connections>
    134     <connection>
    135         <sender>mHelpButton</sender>
    136         <signal>clicked()</signal>
    137         <receiver>&amp;vboxProblem()</receiver>
    138         <slot>showHelpHelpDialog()</slot>
    139     </connection>
    140     <connection>
    141         <sender>mFindButton</sender>
    142         <signal>clicked()</signal>
    143         <receiver>VBoxVMLogViewer</receiver>
    144         <slot>search()</slot>
    145     </connection>
    146     <connection>
    147         <sender>mSaveButton</sender>
    148         <signal>clicked()</signal>
    149         <receiver>VBoxVMLogViewer</receiver>
    150         <slot>save()</slot>
    151     </connection>
    152     <connection>
    153         <sender>mRefreshButton</sender>
    154         <signal>clicked()</signal>
    155         <receiver>VBoxVMLogViewer</receiver>
    156         <slot>refresh()</slot>
    157     </connection>
    158     <connection>
    159         <sender>mCloseButton</sender>
    160         <signal>clicked()</signal>
    161         <receiver>VBoxVMLogViewer</receiver>
    162         <slot>close()</slot>
    163     </connection>
    164 </connections>
    165 <includes>
    166     <include location="local" impldecl="in declaration">VBoxGlobal.h</include>
    167     <include location="local" impldecl="in implementation">VBoxProblemReporter.h</include>
    168     <include location="global" impldecl="in implementation">qsizegrip.h</include>
    169     <include location="global" impldecl="in implementation">qstatusbar.h</include>
    170     <include location="global" impldecl="in implementation">qtabwidget.h</include>
    171     <include location="global" impldecl="in implementation">qtextbrowser.h</include>
    172     <include location="global" impldecl="in implementation">qdir.h</include>
    173     <include location="global" impldecl="in implementation">qfiledialog.h</include>
    174     <include location="global" impldecl="in implementation">qdatetime.h</include>
    175     <include location="global" impldecl="in implementation">qobjectlist.h</include>
    176     <include location="global" impldecl="in implementation">qcheckbox.h</include>
    177     <include location="global" impldecl="in implementation">qlabel.h</include>
    178     <include location="global" impldecl="in implementation">qlineedit.h</include>
    179     <include location="global" impldecl="in implementation">qtoolbutton.h</include>
    180     <include location="global" impldecl="in implementation">qmessagebox.h</include>
    181 </includes>
    182 <forwards>
    183     <forward>class QSizeGrip</forward>
    184     <forward>class QTabWidget</forward>
    185     <forward>class QTextBrowser</forward>
    186     <forward>class VBoxLogSearchPanel</forward>
    187 </forwards>
    188 <variables>
    189     <variable access="private">typedef QMap &lt;QString, VBoxVMLogViewer*&gt; LogViewersMap;</variable>
    190     <variable access="private">static LogViewersMap mSelfArray;</variable>
    191     <variable access="private">bool mFirstRun;</variable>
    192     <variable access="private">bool mIsPolished;</variable>
    193     <variable access="private">QSizeGrip *mSizeGrip;</variable>
    194     <variable access="private">CMachine mMachine;</variable>
    195     <variable access="private">QTabWidget *mLogList;</variable>
    196     <variable access="private">QStringList mLogFilesList;</variable>
    197     <variable access="private">QPushButton *mDefaultButton;</variable>
    198     <variable access="private">VBoxLogSearchPanel *mSearchPanel;</variable>
    199 </variables>
    200 <slots>
    201     <slot access="pritave">refresh()</slot>
    202     <slot access="private">save()</slot>
    203     <slot access="private">search()</slot>
    204 </slots>
    205 <functions>
    206     <function specifier="static">createLogViewer( CMachine&amp; )</function>
    207     <function access="private">init()</function>
    208     <function access="private">destroy()</function>
    209     <function>setup( CMachine &amp; )</function>
    210     <function returnType="const CMachine&amp;">machine()</function>
    211     <function access="pritave">languageChangeImp()</function>
    212     <function access="pritave" returnType="QPushButton*">searchDefaultButton()</function>
    213     <function access="protected" returnType="bool">eventFilter( QObject*, QEvent* )</function>
    214     <function access="protected" returnType="bool">event( QEvent* )</function>
    215     <function access="protected">keyPressEvent( QKeyEvent* )</function>
    216     <function access="protected">showEvent( QShowEvent* )</function>
    217     <function access="protected">resizeEvent( QResizeEvent* )</function>
    218     <function access="pritave">loadLogFile( const QString &amp; )</function>
    219     <function access="pritave" returnType="QTextBrowser*">createLogPage( const QString &amp; )</function>
    220     <function returnType="QTextBrowser*">currentLogPage()</function>
    221 </functions>
    222 <pixmapinproject/>
    223 <layoutdefaults spacing="6" margin="11"/>
    224 </UI>
     43       </widget>
     44      </item>
     45      <item>
     46       <spacer>
     47        <property name="orientation" >
     48         <enum>Qt::Horizontal</enum>
     49        </property>
     50        <property name="sizeHint" >
     51         <size>
     52          <width>40</width>
     53          <height>20</height>
     54         </size>
     55        </property>
     56       </spacer>
     57      </item>
     58      <item>
     59       <widget class="QPushButton" name="mBtnFind" >
     60        <property name="text" >
     61         <string>&amp;Find</string>
     62        </property>
     63        <property name="autoDefault" >
     64         <bool>true</bool>
     65        </property>
     66       </widget>
     67      </item>
     68      <item>
     69       <widget class="QPushButton" name="mBtnSave" >
     70        <property name="text" >
     71         <string>&amp;Save</string>
     72        </property>
     73        <property name="autoDefault" >
     74         <bool>true</bool>
     75        </property>
     76        <property name="default" >
     77         <bool>true</bool>
     78        </property>
     79       </widget>
     80      </item>
     81      <item>
     82       <widget class="QPushButton" name="mBtnRefresh" >
     83        <property name="text" >
     84         <string>&amp;Refresh</string>
     85        </property>
     86        <property name="autoDefault" >
     87         <bool>true</bool>
     88        </property>
     89       </widget>
     90      </item>
     91      <item>
     92       <widget class="QPushButton" name="mBtnClose" >
     93        <property name="text" >
     94         <string>&amp;Close</string>
     95        </property>
     96        <property name="autoDefault" >
     97         <bool>true</bool>
     98        </property>
     99       </widget>
     100      </item>
     101     </layout>
     102    </item>
     103   </layout>
     104  </widget>
     105  <widget class="QStatusBar" name="statusbar" />
     106 </widget>
     107 <resources>
     108  <include location="../VirtualBox.qrc" />
     109 </resources>
     110 <connections/>
     111</ui>
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette