Return to site

Menubar Stats 2 2 6 – Advanced System Monitoring

broken image



[What is AWStats][Demo][Features][Downloads][Documentation / FAQ][Comparison][AWStats Project/Development]

What is AWStats

AWStats is a free powerful and featureful tool that generates advanced web, streaming, ftp or mail server statistics, graphically.This log analyzer works as a CGI or from command lineand shows you all possible information your log contains, in few graphical web pages.It uses a partial information file to be able to process large log files, often and quickly.It can analyze log files from all major server tools like Apache log files (NCSA combined/XLF/ELF log format or common/CLF log format),WebStar, IIS (W3C log format) and a lot of other web, proxy, wap, streaming servers, mail servers and some ftp servers.
Take a look at this comparison table for an idea on features and differences between mostfamous statistics tools (AWStats, Analog, Webalizer,..).
AWStats is a free software distributed under the GNU General Public License. You can have a look at this license chart to know what you can/can't do.
As AWStats works from the command line but also as a CGI, it can work with all web hosting providers which allow Perl, CGI and log access.


Demo / Screenshots

You can browse AWStats demo (real-time update feature has been disabled)to see a sample of most important information AWStats shows you..
Demo for web server log files
Static demo for ftp log files
Static demo for mail log files

Features

A full log analysis enables AWStats to show you the following information:
* Number of visits, and number of unique visitors,
* Visits duration and last visits,
* Authenticated users, and last authenticated visits,
* Days of week and rush hours (pages, hits, KB for each hour and day of week),
* Domains/countries of hosts visitors (pages, hits, KB, 269 domains/countries detected, GeoIp detection),
* Hosts list, last visits and unresolved IP addresses list,
* Most viewed, entry and exit pages,
* Files type,
* Web compression statistics (for mod_gzip or mod_deflate),
* OS used (pages, hits, KB for each OS, 35 OS detected),
* Browsers used (pages, hits, KB for each browser, each version (Web, Wap, Media browsers: 97 browsers, more than 450 if using browsers_phone.pm library file),
* Visits of robots (319 robots detected),
* Worms attacks (5 worm's families),
* Search engines, keyphrases and keywords used to find your site (The 115 most famous search engines are detected like yahoo, google, altavista, etc..),
* HTTP errors (Page Not Found with last referrer, ..),
* Other personalized reports based on url, url parameters, referer field for miscellanous/marketing purpose,
* Number of times your site is 'added to favourites bookmarks'.
* Screen size (need to add some HTML tags in index page).
* Ratio of Browsers with support of: Java, Flash, RealG2 reader, Quicktime reader, WMA reader, PDF reader (need to add some HTML tags in index page).
* Cluster report for load balanced servers ratio.
AWStats also supports the following features:
* Can analyze a lot of log formats: Apache NCSA combined log files (XLF/ELF) or common (CLF), IIS log files (W3C), WebStar native log files and other web, proxy, wap or streaming servers log files (but also ftp or mail log files). See AWStats F.A.Q. for examples.
* Works from command line and from a browser as a CGI (with dynamic filters capabilities for some charts),
* Update of statistics can be made from a web browser and not only from your scheduler,
* Unlimited log file size, support split log files (load balancing system),
* Support 'not correctly sorted' log files even for entry and exit pages,
* Reverse DNS lookup before or during analysis, support DNS cache files,
* Plugin for country detection from IP location (use geoip country database or client domain name),
* Plugin for city detection from IP location (use geoip city database),
* Plugins for US/Canadian Region , ISP and/or Organizations reports (require non free third product geoipregion, geoipisp and/or geoiporg database)
* WhoIS links,
* A lot of options/filters and plugins can be used,
* Multi-named web sites supported (virtual servers, great for web-hosting providers),
* Cross Site Scripting Attacks protection,
* Several languages. See AWStats F.A.Q. for full list.
* No need of rare perl libraries. All basic perl interpreters can make AWStats working,
* Dynamic reports as CGI output.
* Static reports in one or framed HTML/XHTML pages, experimental PDF export,
* Look and colors can match your site design, can use CSS,
* Help and tooltips on HTML reported pages,
* Easy to use (Just one configuration file to edit),
* Analysis database can be stored in XML format for XSLT processing,
* A Webmin module,
* Absolutely free (even for web hosting providers), with sources (GNU General Public License),
* Available on all platforms,
* AWStats has a XML Portable Application Description.
Requirements:
To use AWStats, you need the following requirements:
* Your server must log web access in a log file you can read.
* You must be able to run perl scripts (.pl files) from command line and/or as CGI (Perl 5.007003 or higher required to run AWStats 6.9 or higher).
If not, you can solve this by downloading last Perl version at ActivePerl (Win32) or Perl.com (Unix/Linux/Other).
See AWStats F.A.Q. to have examples of supported OS and Web servers.

Download

AWStats
Last stableLast stable version is 7.8 - 2020-04-30 13:00
Your Perl version must be at least 5.00503 (or higher) to use AWStats 6.x or higher.See ChangeLog to know what's new and for information on compatibility with previous versions.
See Features for current features.
awstats-7.8.zip
awstats-7.8.tar.gz
awstats-7.8-1.noarch.rpm
Older release versions are7.7 - 2018-01-07
7.6 - 2017-03-12
7.5 - 2016-03-12
7.4 - 2015-07-15
7.3 - 2014-07-23
7.2 - 2013-07-09
7.1.1 - 2013-03-08
7.1 - 2012-12-01
7.0 - 2010-12-01
6.95 - 2009-10-28
6.9 - 2008-12-28
6.8 - 2008-07-20
6.7 - 2007-07-07
6.6 - 2006-12-23
6.5 - 2005-12-24
6.4 - 2005-03-16
6.3 - 2005-01-28
6.2 - 2004-11-06
6.1 - 2004-05-15
6.0 - 2004-04-18
..
1.0 - 2000-05-02 (first version)
Download
Some spec/build files used to build packages are hereawstats.spec
awstats.nsi

AWStats Webmin module
Last stableLast stable version is 2.0 - 2014-01-02 01:24
awstats-2.0.wbm
Older release versions are1.9 - 2010-06-30
1.8 - 2009-10-28
1.7 - 2006-12-23
1.6 - 2005-12-24
1.5 - 2005-01-28
1.4 - 2004-11-06
1.3 - 2004-03-22
1.21 - 2004-03-22
1.0 - 2003-09-14 (first version)
Download

Other downloads (plugins/contrib/tools..)
You will find here several kinds of files :
- AWStats plugins
- Other AWStats contribs/tools/packages
- Other Non AWStats contribs/tools (not related to AWStats but related to statistics or log analysis)
- Documents on AWStats or related to log analysis
- Some non official AWStats patches (hosted by sourceforge)

Documentation / FAQ

If you need to know something about AWStats (features, setup, ..):
- Read seriously AWStats official documentation : HTML On line or PDF file (326KB)
For last security annoucements:
- See security report page.
If you need help:
- The first thing you have to do to solve a technical problem is to upgrade AWStats to last release version.
- Then you should read all the AWStats F.A.Q.
- If you still have problem, check on AWStats General FORUM (hosted by sourceforge).

Comparison

Features/SoftwaresAWStatsWebalizer
Version - Date7.22.01-10
See the feature comparison page here..

Support AWStats / Donate

If you want to support AWStats development and encourage my work, you can make a donation.
This is the best way if you want to send me something cool. Thank you!
This is a list of all donors that allows me to made them public.
* The new regulations in Sweden have caused a large increase of non-licensed casinos without Spelpaus. Read more about Swedish regulations on the site Casino Utan Svensk Licens (in Swedish).
* CasinoFeber.se - The ultimate Swedish Casino bonus comparison site
* Find new casinos in Finland by searching for uudet nettikasinot and you will get the latest casinos.
* Learn how to choose casino online PL on KasynoHEX.com - Polish guide to the world of gambling.
* Check trusted reviews of Top Australia Casinos 2020 by AussieCasinoHEX.com and stop being rigged by rogue gambling sites.
* Im Folgenden lassen sich alle Casinos in der Liste bei CasinoHEX.at nachsehen
* Välkommen till CasinoHEX.se - Spelportalen förmedlar allra bästa och senaste erbjudanden från svenska säkra nätcasinon för spelare från Sverige.
* Etsitkö hyvää nettikasinoa pelatakseen? Löydät Suomen parhaat nettikasinot Netticasinohex.comilta ja paljon muita
* Neue Online Casinos is the leading casino comparison site in the German, Austrian and Swiss markets.
* CasinoSlam is the #1 guide in Spain and Latin America to find and compare the best online casinos. Come and check it out!
* カジノHEXは日本人のプレイヤーを受け入れる最高のオンラインカジノを紹介するサイトです。
* Find the best nettikasino and casino at casinogringos.com
* Nye Casino.
* CasinoHEX.co.za - #1 online casino guide for South Africans with tons of South African casino reviews, free slot games and gambling guides.
* Players from Sweden can find great deals on Casinoutanreg.com, which stands for casino utan registrering - Swedish online casinos with fast & easy registration process.
* Find Online Casinos in the US at Americancasinogude.com
* Play Online Casino in Norway and get the best offers
* Casinoratgeber.de is the oldest casino guide in Germany.
* Visit Portugal Casino and find all Portugese casinos online
* Play NJ Casino and get rewarded today.
* NewCasinoUK – all the information you need to pick the best new casino in UK and play your favourite games.
* CasinoPilot – the most comprehensive guide to UK online casinos featuring impartial and independent reviews.
* Norges Casino - Norway's biggest online casino guide
* NLTechno company
..for their long-term support of the AWStats development.
You can follow project news on social networks:

For developer who wants to work on AWStats project
You can find current version of development and submit your contributions on official source repository hosted by GitHub:
https://github.com/eldy/awstats
About my other Open-Source projects:
AWBot, an easy to use Perl tool to test a web site.
AWStats, this one.
CVSChangelogBuilder, a friendly CVS ChangeLog Builder with various outputs.
Spotlight: Interview with WebsitePlanet
  1. Menu Bar Stats 2 2 6 – Advanced System Monitoring Devices
  2. Menu Bar Stats 2 2 6 – Advanced System Monitoring Systems
  3. Menu Bar Stats 2 2 6 – Advanced System Monitoring Software
  4. Menu Bar Stats 2 2 6 – Advanced System Monitoring System

The QMenuBar class provides a horizontal menu bar. More..

Header:#include
qmake: QT += widgets
Inherits:QWidget

AMD System Monitor Description:AMD System Monitor is a Processor (CPU), Graphic card (GPU) & Memory utilization tool that illustrates the different workloads of the CPU and GPU. With the release of AMD's new Accelerated Processing Units (APUs), this utility was designed to show the x86 and GPU make up of these new class of processors, and to depict the workload balance between GPU versus. Click the Add-on menu item in the top menu bar. Click Get Add-ons from the drop-down menu. This will open the Add-ons window. You can scroll through the available Add-ons, or narrow down the choices with the filter menu, or type in a search term. When you locate Flubaroo, click the blue +FREE button. In a nutshell, MenuBar Stats is a nifty macOS app which combines a strong set of features and many customization options designed to make it an efficient and well-designed tool to keep track of your Mac's system resources. Monitor system resources RAM tracker Disk tracker Track Resources. MenuBar Stats. A quick view to your system health right in your menu bar or/and Notification Center. 7 advanced modules (Cpu, Memory, Network, Disk, Battery, GPU, Bluetooth). 2 optional additional modules (Temperature, Fans) with helper to get from seense.com. Each modules can be in 1 combined window, or in their own separated.

Properties

  • defaultUp : bool
  • nativeMenuBar : bool

Public Functions

QMenuBar(QWidget *parent = nullptr)
virtual ~QMenuBar()
QAction *actionAt(const QPoint &pt) const
QRect actionGeometry(QAction *act) const
QAction *activeAction() const
QAction *addAction(const QString &text)
QAction *addAction(const QString &text, const QObject *receiver, const char *member)
QAction *addAction(const QString &text, const Obj *receiver, PointerToMemberFunctionOrFunctor method)
QAction *addAction(const QString &text, Functor functor)
QAction *addMenu(QMenu *menu)
QMenu *addMenu(const QString &title)
QMenu *addMenu(const QIcon &icon, const QString &title)
QAction *addSeparator()
void clear()
QWidget *cornerWidget(Qt::Corner corner = Qt::TopRightCorner) const
QAction *insertMenu(QAction *before, QMenu *menu)
QAction *insertSeparator(QAction *before)
bool isDefaultUp() const
bool isNativeMenuBar() const
void setActiveAction(QAction *act)
void setCornerWidget(QWidget *widget, Qt::Corner corner = Qt::TopRightCorner)
void setDefaultUp(bool)
void setNativeMenuBar(bool nativeMenuBar)
NSMenu *toNSMenu()

Reimplemented Public Functions

virtual int heightForWidth(int) const override
virtual QSize minimumSizeHint() const override
virtual QSize sizeHint() const override

Public Slots

Signals

void hovered(QAction *action)
void triggered(QAction *action)

Protected Functions

void initStyleOption(QStyleOptionMenuItem *option, const QAction *action) const

Reimplemented Protected Functions

virtual void actionEvent(QActionEvent *e) override
virtual void changeEvent(QEvent *e) override
virtual bool event(QEvent *e) override
virtual bool eventFilter(QObject *object, QEvent *event) override
virtual void focusInEvent(QFocusEvent *) override
virtual void focusOutEvent(QFocusEvent *) override
virtual void keyPressEvent(QKeyEvent *e) override
virtual void leaveEvent(QEvent *) override
virtual void mouseMoveEvent(QMouseEvent *e) override
virtual void mousePressEvent(QMouseEvent *e) override
virtual void mouseReleaseEvent(QMouseEvent *e) override
virtual void paintEvent(QPaintEvent *e) override
virtual void resizeEvent(QResizeEvent *) override
virtual void timerEvent(QTimerEvent *e) override

Detailed Description

A menu bar consists of a list of pull-down menu items. You add menu items with addMenu(). For example, asuming that menubar is a pointer to a QMenuBar and fileMenu is a pointer to a QMenu, the following statement inserts the menu into the menu bar:

The ampersand in the menu item's text sets Alt+F as a shortcut for this menu. (You can use '&&' to get a real ampersand in the menu bar.)

There is no need to lay out a menu bar. It automatically sets its own geometry to the top of the parent widget and changes it appropriately whenever the parent is resized.

Usage

In most main window style applications you would use the menuBar() function provided in QMainWindow, adding QMenus to the menu bar and adding QActions to the pop-up menus.

Example (from the Menus example):

Menu items may be removed with removeAction().

Widgets can be added to menus by using instances of the QWidgetAction class to hold them. These actions can then be inserted into menus in the usual way; see the QMenu documentation for more details.

Platform Dependent Look and Feel

Different platforms have different requirements for the appearance of menu bars and their behavior when the user interacts with them. For example, Windows systems are often configured so that the underlined character mnemonics that indicate keyboard shortcuts for items in the menu bar are only shown when the Alt key is pressed.

QMenuBar as a Global Menu Bar

On macOS and on certain Linux desktop environments such as Ubuntu Unity, QMenuBar is a wrapper for using the system-wide menu bar. If you have multiple menu bars in one dialog the outermost menu bar (normally inside a widget with widget flag Qt::Window) will be used for the system-wide menu bar.

Qt for macOS also provides a menu bar merging feature to make QMenuBar conform more closely to accepted macOS menu bar layout. The merging functionality is based on string matching the title of a QMenu entry. These strings are translated (using QObject::tr()) in the 'QMenuBar' context. If an entry is moved its slots will still fire as if it was in the original place. The table below outlines the strings looked for and where the entry is placed if matched:

String matchesPlacementNotes
about.*Application Menu | About The application name is fetched from the Info.plist file (see note below). If this entry is not found no About item will appear in the Application Menu.
config, options, setup, settings or preferencesApplication Menu | PreferencesIf this entry is not found the Settings item will be disabled
quit or exitApplication Menu | Quit If this entry is not found a default Quit item will be created to call QCoreApplication::quit()

You can override this behavior by using the QAction::menuRole() property.

If you want all windows in a Mac application to share one menu bar, you must create a menu bar that does not have a parent. Create a parent-less menu bar this way:

Note: Do not call QMainWindow::menuBar() to create the shared menu bar, because that menu bar will have the QMainWindow as its parent. That menu bar would only be displayed for the parent QMainWindow.

Note: The text used for the application name in the macOS menu bar is obtained from the value set in the Info.plist file in the application's bundle. See Qt for macOS - Deployment for more information.

Note: On Linux, if the com.canonical.AppMenu.Registrar service is available on the D-Bus session bus, then Qt will communicate with it to install the application's menus into the global menu bar, as described.

Examples

Adobe audition cc 2019 12 1 1 42 inch. The Menus example shows how to use QMenuBar and QMenu. The other main window application examples also provide menus using these classes.

See also QMenu, QShortcut, QAction, Introduction to Apple Human Interface Guidelines, GUI Design Handbook: Menu Bar, and Menus Example.

Property Documentation

defaultUp : bool

This property holds the popup orientation

The default popup orientation. By default, menus pop 'down' the screen. By setting the property to true, the menu will pop 'up'. You might call this for menus that are below the document to which they refer.

If the menu would not fit on the screen, the other direction is used automatically.

Access functions:

nativeMenuBar : bool

This property holds whether or not a menubar will be used as a native menubar on platforms that support it

This property specifies whether or not the menubar should be used as a native menubar on platforms that support it. The currently supported platforms are macOS, and Linux desktops which use the com.canonical.dbusmenu D-Bus interface (such as Ubuntu Unity). If this property is true, the menubar is used in the native menubar and is not in the window of its parent; if false the menubar remains in the window. On other platforms, setting this attribute has no effect, and reading this attribute will always return false.

The default is to follow whether the Qt::AA_DontUseNativeMenuBar attribute is set for the application. Explicitly setting this property overrides the presence (or absence) of the attribute.

This property was introduced in Qt 4.6.

Access functions:

bool isNativeMenuBar() const
void setNativeMenuBar(bool nativeMenuBar)

Member Function Documentation

QMenuBar::QMenuBar(QWidget *parent = nullptr)

Constructs a menu bar with parent parent.

[signal] void QMenuBar::hovered(QAction *action)

This signal is emitted when a menu action is highlighted; action is the action that caused the event to be sent.

Often this is used to update status information.

Menu Bar Stats 2 2 6 – Advanced System Monitoring Devices

See also triggered() and QAction::hovered().

[override virtual slot] void QMenuBar::setVisible(boolvisible)

Reimplements an access function for property: QWidget::visible.

[signal] void QMenuBar::triggered(QAction *action)

This signal is emitted when an action in a menu belonging to this menubar is triggered as a result of a mouse click; action is the action that caused the signal to be emitted.

Note: QMenuBar has to have ownership of the QMenu in order this signal to work.

Menubar

Normally, you connect each menu action to a single slot using QAction::triggered(), but sometimes you will want to connect several items to a single slot (most often if the user selects from an array). This signal is useful in such cases.

See also hovered() and QAction::triggered().

[virtual] QMenuBar::~QMenuBar()

Destroys the menu bar.

QAction *QMenuBar::actionAt(const QPoint &pt) const

Cocktail 11 5 – general maintenance and optimization utility. Returns the QAction at pt. Returns nullptr if there is no action at pt or if the location has a separator.

See also addAction() and addSeparator().

[override virtual protected] void QMenuBar::actionEvent(QActionEvent *e)

Reimplements: QWidget::actionEvent(QActionEvent *event).

QRect QMenuBar::actionGeometry(QAction *act) const

Returns the geometry of action act as a QRect.

See also actionAt().

QAction *QMenuBar::activeAction() const

Returns the QAction that is currently highlighted, if any, else nullptr.

See also setActiveAction().

QAction *QMenuBar::addAction(const QString &text)

This convenience function creates a new action with text. The function adds the newly created action to the menu's list of actions, and returns it.

See also QWidget::addAction() and QWidget::actions().

QAction *QMenuBar::addAction(const QString &text, const QObject *receiver, const char *member)

This is an overloaded function.

This convenience function creates a new action with the given text. The action's triggered() signal is connected to the receiver's member slot. The function adds the newly created action to the menu's list of actions and returns it.

See also QWidget::addAction() and QWidget::actions().

template QAction *QMenuBar::addAction(const QString &text, const Obj *receiver, PointerToMemberFunctionOrFunctormethod)

Menu Bar Stats 2 2 6 – Advanced System Monitoring Systems

This is an overloaded function.

This convenience function creates a new action with the given text. The action's triggered() signal is connected to the method of the receiver. The function adds the newly created action to the menu's list of actions and returns it.

QMenuBar takes ownership of the returned QAction.

This function was introduced in Qt 5.11.

See also QWidget::addAction() and QWidget::actions().

template QAction *QMenuBar::addAction(const QString &text, Functorfunctor)

This is an overloaded function.

This convenience function creates a new action with the given text. The action's triggered() signal is connected to the functor. The function adds the newly created action to the menu's list of actions and returns it.

QMenuBar takes ownership of the returned QAction.

This function was introduced in Qt 5.11.

See also QWidget::addAction() and QWidget::actions().

QAction *QMenuBar::addMenu(QMenu *menu)

Appends menu to the menu bar. Returns the menu's menuAction(). The menu bar does not take ownership of the menu.

Note: The returned QAction object can be used to hide the corresponding menu.

See also QWidget::addAction() and QMenu::menuAction().

QMenu *QMenuBar::addMenu(const QString &title)

Appends a new QMenu with title to the menu bar. The menu bar takes ownership of the menu. Returns the new menu.

See also QWidget::addAction() and QMenu::menuAction().

Menu Bar Stats 2 2 6 – Advanced System Monitoring Software

QMenu *QMenuBar::addMenu(const QIcon &icon, const QString &title)

Appends a new QMenu with icon and title to the menu bar. The menu bar takes ownership of the menu. Returns the new menu.

See also QWidget::addAction() and QMenu::menuAction().

QAction *QMenuBar::addSeparator()

Appends a separator to the menu.

[override virtual protected] void QMenuBar::changeEvent(QEvent *e)

Reimplements: QWidget::changeEvent(QEvent *event).

void QMenuBar::clear()

Removes all the actions from the menu bar.

Note: On macOS, menu items that have been merged to the system menu bar are not removed by this function. One way to handle this would be to remove the extra actions yourself. You can set the menu role on the different menus, so that you know ahead of time which menu items get merged and which do not. Then decide what to recreate or remove yourself.

See also removeAction().

QWidget *QMenuBar::cornerWidget(Qt::Cornercorner = Qt::TopRightCorner) const

Returns the widget on the left of the first or on the right of the last menu item, depending on corner.

Note: Using a corner other than Qt::TopRightCorner or Qt::TopLeftCorner will result in a warning.

See also setCornerWidget().

[override virtual protected] bool QMenuBar::event(QEvent *e)

Reimplements: QWidget::event(QEvent *event).

[override virtual protected] bool QMenuBar::eventFilter(QObject *object, QEvent *event)

Reimplements: QObject::eventFilter(QObject *watched, QEvent *event).

[override virtual protected] void QMenuBar::focusInEvent(QFocusEvent *)

Reimplements: QWidget::focusInEvent(QFocusEvent *event).

[override virtual protected] void QMenuBar::focusOutEvent(QFocusEvent *)

Reimplements: QWidget::focusOutEvent(QFocusEvent *event).

[override virtual] int QMenuBar::heightForWidth(int) const

Reimplements: QWidget::heightForWidth(int w) const.

[protected] void QMenuBar::initStyleOption(QStyleOptionMenuItem *option, const QAction *action) const

Initialize option with the values from the menu bar and information from action. This method is useful for subclasses when they need a QStyleOptionMenuItem, but don't want to fill in all the information themselves.

See also QStyleOption::initFrom() and QMenu::initStyleOption().

QAction *QMenuBar::insertMenu(QAction *before, QMenu *menu)

This convenience function inserts menu before action before and returns the menus menuAction().

See also QWidget::insertAction() and addMenu().

QAction *QMenuBar::insertSeparator(QAction *before)

This convenience function creates a new separator action, i.e. an action with QAction::isSeparator() returning true. The function inserts the newly created action into this menu bar's list of actions before action before and returns it.

See also QWidget::insertAction() and addSeparator().

[override virtual protected] void QMenuBar::keyPressEvent(QKeyEvent *e)

Reimplements: QWidget::keyPressEvent(QKeyEvent *event).

[override virtual protected] void QMenuBar::leaveEvent(QEvent *)

Reimplements: QWidget::leaveEvent(QEvent *event).

[override virtual] QSize QMenuBar::minimumSizeHint() const

Final cut pro v10 2 1. Reimplements an access function for property: QWidget::minimumSizeHint.

[override virtual protected] void QMenuBar::mouseMoveEvent(QMouseEvent *e)

Reimplements: QWidget::mouseMoveEvent(QMouseEvent *event).

[override virtual protected] void QMenuBar::mousePressEvent(QMouseEvent *e)

Reimplements: QWidget::mousePressEvent(QMouseEvent *event).

[override virtual protected] void QMenuBar::mouseReleaseEvent(QMouseEvent *e)

Reimplements: QWidget::mouseReleaseEvent(QMouseEvent *event).

[override virtual protected] void QMenuBar::paintEvent(QPaintEvent *e)

Reimplements: QWidget::paintEvent(QPaintEvent *event).

[override virtual protected] void QMenuBar::resizeEvent(QResizeEvent *)

Reimplements: QWidget::resizeEvent(QResizeEvent *event).

void QMenuBar::setActiveAction(QAction *act)

Sets the currently highlighted action to act.

This function was introduced in Qt 4.1.

See also activeAction().

Menu Bar Stats 2 2 6 – Advanced System Monitoring System

void QMenuBar::setCornerWidget(QWidget *widget, Qt::Cornercorner = Qt::TopRightCorner)

This sets the given widget to be shown directly on the left of the first menu item, or on the right of the last menu item, depending on corner.

The menu bar takes ownership of widget, reparenting it into the menu bar. However, if the corner already contains a widget, this previous widget will no longer be managed and will still be a visible child of the menu bar.

Note: Using a corner other than Qt::TopRightCorner or Qt::TopLeftCorner will result in a warning.

See also cornerWidget().

[override virtual] QSize QMenuBar::sizeHint() const

Reimplements an access function for property: QWidget::sizeHint.

[override virtual protected] void QMenuBar::timerEvent(QTimerEvent *e)

Reimplements: QObject::timerEvent(QTimerEvent *event).

NSMenu *QMenuBar::toNSMenu()

Returns the native NSMenu for this menu bar. Available on macOS only.

Note: Qt may set the delegate on the native menu bar. If you need to set your own delegate, make sure you save the original one and forward any calls to it.

This function was introduced in Qt 5.2.

© 2020 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.





broken image