</rect>
</property>
<property name="windowTitle">
- <string>BiaWeb</string>
+ <string>BiaWeb - Static Website Content Manager</string>
</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"/>
</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="QListWidget" name="categories_list"/>
+ </item>
+ </layout>
+ </widget>
+ </widget>
<widget class="QMenuBar" name="menubar">
<property name="geometry">
<rect>
<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"/>
+ <addaction name="actionGenerate_Search_Index"/>
+ </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>
- <addaction name="menu_File"/>
- <addaction name="menu_Category"/>
- <addaction name="menu_Articles"/>
- <addaction name="menu_Web"/>
+ <addaction name="menu_File_2"/>
+ <addaction name="menu_Content"/>
+ <addaction name="menu_Settings"/>
<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>
</widget>
<resources/>
</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>
</connections>
<slots>
<slot>onFileNew()</slot>
<slot>onFileQuit()</slot>
+ <slot>onCategoryAdd()</slot>
</slots>
</ui>