Commit 5779a6ca authored by Jan Möbius's avatar Jan Möbius
Browse files

Cleanup header

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@3436 383ad7c9-94d9-4d36-a494-682f7c89f535
parent ffdc36ed
...@@ -72,6 +72,7 @@ ...@@ -72,6 +72,7 @@
#include <OpenFlipper/Core/PluginInfo.hh> #include <OpenFlipper/Core/PluginInfo.hh>
struct ViewMode{ struct ViewMode{
QString name; QString name;
bool custom; //is the mode defined by the user? bool custom; //is the mode defined by the user?
...@@ -193,25 +194,25 @@ public: ...@@ -193,25 +194,25 @@ public:
void updateRecent(); void updateRecent();
/** @} */ /** @} */
//=========================================================================== //===========================================================================
/** @name GUI Controls /** @name GUI Controls
* @{ */ * @{ */
//=========================================================================== //===========================================================================
public : public :
/// Set application to Fullscreen and back /// Set application to Fullscreen and back
void toggleFullscreen(); void toggleFullscreen();
/// Hide or show logging area /// Hide or show logging area
void toggleLogger(); void toggleLogger();
/// Change visibility of the logger /// Change visibility of the logger
void hideLogger(bool _hide); void hideLogger(bool _hide);
/// Hide or show toolbox area /// Hide or show toolbox area
void toggleToolbox(); void toggleToolbox();
/** @} */ /** @} */
//=========================================================================== //===========================================================================
...@@ -292,10 +293,10 @@ public: ...@@ -292,10 +293,10 @@ public:
///Spliter between toplevel objects and the textedit at the bottom ///Spliter between toplevel objects and the textedit at the bottom
QSplitter* splitter_; QSplitter* splitter_;
/// Textedit at the bottom for log messages /// Textedit at the bottom for log messages
QTextEdit* textedit_; QTextEdit* textedit_;
/// Size of the logging window ( defaults to 240 ) /// Size of the logging window ( defaults to 240 )
int originalLoggerSize_; int originalLoggerSize_;
...@@ -337,16 +338,16 @@ public: ...@@ -337,16 +338,16 @@ public:
QAction* fileMenuEnd_; QAction* fileMenuEnd_;
/** @} */ /** @} */
//=========================================================================== //===========================================================================
/** @name ToolBar controls /** @name ToolBar controls
* @{ */ * @{ */
//=========================================================================== //===========================================================================
private: private:
QToolBar* viewerToolbar_; QToolBar* viewerToolbar_;
int toolbarCount_; int toolbarCount_;
/** @} */ /** @} */
//=========================================================================== //===========================================================================
...@@ -444,64 +445,64 @@ public: ...@@ -444,64 +445,64 @@ public:
signals: signals:
void applyOptions(); void applyOptions();
void saveOptions(); void saveOptions();
private: private:
/// Pointer to the OptionsWidget /// Pointer to the OptionsWidget
OptionsWidget* optionsWidget_; OptionsWidget* optionsWidget_;
/** @} */ /** @} */
//=========================================================================== //===========================================================================
/** @name ToolBar controls /** @name ToolBar controls
* @{ */ * @{ */
//=========================================================================== //===========================================================================
private slots: private slots:
/// Called by Plugins to add a Toolbar /// Called by Plugins to add a Toolbar
void slotAddToolbar(QToolBar* _toolbar); void slotAddToolbar(QToolBar* _toolbar);
/// Called by Plugins to remove a Toolbar /// Called by Plugins to remove a Toolbar
void slotRemoveToolbar(QToolBar* _toolbar); void slotRemoveToolbar(QToolBar* _toolbar);
private : private :
QToolBar* mainToolbar_; QToolBar* mainToolbar_;
/** @} */ /** @} */
//=========================================================================== //===========================================================================
/** @name StatusBar controls /** @name StatusBar controls
* @{ */ * @{ */
//=========================================================================== //===========================================================================
public slots: public slots:
void statusMessage(QString _message, int _timeout = 0); void statusMessage(QString _message, int _timeout = 0);
void clearStatusMessage(); void clearStatusMessage();
void setStatus( ApplicationStatus::applicationStatus _status); void setStatus( ApplicationStatus::applicationStatus _status);
private: private:
void setupStatusBar(); void setupStatusBar();
private : private :
QStatusBar* statusBar_; QStatusBar* statusBar_;
QLabel* statusIcon_; QLabel* statusIcon_;
/** @} */ /** @} */
//=========================================================================== //===========================================================================
/** @name Drag and Drop /** @name Drag and Drop
* @{ */ * @{ */
//=========================================================================== //===========================================================================
private slots: private slots:
void startDrag( QMouseEvent* _event ); void startDrag( QMouseEvent* _event );
void dragEnterEvent(QDragEnterEvent* _event); void dragEnterEvent(QDragEnterEvent* _event);
void dropEvent( QDropEvent* _event ); void dropEvent( QDropEvent* _event );
/** @} */ /** @} */
private : private :
std::vector<PluginInfo>& plugins_; std::vector<PluginInfo>& plugins_;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment