<rect>
<x>0</x>
<y>0</y>
- <width>633</width>
- <height>458</height>
+ <width>798</width>
+ <height>517</height>
</rect>
</property>
<property name="windowTitle">
- <string>BiaWeb</string>
+ <string>BiaWeb - Static Website Content Manager</string>
+ </property>
+ <property name="windowIcon">
+ <iconset resource="../../projects/BiaWeb_Qt/biaweb_rc.qrc">
+ <normaloff>:/bia/resources/icon.png</normaloff>:/bia/resources/icon.png</iconset>
</property>
<widget class="QWidget" name="centralwidget">
<layout class="QGridLayout" name="gridLayout">
<item row="0" column="0">
- <widget class="QLabel" name="label">
- <property name="text">
- <string>Categories</string>
- </property>
- </widget>
- </item>
- <item row="0" column="2">
<widget class="QLabel" name="label_2">
<property name="text">
<string>Articles in category</string>
</widget>
</item>
<item row="1" column="0">
- <widget class="QListWidget" name="categories_list"/>
- </item>
- <item row="1" column="2">
- <widget class="QListWidget" name="articles_list"/>
+ <widget class="QTreeWidget" name="articles">
+ <property name="alternatingRowColors">
+ <bool>true</bool>
+ </property>
+ <column>
+ <property name="text">
+ <string>Article ID</string>
+ </property>
+ </column>
+ <column>
+ <property name="text">
+ <string>Article Title</string>
+ </property>
+ </column>
+ </widget>
</item>
</layout>
</widget>
+ <widget class="QStatusBar" name="statusbar"/>
+ <widget class="QDockWidget" name="dockWidget_2">
+ <property name="floating">
+ <bool>false</bool>
+ </property>
+ <property name="features">
+ <set>QDockWidget::DockWidgetFloatable|QDockWidget::DockWidgetMovable</set>
+ </property>
+ <property name="windowTitle">
+ <string>Categories</string>
+ </property>
+ <attribute name="dockWidgetArea">
+ <number>1</number>
+ </attribute>
+ <widget class="QWidget" name="dockWidgetContents_2">
+ <layout class="QGridLayout" name="gridLayout_2">
+ <item row="0" column="0">
+ <widget class="QTreeWidget" name="categories">
+ <property name="alternatingRowColors">
+ <bool>true</bool>
+ </property>
+ <property name="selectionMode">
+ <enum>QAbstractItemView::SingleSelection</enum>
+ </property>
+ <property name="allColumnsShowFocus">
+ <bool>false</bool>
+ </property>
+ <column>
+ <property name="text">
+ <string>Category ID</string>
+ </property>
+ </column>
+ <column>
+ <property name="text">
+ <string>Category Name</string>
+ </property>
+ </column>
+ </widget>
+ </item>
+ </layout>
+ </widget>
+ </widget>
<widget class="QMenuBar" name="menubar">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
- <width>633</width>
+ <width>798</width>
<height>25</height>
</rect>
</property>
- <widget class="QMenu" name="menu_File">
- <property name="title">
- <string>&File</string>
- </property>
- <addaction name="actionNew_site"/>
- <addaction name="action_Open_site"/>
- <addaction name="separator"/>
- <addaction name="action_Quit"/>
- </widget>
- <widget class="QMenu" name="menu_Category">
+ <widget class="QMenu" name="menu_About">
<property name="title">
- <string>&Category</string>
+ <string>&Help</string>
</property>
- <addaction name="action_Add"/>
- <addaction name="action_Edit"/>
- <addaction name="action_Delete"/>
+ <addaction name="action_About"/>
</widget>
- <widget class="QMenu" name="menu_Articles">
+ <widget class="QMenu" name="menu_Settings">
<property name="title">
- <string>&Articles</string>
+ <string>&Settings</string>
</property>
- <addaction name="action_New"/>
- <addaction name="action_Edit_2"/>
- <addaction name="action_Delete_2"/>
+ <addaction name="action_Configuration"/>
+ <addaction name="separator"/>
+ <addaction name="actionTemplates"/>
</widget>
- <widget class="QMenu" name="menu_Web">
+ <widget class="QMenu" name="menu_Content">
<property name="title">
- <string>&Web</string>
+ <string>&Content</string>
</property>
- <addaction name="action_Generate_Site"/>
- <addaction name="actionGenerate_Search_Index"/>
+ <addaction name="action_NewArticle"/>
+ <addaction name="action_EditArticle"/>
+ <addaction name="action_DeleteArticle"/>
+ <addaction name="separator"/>
+ <addaction name="action_AddCategory"/>
+ <addaction name="action_EditCategory"/>
+ <addaction name="action_RemoveCategory"/>
</widget>
- <widget class="QMenu" name="menu_About">
+ <widget class="QMenu" name="menu_File_2">
<property name="title">
- <string>&Help</string>
+ <string>&File</string>
</property>
- <addaction name="action_About"/>
+ <widget class="QMenu" name="menu_Export_web">
+ <property name="title">
+ <string>&Export web</string>
+ </property>
+ <addaction name="action_Generate_Site"/>
+ </widget>
+ <addaction name="actionNew_site"/>
+ <addaction name="action_Open_site"/>
+ <addaction name="separator"/>
+ <addaction name="menu_Export_web"/>
+ <addaction name="separator"/>
+ <addaction name="action_Quit"/>
</widget>
- <widget class="QMenu" name="menu_Settings">
+ <widget class="QMenu" name="menu_View">
<property name="title">
- <string>&Settings</string>
+ <string>&View</string>
</property>
- <addaction name="action_Configuration"/>
- <addaction name="separator"/>
- <addaction name="actionTemplates"/>
+ <addaction name="action_Refresh"/>
</widget>
- <addaction name="menu_File"/>
- <addaction name="menu_Category"/>
- <addaction name="menu_Articles"/>
+ <addaction name="menu_File_2"/>
+ <addaction name="menu_Content"/>
<addaction name="menu_Settings"/>
- <addaction name="menu_Web"/>
+ <addaction name="menu_View"/>
<addaction name="menu_About"/>
</widget>
- <widget class="QStatusBar" name="statusbar"/>
<action name="actionOpen_DB">
<property name="text">
<string>Open existing site...</string>
<property name="text">
<string>&Quit</string>
</property>
+ <property name="statusTip">
+ <string>Quit</string>
+ </property>
</action>
- <action name="action_Add">
+ <action name="action_AddCategory">
<property name="text">
- <string>&Add...</string>
+ <string>Add &category...</string>
+ </property>
+ <property name="statusTip">
+ <string>Add a new category to the website structure</string>
</property>
</action>
- <action name="action_Edit">
+ <action name="action_EditCategory">
<property name="text">
- <string>&Edit...</string>
+ <string>Edit categ&ory...</string>
+ </property>
+ <property name="statusTip">
+ <string>Edit the selected category</string>
</property>
</action>
- <action name="action_Delete">
+ <action name="action_RemoveCategory">
<property name="text">
- <string>&Delete</string>
+ <string>&Remove category</string>
+ </property>
+ <property name="statusTip">
+ <string>Delete the selected category</string>
</property>
</action>
- <action name="action_New">
+ <action name="action_NewArticle">
<property name="text">
- <string>&Add...</string>
+ <string>&Add article...</string>
+ </property>
+ <property name="statusTip">
+ <string>Add an article to selected category</string>
</property>
</action>
- <action name="action_Edit_2">
+ <action name="action_EditArticle">
<property name="text">
- <string>&Edit...</string>
+ <string>&Edit article...</string>
+ </property>
+ <property name="statusTip">
+ <string>Edit the selected article</string>
</property>
</action>
- <action name="action_Delete_2">
+ <action name="action_DeleteArticle">
<property name="text">
- <string>&Delete</string>
+ <string>&Delete article...</string>
+ </property>
+ <property name="statusTip">
+ <string>Delete the selected article</string>
</property>
</action>
<action name="action_Generate_Site">
<property name="text">
<string>Generate &Site...</string>
</property>
+ <property name="statusTip">
+ <string>Export the site into a directory structure with static HTML files</string>
+ </property>
</action>
<action name="actionGenerate_Search_Index">
<property name="text">
<string>Generate Search &Index...</string>
</property>
+ <property name="statusTip">
+ <string>Generate full or keyword text database and put it into the generated site structure</string>
+ </property>
</action>
<action name="action_About">
<property name="text">
<string>&About</string>
</property>
+ <property name="statusTip">
+ <string>View application information</string>
+ </property>
</action>
<action name="actionNew_site">
<property name="text">
<string>&New site...</string>
</property>
+ <property name="statusTip">
+ <string>Create a new website database</string>
+ </property>
</action>
<action name="action_Open_site">
<property name="text">
<string>&Open site...</string>
</property>
+ <property name="statusTip">
+ <string>Open an already existing site's database</string>
+ </property>
</action>
<action name="action_Configuration">
<property name="text">
<string>&Configuration...</string>
</property>
+ <property name="statusTip">
+ <string>Modify the site configuration</string>
+ </property>
</action>
<action name="actionTemplates">
<property name="text">
<string>Templates...</string>
</property>
+ <property name="statusTip">
+ <string>Modify or revert site templates</string>
+ </property>
+ </action>
+ <action name="actionSamth">
+ <property name="text">
+ <string>samth</string>
+ </property>
+ </action>
+ <action name="actionAsasas">
+ <property name="text">
+ <string>asasas</string>
+ </property>
+ </action>
+ <action name="action_Refresh">
+ <property name="text">
+ <string>&Refresh</string>
+ </property>
+ <property name="statusTip">
+ <string>Reload categories and articles in the view</string>
+ </property>
+ <property name="shortcut">
+ <string>F5</string>
+ </property>
</action>
</widget>
- <resources/>
+ <tabstops>
+ <tabstop>categories</tabstop>
+ <tabstop>articles</tabstop>
+ </tabstops>
+ <resources>
+ <include location="../../projects/BiaWeb_Qt/biaweb_rc.qrc"/>
+ </resources>
<connections>
<connection>
<sender>actionNew_site</sender>
</hint>
</hints>
</connection>
+ <connection>
+ <sender>action_AddCategory</sender>
+ <signal>triggered()</signal>
+ <receiver>MainWindow</receiver>
+ <slot>onCategoryAdd()</slot>
+ <hints>
+ <hint type="sourcelabel">
+ <x>-1</x>
+ <y>-1</y>
+ </hint>
+ <hint type="destinationlabel">
+ <x>316</x>
+ <y>228</y>
+ </hint>
+ </hints>
+ </connection>
+ <connection>
+ <sender>action_Open_site</sender>
+ <signal>triggered()</signal>
+ <receiver>MainWindow</receiver>
+ <slot>onFileOpen()</slot>
+ <hints>
+ <hint type="sourcelabel">
+ <x>-1</x>
+ <y>-1</y>
+ </hint>
+ <hint type="destinationlabel">
+ <x>316</x>
+ <y>228</y>
+ </hint>
+ </hints>
+ </connection>
+ <connection>
+ <sender>action_Configuration</sender>
+ <signal>triggered()</signal>
+ <receiver>MainWindow</receiver>
+ <slot>onConfiguration()</slot>
+ <hints>
+ <hint type="sourcelabel">
+ <x>-1</x>
+ <y>-1</y>
+ </hint>
+ <hint type="destinationlabel">
+ <x>316</x>
+ <y>228</y>
+ </hint>
+ </hints>
+ </connection>
+ <connection>
+ <sender>action_EditCategory</sender>
+ <signal>triggered()</signal>
+ <receiver>MainWindow</receiver>
+ <slot>onCategoryEdit()</slot>
+ <hints>
+ <hint type="sourcelabel">
+ <x>-1</x>
+ <y>-1</y>
+ </hint>
+ <hint type="destinationlabel">
+ <x>316</x>
+ <y>228</y>
+ </hint>
+ </hints>
+ </connection>
+ <connection>
+ <sender>action_RemoveCategory</sender>
+ <signal>triggered()</signal>
+ <receiver>MainWindow</receiver>
+ <slot>onCategoryDelete()</slot>
+ <hints>
+ <hint type="sourcelabel">
+ <x>-1</x>
+ <y>-1</y>
+ </hint>
+ <hint type="destinationlabel">
+ <x>316</x>
+ <y>228</y>
+ </hint>
+ </hints>
+ </connection>
+ <connection>
+ <sender>categories</sender>
+ <signal>itemSelectionChanged()</signal>
+ <receiver>MainWindow</receiver>
+ <slot>onCategorySelectionChanged()</slot>
+ <hints>
+ <hint type="sourcelabel">
+ <x>226</x>
+ <y>211</y>
+ </hint>
+ <hint type="destinationlabel">
+ <x>279</x>
+ <y>233</y>
+ </hint>
+ </hints>
+ </connection>
+ <connection>
+ <sender>action_Refresh</sender>
+ <signal>triggered()</signal>
+ <receiver>MainWindow</receiver>
+ <slot>onViewRefresh()</slot>
+ <hints>
+ <hint type="sourcelabel">
+ <x>-1</x>
+ <y>-1</y>
+ </hint>
+ <hint type="destinationlabel">
+ <x>316</x>
+ <y>228</y>
+ </hint>
+ </hints>
+ </connection>
+ <connection>
+ <sender>action_NewArticle</sender>
+ <signal>triggered()</signal>
+ <receiver>MainWindow</receiver>
+ <slot>onArticleAdd()</slot>
+ <hints>
+ <hint type="sourcelabel">
+ <x>-1</x>
+ <y>-1</y>
+ </hint>
+ <hint type="destinationlabel">
+ <x>316</x>
+ <y>228</y>
+ </hint>
+ </hints>
+ </connection>
+ <connection>
+ <sender>action_EditArticle</sender>
+ <signal>triggered()</signal>
+ <receiver>MainWindow</receiver>
+ <slot>onArticleEdit()</slot>
+ <hints>
+ <hint type="sourcelabel">
+ <x>-1</x>
+ <y>-1</y>
+ </hint>
+ <hint type="destinationlabel">
+ <x>316</x>
+ <y>228</y>
+ </hint>
+ </hints>
+ </connection>
+ <connection>
+ <sender>action_DeleteArticle</sender>
+ <signal>triggered()</signal>
+ <receiver>MainWindow</receiver>
+ <slot>onArticleDelete()</slot>
+ <hints>
+ <hint type="sourcelabel">
+ <x>-1</x>
+ <y>-1</y>
+ </hint>
+ <hint type="destinationlabel">
+ <x>316</x>
+ <y>228</y>
+ </hint>
+ </hints>
+ </connection>
+ <connection>
+ <sender>categories</sender>
+ <signal>itemActivated(QTreeWidgetItem*,int)</signal>
+ <receiver>MainWindow</receiver>
+ <slot>onCategoryItemActivated()</slot>
+ <hints>
+ <hint type="sourcelabel">
+ <x>212</x>
+ <y>156</y>
+ </hint>
+ <hint type="destinationlabel">
+ <x>276</x>
+ <y>272</y>
+ </hint>
+ </hints>
+ </connection>
+ <connection>
+ <sender>articles</sender>
+ <signal>itemActivated(QTreeWidgetItem*,int)</signal>
+ <receiver>MainWindow</receiver>
+ <slot>onArticleItemActivated()</slot>
+ <hints>
+ <hint type="sourcelabel">
+ <x>338</x>
+ <y>342</y>
+ </hint>
+ <hint type="destinationlabel">
+ <x>280</x>
+ <y>347</y>
+ </hint>
+ </hints>
+ </connection>
+ <connection>
+ <sender>actionTemplates</sender>
+ <signal>triggered()</signal>
+ <receiver>MainWindow</receiver>
+ <slot>onTemplates()</slot>
+ <hints>
+ <hint type="sourcelabel">
+ <x>-1</x>
+ <y>-1</y>
+ </hint>
+ <hint type="destinationlabel">
+ <x>398</x>
+ <y>258</y>
+ </hint>
+ </hints>
+ </connection>
+ <connection>
+ <sender>action_Generate_Site</sender>
+ <signal>triggered()</signal>
+ <receiver>MainWindow</receiver>
+ <slot>onGenerateSite()</slot>
+ <hints>
+ <hint type="sourcelabel">
+ <x>-1</x>
+ <y>-1</y>
+ </hint>
+ <hint type="destinationlabel">
+ <x>398</x>
+ <y>258</y>
+ </hint>
+ </hints>
+ </connection>
+ <connection>
+ <sender>action_About</sender>
+ <signal>triggered()</signal>
+ <receiver>MainWindow</receiver>
+ <slot>onAbout()</slot>
+ <hints>
+ <hint type="sourcelabel">
+ <x>-1</x>
+ <y>-1</y>
+ </hint>
+ <hint type="destinationlabel">
+ <x>398</x>
+ <y>258</y>
+ </hint>
+ </hints>
+ </connection>
</connections>
<slots>
<slot>onFileNew()</slot>
<slot>onFileQuit()</slot>
+ <slot>onCategoryAdd()</slot>
+ <slot>onFileOpen()</slot>
+ <slot>onConfiguration()</slot>
+ <slot>onCategoryEdit()</slot>
+ <slot>onCategoryDelete()</slot>
+ <slot>onCategorySelectionChanged()</slot>
+ <slot>onViewRefresh()</slot>
+ <slot>onArticleAdd()</slot>
+ <slot>onArticleEdit()</slot>
+ <slot>onArticleDelete()</slot>
+ <slot>onCategoryItemActivated()</slot>
+ <slot>onArticleItemActivated()</slot>
+ <slot>onTemplates()</slot>
+ <slot>onGenerateSite()</slot>
+ <slot>onAbout()</slot>
</slots>
</ui>