~ubuntu-branches/ubuntu/saucy/muse/saucy

« back to all changes in this revision

Viewing changes to muse/widgets/lcombo.cpp

  • Committer: Package Import Robot
  • Author(s): Alessio Treglia
  • Date: 2013-01-07 10:27:14 UTC
  • mfrom: (1.1.14)
  • Revision ID: package-import@ubuntu.com-20130107102714-fajkwjbz02aqupbh
Tags: 2.1-1
* New upstream release.
* Refresh 1001-buildsystem.patch.

Show diffs side-by-side

added added

removed removed

Lines of Context:
35
35
   const char* name) : QWidget(parent)
36
36
      {
37
37
      setObjectName(name);
38
 
//      setFixedHeight(20);
39
38
      QHBoxLayout* layout = new QHBoxLayout(this);
40
39
      QLabel* label = new QLabel(txt, this);
41
 
      //box = new QComboBox(false, this);
 
40
      //label->setContentsMargins(0,0,0,0);                                               // REMOVE Tim. Or keep.
42
41
      box = new QComboBox(this);
 
42
      //box->setContentsMargins(0,0,0,0);                                                 //
 
43
      // Ignored was only solution, others were too tall. The label takes priority then.  //
 
44
      //box->setSizePolicy(QSizePolicy::Preferred, QSizePolicy::Ignored);                 //
43
45
      box->setEditable(false);
44
 
      ///layout->addStretch();
45
46
      layout->addSpacing(5);
46
47
      layout->addWidget(label);
47
48
      layout->addSpacing(5);
48
49
      layout->addWidget(box);
49
50
      layout->addSpacing(5);
50
 
      ///layout->addStretch();
51
51
      connect(box, SIGNAL(activated(int)), SIGNAL(activated(int)));
52
52
      }
53
53