Changeset 11342 for trunk/FACT++/gui


Ignore:
Timestamp:
07/11/11 16:03:44 (13 years ago)
Author:
tbretz
Message:
Divided Reset into soft and hard reset.
Location:
trunk/FACT++/gui
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/FACT++/gui/MainWindow.cc

    r11332 r11342  
    263263}
    264264
    265 void MainWindow::on_fFadReset_clicked()
    266 {
    267     Dim::SendCommand("FAD_CONTROL/RESET");
     265void MainWindow::on_fFadSoftReset_clicked()
     266{
     267    Dim::SendCommand("FAD_CONTROL/SOFT_RESET");
     268}
     269
     270void MainWindow::on_fFadHardReset_clicked()
     271{
     272    Dim::SendCommand("FAD_CONTROL/HARD_RESET");
    268273}
    269274
  • trunk/FACT++/gui/MainWindow.h

    r11332 r11342  
    3737    void on_fFadStop_clicked();
    3838    void on_fFadAbort_clicked();
    39     void on_fFadReset_clicked();
     39    void on_fFadSoftReset_clicked();
     40    void on_fFadHardReset_clicked();
    4041
    4142    void on_fLoggerStart_clicked();
  • trunk/FACT++/gui/design.ui

    r11331 r11342  
    5353      </property>
    5454      <property name="currentIndex">
    55        <number>6</number>
     55       <number>3</number>
    5656      </property>
    5757      <property name="documentMode">
     
    48674867                 <property name="geometry">
    48684868                  <rect>
    4869                    <x>40</x>
     4869                   <x>10</x>
    48704870                   <y>20</y>
    48714871                   <width>423</width>
     
    72487248   <property name="minimumSize">
    72497249    <size>
    7250      <width>223</width>
    7251      <height>596</height>
     7250     <width>0</width>
     7251     <height>620</height>
    72527252    </size>
    72537253   </property>
     
    79517951        </widget>
    79527952       </item>
    7953        <item row="1" column="1">
     7953       <item row="0" column="2">
    79547954        <widget class="QPushButton" name="fFadAbort">
    79557955         <property name="text">
     
    79587958        </widget>
    79597959       </item>
    7960        <item row="1" column="0">
    7961         <widget class="QPushButton" name="fFadReset">
    7962          <property name="text">
    7963           <string>Reset</string>
    7964          </property>
    7965         </widget>
     7960       <item row="1" column="0" colspan="3">
     7961        <layout class="QHBoxLayout" name="horizontalLayout_26">
     7962         <property name="topMargin">
     7963          <number>0</number>
     7964         </property>
     7965         <item>
     7966          <widget class="QPushButton" name="fFadSoftReset">
     7967           <property name="text">
     7968            <string>Soft Reset</string>
     7969           </property>
     7970          </widget>
     7971         </item>
     7972         <item>
     7973          <widget class="QPushButton" name="fFadHardReset">
     7974           <property name="text">
     7975            <string>Hard Reset</string>
     7976           </property>
     7977          </widget>
     7978         </item>
     7979        </layout>
    79667980       </item>
    79677981      </layout>
Note: See TracChangeset for help on using the changeset viewer.