anupamgee
10th April 2009, 06:21
Hi All,
I am using Qt4.5 .I am having a problem in minimizing frameless window while working on linux platform
I used the following code
#include "widget.h"
#include "ui_widget.h"
#include <QPushButton>
#include <QWidget>
Widget::Widget(QWidget *parent): QWidget(parent), ui(new Ui::WidgetClass)
{
ui->setupUi(this);
setFixedSize(293, 711);
setWindowFlags ( Qt::FramelessWindowHint ) ;
QPushButton *b=new QPushButton("hello",this);
b->setGeometry(20,20,120,30);
connect(b,SIGNAL(clicked()),this,SLOT(showMinimize d()));
}
if i run the same code on Windows platform & MAC operating System it works....
What is the alternative to minimize the frameless window on click on button in linux ?
Reply soon
Thanx
I am using Qt4.5 .I am having a problem in minimizing frameless window while working on linux platform
I used the following code
#include "widget.h"
#include "ui_widget.h"
#include <QPushButton>
#include <QWidget>
Widget::Widget(QWidget *parent): QWidget(parent), ui(new Ui::WidgetClass)
{
ui->setupUi(this);
setFixedSize(293, 711);
setWindowFlags ( Qt::FramelessWindowHint ) ;
QPushButton *b=new QPushButton("hello",this);
b->setGeometry(20,20,120,30);
connect(b,SIGNAL(clicked()),this,SLOT(showMinimize d()));
}
if i run the same code on Windows platform & MAC operating System it works....
What is the alternative to minimize the frameless window on click on button in linux ?
Reply soon
Thanx