Changeset 15 in flair-src for trunk/tools/FlairGCS/src/GridLayout.cpp


Ignore:
Timestamp:
Apr 8, 2016, 3:40:57 PM (5 years ago)
Author:
Bayard Gildas
Message:

sources reformatted with flair-format-dir script

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tools/FlairGCS/src/GridLayout.cpp

    r10 r15  
    77#include <QGridLayout>
    88
    9 GridLayout::GridLayout(Layout* parent,int row, int col,QString name): Layout(parent,name,"GridLayout")
    10 {
    11     widget = new QWidget();
    12     widget->setObjectName(name);
     9GridLayout::GridLayout(Layout *parent, int row, int col, QString name)
     10    : Layout(parent, name, "GridLayout") {
     11  widget = new QWidget();
     12  widget->setObjectName(name);
    1313
    14     visible_widget=widget;
     14  visible_widget = widget;
    1515
    16     parent->addWidget(widget,row,col);
     16  parent->addWidget(widget, row, col);
    1717
    18     widget->setLayout(getQGridLayout());
     18  widget->setLayout(getQGridLayout());
    1919}
    2020
    21 
    22 GridLayout::~GridLayout()
    23 {
    24     widget->setParent(NULL);
    25 }
     21GridLayout::~GridLayout() { widget->setParent(NULL); }
Note: See TracChangeset for help on using the changeset viewer.