Changeset 66ec7cb in confclerk_git for src


Ignore:
Timestamp:
09/21/11 21:41:46 (11 years ago)
Author:
Philipp Spitzer <philipp@…>
Branches:
master, qt5
Children:
bf6be88
Parents:
701240f
Message:

Introduced a toobar.
Added a new global date navigator instance (the "old" ones are not removed yet).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/gui/mainwindow.ui

    r701240f r66ec7cb  
    2525  </property>
    2626  <widget class="QWidget" name="centralwidget">
    27    <layout class="QGridLayout" name="gridLayout">
    28     <item row="0" column="0">
     27   <layout class="QHBoxLayout" name="horizontalLayout">
     28    <item>
     29     <widget class="DayNavigatorWidget" name="dayNavigator" native="true">
     30      <property name="minimumSize">
     31       <size>
     32        <width>20</width>
     33        <height>0</height>
     34       </size>
     35      </property>
     36     </widget>
     37    </item>
     38    <item>
    2939     <widget class="QTabWidget" name="tabWidget">
    3040      <property name="currentIndex">
    31        <number>2</number>
     41       <number>1</number>
    3242      </property>
    3343      <widget class="QWidget" name="nowTab">
     
    5565        <string>Day View</string>
    5666       </attribute>
    57        <layout class="QGridLayout" name="gridLayout_2">
     67       <layout class="QGridLayout" name="gridLayout">
    5868        <item row="0" column="0">
    5969         <widget class="DayViewTabContainer" name="dayTabContainer" native="true"/>
     
    111121    </rect>
    112122   </property>
     123   <property name="layoutDirection">
     124    <enum>Qt::LeftToRight</enum>
     125   </property>
    113126   <addaction name="conferencesAction"/>
    114127   <addaction name="settingsAction"/>
     
    116129   <addaction name="quitAction"/>
    117130  </widget>
     131  <widget class="QToolBar" name="toolBar">
     132   <property name="windowTitle">
     133    <string>toolBar</string>
     134   </property>
     135   <attribute name="toolBarArea">
     136    <enum>RightToolBarArea</enum>
     137   </attribute>
     138   <attribute name="toolBarBreak">
     139    <bool>false</bool>
     140   </attribute>
     141   <addaction name="reloadAction"/>
     142   <addaction name="actionNow"/>
     143  </widget>
    118144  <action name="conferencesAction">
    119145   <property name="text">
     
    134160   <property name="text">
    135161    <string>&amp;Quit</string>
     162   </property>
     163  </action>
     164  <action name="reloadAction">
     165   <property name="icon">
     166    <iconset resource="../icons.qrc">
     167     <normaloff>:/icons/reload.png</normaloff>:/icons/reload.png</iconset>
     168   </property>
     169   <property name="text">
     170    <string>Reload Conference</string>
     171   </property>
     172   <property name="toolTip">
     173    <string>Reload Conference</string>
     174   </property>
     175   <property name="shortcut">
     176    <string>Ctrl+R</string>
     177   </property>
     178  </action>
     179  <action name="actionNow">
     180   <property name="icon">
     181    <iconset resource="../icons.qrc">
     182     <normaloff>:/icons/today.png</normaloff>:/icons/today.png</iconset>
     183   </property>
     184   <property name="text">
     185    <string>Jump to now</string>
     186   </property>
     187   <property name="shortcut">
     188    <string>Ctrl+N</string>
    136189   </property>
    137190  </action>
     
    168221   <header>nowtabcontainer.h</header>
    169222  </customwidget>
     223  <customwidget>
     224   <class>DayNavigatorWidget</class>
     225   <extends>QWidget</extends>
     226   <header>daynavigatorwidget.h</header>
     227  </customwidget>
    170228 </customwidgets>
    171229 <resources>
     230  <include location="../../data/data.qrc"/>
    172231  <include location="../icons.qrc"/>
    173   <include location="../../data/data.qrc"/>
    174232 </resources>
    175233 <connections>
     
    190248   </hints>
    191249  </connection>
     250  <connection>
     251   <sender>reloadAction</sender>
     252   <signal>triggered()</signal>
     253   <receiver>MainWindow</receiver>
     254   <slot>close()</slot>
     255   <hints>
     256    <hint type="sourcelabel">
     257     <x>-1</x>
     258     <y>-1</y>
     259    </hint>
     260    <hint type="destinationlabel">
     261     <x>451</x>
     262     <y>248</y>
     263    </hint>
     264   </hints>
     265  </connection>
    192266 </connections>
    193267</ui>
Note: See TracChangeset for help on using the changeset viewer.